AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeComplianceByConfigRuleRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/config/model/ComplianceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConfigService
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_CONFIGSERVICE_API DescribeComplianceByConfigRuleRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeComplianceByConfigRule"; }
36
37 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetConfigRuleNames() const { return m_configRuleNames; }
47 inline bool ConfigRuleNamesHasBeenSet() const { return m_configRuleNamesHasBeenSet; }
48 template<typename ConfigRuleNamesT = Aws::Vector<Aws::String>>
49 void SetConfigRuleNames(ConfigRuleNamesT&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = std::forward<ConfigRuleNamesT>(value); }
50 template<typename ConfigRuleNamesT = Aws::Vector<Aws::String>>
51 DescribeComplianceByConfigRuleRequest& WithConfigRuleNames(ConfigRuleNamesT&& value) { SetConfigRuleNames(std::forward<ConfigRuleNamesT>(value)); return *this;}
52 template<typename ConfigRuleNamesT = Aws::String>
53 DescribeComplianceByConfigRuleRequest& AddConfigRuleNames(ConfigRuleNamesT&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.emplace_back(std::forward<ConfigRuleNamesT>(value)); return *this; }
55
57
60 inline const Aws::Vector<ComplianceType>& GetComplianceTypes() const { return m_complianceTypes; }
61 inline bool ComplianceTypesHasBeenSet() const { return m_complianceTypesHasBeenSet; }
62 template<typename ComplianceTypesT = Aws::Vector<ComplianceType>>
63 void SetComplianceTypes(ComplianceTypesT&& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes = std::forward<ComplianceTypesT>(value); }
64 template<typename ComplianceTypesT = Aws::Vector<ComplianceType>>
65 DescribeComplianceByConfigRuleRequest& WithComplianceTypes(ComplianceTypesT&& value) { SetComplianceTypes(std::forward<ComplianceTypesT>(value)); return *this;}
66 inline DescribeComplianceByConfigRuleRequest& AddComplianceTypes(ComplianceType value) { m_complianceTypesHasBeenSet = true; m_complianceTypes.push_back(value); return *this; }
68
70
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template<typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
78 template<typename NextTokenT = Aws::String>
79 DescribeComplianceByConfigRuleRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
81 private:
82
83 Aws::Vector<Aws::String> m_configRuleNames;
84 bool m_configRuleNamesHasBeenSet = false;
85
86 Aws::Vector<ComplianceType> m_complianceTypes;
87 bool m_complianceTypesHasBeenSet = false;
88
89 Aws::String m_nextToken;
90 bool m_nextTokenHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ConfigService
95} // namespace Aws
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeComplianceByConfigRuleRequest & WithNextToken(NextTokenT &&value)
DescribeComplianceByConfigRuleRequest & AddComplianceTypes(ComplianceType value)
DescribeComplianceByConfigRuleRequest & AddConfigRuleNames(ConfigRuleNamesT &&value)
DescribeComplianceByConfigRuleRequest & WithConfigRuleNames(ConfigRuleNamesT &&value)
DescribeComplianceByConfigRuleRequest & WithComplianceTypes(ComplianceTypesT &&value)
AWS_CONFIGSERVICE_API DescribeComplianceByConfigRuleRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector