AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeUpdateActionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/ServiceUpdateStatus.h>
12#include <aws/elasticache/model/TimeRangeFilter.h>
13#include <aws/elasticache/model/UpdateActionStatus.h>
14
15#include <utility>
16
17namespace Aws {
18namespace ElastiCache {
19namespace Model {
20
24 public:
25 AWS_ELASTICACHE_API DescribeUpdateActionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeUpdateActions"; }
32
33 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
43 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
44 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
45 template <typename ServiceUpdateNameT = Aws::String>
46 void SetServiceUpdateName(ServiceUpdateNameT&& value) {
47 m_serviceUpdateNameHasBeenSet = true;
48 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
49 }
50 template <typename ServiceUpdateNameT = Aws::String>
52 SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<Aws::String>& GetReplicationGroupIds() const { return m_replicationGroupIds; }
62 inline bool ReplicationGroupIdsHasBeenSet() const { return m_replicationGroupIdsHasBeenSet; }
63 template <typename ReplicationGroupIdsT = Aws::Vector<Aws::String>>
64 void SetReplicationGroupIds(ReplicationGroupIdsT&& value) {
65 m_replicationGroupIdsHasBeenSet = true;
66 m_replicationGroupIds = std::forward<ReplicationGroupIdsT>(value);
67 }
68 template <typename ReplicationGroupIdsT = Aws::Vector<Aws::String>>
70 SetReplicationGroupIds(std::forward<ReplicationGroupIdsT>(value));
71 return *this;
72 }
73 template <typename ReplicationGroupIdsT = Aws::String>
75 m_replicationGroupIdsHasBeenSet = true;
76 m_replicationGroupIds.emplace_back(std::forward<ReplicationGroupIdsT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Vector<Aws::String>& GetCacheClusterIds() const { return m_cacheClusterIds; }
86 inline bool CacheClusterIdsHasBeenSet() const { return m_cacheClusterIdsHasBeenSet; }
87 template <typename CacheClusterIdsT = Aws::Vector<Aws::String>>
88 void SetCacheClusterIds(CacheClusterIdsT&& value) {
89 m_cacheClusterIdsHasBeenSet = true;
90 m_cacheClusterIds = std::forward<CacheClusterIdsT>(value);
91 }
92 template <typename CacheClusterIdsT = Aws::Vector<Aws::String>>
94 SetCacheClusterIds(std::forward<CacheClusterIdsT>(value));
95 return *this;
96 }
97 template <typename CacheClusterIdsT = Aws::String>
99 m_cacheClusterIdsHasBeenSet = true;
100 m_cacheClusterIds.emplace_back(std::forward<CacheClusterIdsT>(value));
101 return *this;
102 }
104
106
110 inline const Aws::String& GetEngine() const { return m_engine; }
111 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
112 template <typename EngineT = Aws::String>
113 void SetEngine(EngineT&& value) {
114 m_engineHasBeenSet = true;
115 m_engine = std::forward<EngineT>(value);
116 }
117 template <typename EngineT = Aws::String>
119 SetEngine(std::forward<EngineT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Vector<ServiceUpdateStatus>& GetServiceUpdateStatus() const { return m_serviceUpdateStatus; }
129 inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; }
130 template <typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
131 void SetServiceUpdateStatus(ServiceUpdateStatusT&& value) {
132 m_serviceUpdateStatusHasBeenSet = true;
133 m_serviceUpdateStatus = std::forward<ServiceUpdateStatusT>(value);
134 }
135 template <typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
137 SetServiceUpdateStatus(std::forward<ServiceUpdateStatusT>(value));
138 return *this;
139 }
141 m_serviceUpdateStatusHasBeenSet = true;
142 m_serviceUpdateStatus.push_back(value);
143 return *this;
144 }
146
148
152 inline const TimeRangeFilter& GetServiceUpdateTimeRange() const { return m_serviceUpdateTimeRange; }
153 inline bool ServiceUpdateTimeRangeHasBeenSet() const { return m_serviceUpdateTimeRangeHasBeenSet; }
154 template <typename ServiceUpdateTimeRangeT = TimeRangeFilter>
155 void SetServiceUpdateTimeRange(ServiceUpdateTimeRangeT&& value) {
156 m_serviceUpdateTimeRangeHasBeenSet = true;
157 m_serviceUpdateTimeRange = std::forward<ServiceUpdateTimeRangeT>(value);
158 }
159 template <typename ServiceUpdateTimeRangeT = TimeRangeFilter>
161 SetServiceUpdateTimeRange(std::forward<ServiceUpdateTimeRangeT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Vector<UpdateActionStatus>& GetUpdateActionStatus() const { return m_updateActionStatus; }
171 inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; }
172 template <typename UpdateActionStatusT = Aws::Vector<UpdateActionStatus>>
173 void SetUpdateActionStatus(UpdateActionStatusT&& value) {
174 m_updateActionStatusHasBeenSet = true;
175 m_updateActionStatus = std::forward<UpdateActionStatusT>(value);
176 }
177 template <typename UpdateActionStatusT = Aws::Vector<UpdateActionStatus>>
179 SetUpdateActionStatus(std::forward<UpdateActionStatusT>(value));
180 return *this;
181 }
183 m_updateActionStatusHasBeenSet = true;
184 m_updateActionStatus.push_back(value);
185 return *this;
186 }
188
190
193 inline bool GetShowNodeLevelUpdateStatus() const { return m_showNodeLevelUpdateStatus; }
194 inline bool ShowNodeLevelUpdateStatusHasBeenSet() const { return m_showNodeLevelUpdateStatusHasBeenSet; }
195 inline void SetShowNodeLevelUpdateStatus(bool value) {
196 m_showNodeLevelUpdateStatusHasBeenSet = true;
197 m_showNodeLevelUpdateStatus = value;
198 }
201 return *this;
202 }
204
206
209 inline int GetMaxRecords() const { return m_maxRecords; }
210 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
211 inline void SetMaxRecords(int value) {
212 m_maxRecordsHasBeenSet = true;
213 m_maxRecords = value;
214 }
216 SetMaxRecords(value);
217 return *this;
218 }
220
222
228 inline const Aws::String& GetMarker() const { return m_marker; }
229 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
230 template <typename MarkerT = Aws::String>
231 void SetMarker(MarkerT&& value) {
232 m_markerHasBeenSet = true;
233 m_marker = std::forward<MarkerT>(value);
234 }
235 template <typename MarkerT = Aws::String>
237 SetMarker(std::forward<MarkerT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_serviceUpdateName;
243
244 Aws::Vector<Aws::String> m_replicationGroupIds;
245
246 Aws::Vector<Aws::String> m_cacheClusterIds;
247
248 Aws::String m_engine;
249
250 Aws::Vector<ServiceUpdateStatus> m_serviceUpdateStatus;
251
252 TimeRangeFilter m_serviceUpdateTimeRange;
253
254 Aws::Vector<UpdateActionStatus> m_updateActionStatus;
255
256 bool m_showNodeLevelUpdateStatus{false};
257
258 int m_maxRecords{0};
259
260 Aws::String m_marker;
261 bool m_serviceUpdateNameHasBeenSet = false;
262 bool m_replicationGroupIdsHasBeenSet = false;
263 bool m_cacheClusterIdsHasBeenSet = false;
264 bool m_engineHasBeenSet = false;
265 bool m_serviceUpdateStatusHasBeenSet = false;
266 bool m_serviceUpdateTimeRangeHasBeenSet = false;
267 bool m_updateActionStatusHasBeenSet = false;
268 bool m_showNodeLevelUpdateStatusHasBeenSet = false;
269 bool m_maxRecordsHasBeenSet = false;
270 bool m_markerHasBeenSet = false;
271};
272
273} // namespace Model
274} // namespace ElastiCache
275} // namespace Aws
DescribeUpdateActionsRequest & AddUpdateActionStatus(UpdateActionStatus value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeUpdateActionsRequest & WithServiceUpdateName(ServiceUpdateNameT &&value)
DescribeUpdateActionsRequest & WithCacheClusterIds(CacheClusterIdsT &&value)
DescribeUpdateActionsRequest & AddCacheClusterIds(CacheClusterIdsT &&value)
DescribeUpdateActionsRequest & AddReplicationGroupIds(ReplicationGroupIdsT &&value)
DescribeUpdateActionsRequest & WithEngine(EngineT &&value)
DescribeUpdateActionsRequest & WithUpdateActionStatus(UpdateActionStatusT &&value)
const Aws::Vector< UpdateActionStatus > & GetUpdateActionStatus() const
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetReplicationGroupIds() const
const Aws::Vector< ServiceUpdateStatus > & GetServiceUpdateStatus() const
DescribeUpdateActionsRequest & WithServiceUpdateTimeRange(ServiceUpdateTimeRangeT &&value)
DescribeUpdateActionsRequest & WithServiceUpdateStatus(ServiceUpdateStatusT &&value)
DescribeUpdateActionsRequest & WithReplicationGroupIds(ReplicationGroupIdsT &&value)
DescribeUpdateActionsRequest & WithShowNodeLevelUpdateStatus(bool value)
DescribeUpdateActionsRequest & AddServiceUpdateStatus(ServiceUpdateStatus value)
DescribeUpdateActionsRequest & WithMarker(MarkerT &&value)
const Aws::Vector< Aws::String > & GetCacheClusterIds() const
AWS_ELASTICACHE_API DescribeUpdateActionsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector