AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeUpdateActionsRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/TimeRangeFilter.h>
12#include <aws/elasticache/model/ServiceUpdateStatus.h>
13#include <aws/elasticache/model/UpdateActionStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace ElastiCache
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_ELASTICACHE_API DescribeUpdateActionsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeUpdateActions"; }
35
36 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetServiceUpdateName() const{ return m_serviceUpdateName; }
48 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
49 inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; }
50 inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); }
51 inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); }
53 inline DescribeUpdateActionsRequest& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;}
54 inline DescribeUpdateActionsRequest& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetReplicationGroupIds() const{ return m_replicationGroupIds; }
62 inline bool ReplicationGroupIdsHasBeenSet() const { return m_replicationGroupIdsHasBeenSet; }
63 inline void SetReplicationGroupIds(const Aws::Vector<Aws::String>& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds = value; }
64 inline void SetReplicationGroupIds(Aws::Vector<Aws::String>&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds = std::move(value); }
67 inline DescribeUpdateActionsRequest& AddReplicationGroupIds(const Aws::String& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(value); return *this; }
68 inline DescribeUpdateActionsRequest& AddReplicationGroupIds(Aws::String&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(std::move(value)); return *this; }
69 inline DescribeUpdateActionsRequest& AddReplicationGroupIds(const char* value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(value); return *this; }
71
73
76 inline const Aws::Vector<Aws::String>& GetCacheClusterIds() const{ return m_cacheClusterIds; }
77 inline bool CacheClusterIdsHasBeenSet() const { return m_cacheClusterIdsHasBeenSet; }
78 inline void SetCacheClusterIds(const Aws::Vector<Aws::String>& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds = value; }
79 inline void SetCacheClusterIds(Aws::Vector<Aws::String>&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds = std::move(value); }
82 inline DescribeUpdateActionsRequest& AddCacheClusterIds(const Aws::String& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(value); return *this; }
83 inline DescribeUpdateActionsRequest& AddCacheClusterIds(Aws::String&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(std::move(value)); return *this; }
84 inline DescribeUpdateActionsRequest& AddCacheClusterIds(const char* value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(value); return *this; }
86
88
92 inline const Aws::String& GetEngine() const{ return m_engine; }
93 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
94 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
95 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
96 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
97 inline DescribeUpdateActionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
98 inline DescribeUpdateActionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
99 inline DescribeUpdateActionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
101
103
106 inline const Aws::Vector<ServiceUpdateStatus>& GetServiceUpdateStatus() const{ return m_serviceUpdateStatus; }
107 inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; }
108 inline void SetServiceUpdateStatus(const Aws::Vector<ServiceUpdateStatus>& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = value; }
109 inline void SetServiceUpdateStatus(Aws::Vector<ServiceUpdateStatus>&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = std::move(value); }
112 inline DescribeUpdateActionsRequest& AddServiceUpdateStatus(const ServiceUpdateStatus& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(value); return *this; }
113 inline DescribeUpdateActionsRequest& AddServiceUpdateStatus(ServiceUpdateStatus&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(std::move(value)); return *this; }
115
117
121 inline const TimeRangeFilter& GetServiceUpdateTimeRange() const{ return m_serviceUpdateTimeRange; }
122 inline bool ServiceUpdateTimeRangeHasBeenSet() const { return m_serviceUpdateTimeRangeHasBeenSet; }
123 inline void SetServiceUpdateTimeRange(const TimeRangeFilter& value) { m_serviceUpdateTimeRangeHasBeenSet = true; m_serviceUpdateTimeRange = value; }
124 inline void SetServiceUpdateTimeRange(TimeRangeFilter&& value) { m_serviceUpdateTimeRangeHasBeenSet = true; m_serviceUpdateTimeRange = std::move(value); }
128
130
133 inline const Aws::Vector<UpdateActionStatus>& GetUpdateActionStatus() const{ return m_updateActionStatus; }
134 inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; }
135 inline void SetUpdateActionStatus(const Aws::Vector<UpdateActionStatus>& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = value; }
136 inline void SetUpdateActionStatus(Aws::Vector<UpdateActionStatus>&& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = std::move(value); }
139 inline DescribeUpdateActionsRequest& AddUpdateActionStatus(const UpdateActionStatus& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus.push_back(value); return *this; }
140 inline DescribeUpdateActionsRequest& AddUpdateActionStatus(UpdateActionStatus&& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus.push_back(std::move(value)); return *this; }
142
144
147 inline bool GetShowNodeLevelUpdateStatus() const{ return m_showNodeLevelUpdateStatus; }
148 inline bool ShowNodeLevelUpdateStatusHasBeenSet() const { return m_showNodeLevelUpdateStatusHasBeenSet; }
149 inline void SetShowNodeLevelUpdateStatus(bool value) { m_showNodeLevelUpdateStatusHasBeenSet = true; m_showNodeLevelUpdateStatus = value; }
152
154
157 inline int GetMaxRecords() const{ return m_maxRecords; }
158 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
159 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
160 inline DescribeUpdateActionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
162
164
170 inline const Aws::String& GetMarker() const{ return m_marker; }
171 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
172 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
173 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
174 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
175 inline DescribeUpdateActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
176 inline DescribeUpdateActionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
177 inline DescribeUpdateActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
179 private:
180
181 Aws::String m_serviceUpdateName;
182 bool m_serviceUpdateNameHasBeenSet = false;
183
184 Aws::Vector<Aws::String> m_replicationGroupIds;
185 bool m_replicationGroupIdsHasBeenSet = false;
186
187 Aws::Vector<Aws::String> m_cacheClusterIds;
188 bool m_cacheClusterIdsHasBeenSet = false;
189
190 Aws::String m_engine;
191 bool m_engineHasBeenSet = false;
192
193 Aws::Vector<ServiceUpdateStatus> m_serviceUpdateStatus;
194 bool m_serviceUpdateStatusHasBeenSet = false;
195
196 TimeRangeFilter m_serviceUpdateTimeRange;
197 bool m_serviceUpdateTimeRangeHasBeenSet = false;
198
199 Aws::Vector<UpdateActionStatus> m_updateActionStatus;
200 bool m_updateActionStatusHasBeenSet = false;
201
202 bool m_showNodeLevelUpdateStatus;
203 bool m_showNodeLevelUpdateStatusHasBeenSet = false;
204
205 int m_maxRecords;
206 bool m_maxRecordsHasBeenSet = false;
207
208 Aws::String m_marker;
209 bool m_markerHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace ElastiCache
214} // namespace Aws
DescribeUpdateActionsRequest & AddCacheClusterIds(Aws::String &&value)
void SetCacheClusterIds(const Aws::Vector< Aws::String > &value)
DescribeUpdateActionsRequest & AddReplicationGroupIds(const Aws::String &value)
void SetUpdateActionStatus(Aws::Vector< UpdateActionStatus > &&value)
DescribeUpdateActionsRequest & WithEngine(const Aws::String &value)
void SetUpdateActionStatus(const Aws::Vector< UpdateActionStatus > &value)
void SetServiceUpdateStatus(Aws::Vector< ServiceUpdateStatus > &&value)
DescribeUpdateActionsRequest & WithCacheClusterIds(Aws::Vector< Aws::String > &&value)
DescribeUpdateActionsRequest & WithServiceUpdateName(const Aws::String &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeUpdateActionsRequest & WithServiceUpdateTimeRange(const TimeRangeFilter &value)
DescribeUpdateActionsRequest & WithEngine(const char *value)
DescribeUpdateActionsRequest & WithServiceUpdateTimeRange(TimeRangeFilter &&value)
DescribeUpdateActionsRequest & AddUpdateActionStatus(UpdateActionStatus &&value)
DescribeUpdateActionsRequest & WithMarker(const Aws::String &value)
DescribeUpdateActionsRequest & WithCacheClusterIds(const Aws::Vector< Aws::String > &value)
DescribeUpdateActionsRequest & AddCacheClusterIds(const Aws::String &value)
DescribeUpdateActionsRequest & AddReplicationGroupIds(const char *value)
DescribeUpdateActionsRequest & AddServiceUpdateStatus(const ServiceUpdateStatus &value)
const Aws::Vector< UpdateActionStatus > & GetUpdateActionStatus() const
void SetServiceUpdateStatus(const Aws::Vector< ServiceUpdateStatus > &value)
DescribeUpdateActionsRequest & AddCacheClusterIds(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeUpdateActionsRequest & WithEngine(Aws::String &&value)
const Aws::Vector< Aws::String > & GetReplicationGroupIds() const
DescribeUpdateActionsRequest & WithUpdateActionStatus(const Aws::Vector< UpdateActionStatus > &value)
DescribeUpdateActionsRequest & WithMarker(Aws::String &&value)
DescribeUpdateActionsRequest & WithServiceUpdateName(const char *value)
DescribeUpdateActionsRequest & WithMarker(const char *value)
const Aws::Vector< ServiceUpdateStatus > & GetServiceUpdateStatus() const
DescribeUpdateActionsRequest & AddUpdateActionStatus(const UpdateActionStatus &value)
DescribeUpdateActionsRequest & AddServiceUpdateStatus(ServiceUpdateStatus &&value)
void SetReplicationGroupIds(const Aws::Vector< Aws::String > &value)
DescribeUpdateActionsRequest & WithReplicationGroupIds(Aws::Vector< Aws::String > &&value)
DescribeUpdateActionsRequest & WithServiceUpdateName(Aws::String &&value)
DescribeUpdateActionsRequest & WithShowNodeLevelUpdateStatus(bool value)
DescribeUpdateActionsRequest & WithUpdateActionStatus(Aws::Vector< UpdateActionStatus > &&value)
DescribeUpdateActionsRequest & WithServiceUpdateStatus(Aws::Vector< ServiceUpdateStatus > &&value)
DescribeUpdateActionsRequest & AddReplicationGroupIds(Aws::String &&value)
void SetReplicationGroupIds(Aws::Vector< Aws::String > &&value)
DescribeUpdateActionsRequest & WithServiceUpdateStatus(const Aws::Vector< ServiceUpdateStatus > &value)
const Aws::Vector< Aws::String > & GetCacheClusterIds() const
DescribeUpdateActionsRequest & WithReplicationGroupIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector