AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
DescribeRemediationExecutionStatusRequest.h
1
6#pragma once
7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/config/model/ResourceKey.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 DescribeRemediationExecutionStatusRequest() = 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 "DescribeRemediationExecutionStatus"; }
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
58 inline const Aws::Vector<ResourceKey>& GetResourceKeys() const { return m_resourceKeys; }
59 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
60 template <typename ResourceKeysT = Aws::Vector<ResourceKey>>
61 void SetResourceKeys(ResourceKeysT&& value) {
62 m_resourceKeysHasBeenSet = true;
63 m_resourceKeys = std::forward<ResourceKeysT>(value);
64 }
65 template <typename ResourceKeysT = Aws::Vector<ResourceKey>>
67 SetResourceKeys(std::forward<ResourceKeysT>(value));
68 return *this;
69 }
70 template <typename ResourceKeysT = ResourceKey>
72 m_resourceKeysHasBeenSet = true;
73 m_resourceKeys.emplace_back(std::forward<ResourceKeysT>(value));
74 return *this;
75 }
77
79
83 inline int GetLimit() const { return m_limit; }
84 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
85 inline void SetLimit(int value) {
86 m_limitHasBeenSet = true;
87 m_limit = value;
88 }
90 SetLimit(value);
91 return *this;
92 }
94
96
100 inline const Aws::String& GetNextToken() const { return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 template <typename NextTokenT = Aws::String>
103 void SetNextToken(NextTokenT&& value) {
104 m_nextTokenHasBeenSet = true;
105 m_nextToken = std::forward<NextTokenT>(value);
106 }
107 template <typename NextTokenT = Aws::String>
109 SetNextToken(std::forward<NextTokenT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_configRuleName;
115
116 Aws::Vector<ResourceKey> m_resourceKeys;
117
118 int m_limit{0};
119
120 Aws::String m_nextToken;
121 bool m_configRuleNameHasBeenSet = false;
122 bool m_resourceKeysHasBeenSet = false;
123 bool m_limitHasBeenSet = false;
124 bool m_nextTokenHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace ConfigService
129} // namespace Aws
DescribeRemediationExecutionStatusRequest & AddResourceKeys(ResourceKeysT &&value)
DescribeRemediationExecutionStatusRequest & WithConfigRuleName(ConfigRuleNameT &&value)
DescribeRemediationExecutionStatusRequest & WithNextToken(NextTokenT &&value)
DescribeRemediationExecutionStatusRequest & WithResourceKeys(ResourceKeysT &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
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