AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeRemediationExceptionsRequest.h
1
6#pragma once
7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/config/model/RemediationExceptionResourceKey.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ConfigService {
17namespace Model {
18
22 public:
23 AWS_CONFIGSERVICE_API DescribeRemediationExceptionsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeRemediationExceptions"; }
30
31 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
32
33 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetConfigRuleName() const { return m_configRuleName; }
40 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
41 template <typename ConfigRuleNameT = Aws::String>
42 void SetConfigRuleName(ConfigRuleNameT&& value) {
43 m_configRuleNameHasBeenSet = true;
44 m_configRuleName = std::forward<ConfigRuleNameT>(value);
45 }
46 template <typename ConfigRuleNameT = Aws::String>
48 SetConfigRuleName(std::forward<ConfigRuleNameT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::Vector<RemediationExceptionResourceKey>& GetResourceKeys() const { return m_resourceKeys; }
60 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
61 template <typename ResourceKeysT = Aws::Vector<RemediationExceptionResourceKey>>
62 void SetResourceKeys(ResourceKeysT&& value) {
63 m_resourceKeysHasBeenSet = true;
64 m_resourceKeys = std::forward<ResourceKeysT>(value);
65 }
66 template <typename ResourceKeysT = Aws::Vector<RemediationExceptionResourceKey>>
68 SetResourceKeys(std::forward<ResourceKeysT>(value));
69 return *this;
70 }
71 template <typename ResourceKeysT = RemediationExceptionResourceKey>
73 m_resourceKeysHasBeenSet = true;
74 m_resourceKeys.emplace_back(std::forward<ResourceKeysT>(value));
75 return *this;
76 }
78
80
84 inline int GetLimit() const { return m_limit; }
85 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
86 inline void SetLimit(int value) {
87 m_limitHasBeenSet = true;
88 m_limit = value;
89 }
91 SetLimit(value);
92 return *this;
93 }
95
97
101 inline const Aws::String& GetNextToken() const { return m_nextToken; }
102 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
103 template <typename NextTokenT = Aws::String>
104 void SetNextToken(NextTokenT&& value) {
105 m_nextTokenHasBeenSet = true;
106 m_nextToken = std::forward<NextTokenT>(value);
107 }
108 template <typename NextTokenT = Aws::String>
110 SetNextToken(std::forward<NextTokenT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_configRuleName;
116
118
119 int m_limit{0};
120
121 Aws::String m_nextToken;
122 bool m_configRuleNameHasBeenSet = false;
123 bool m_resourceKeysHasBeenSet = false;
124 bool m_limitHasBeenSet = false;
125 bool m_nextTokenHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ConfigService
130} // namespace Aws
AWS_CONFIGSERVICE_API DescribeRemediationExceptionsRequest()=default
const Aws::Vector< RemediationExceptionResourceKey > & GetResourceKeys() const
DescribeRemediationExceptionsRequest & WithConfigRuleName(ConfigRuleNameT &&value)
DescribeRemediationExceptionsRequest & AddResourceKeys(ResourceKeysT &&value)
DescribeRemediationExceptionsRequest & WithResourceKeys(ResourceKeysT &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeRemediationExceptionsRequest & WithNextToken(NextTokenT &&value)
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