AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ServiceUpdateNameT = Aws::String>
50 void SetServiceUpdateName(ServiceUpdateNameT&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value); }
51 template<typename ServiceUpdateNameT = Aws::String>
52 DescribeUpdateActionsRequest& WithServiceUpdateName(ServiceUpdateNameT&& value) { SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetReplicationGroupIds() const { return m_replicationGroupIds; }
60 inline bool ReplicationGroupIdsHasBeenSet() const { return m_replicationGroupIdsHasBeenSet; }
61 template<typename ReplicationGroupIdsT = Aws::Vector<Aws::String>>
62 void SetReplicationGroupIds(ReplicationGroupIdsT&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds = std::forward<ReplicationGroupIdsT>(value); }
63 template<typename ReplicationGroupIdsT = Aws::Vector<Aws::String>>
64 DescribeUpdateActionsRequest& WithReplicationGroupIds(ReplicationGroupIdsT&& value) { SetReplicationGroupIds(std::forward<ReplicationGroupIdsT>(value)); return *this;}
65 template<typename ReplicationGroupIdsT = Aws::String>
66 DescribeUpdateActionsRequest& AddReplicationGroupIds(ReplicationGroupIdsT&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.emplace_back(std::forward<ReplicationGroupIdsT>(value)); return *this; }
68
70
73 inline const Aws::Vector<Aws::String>& GetCacheClusterIds() const { return m_cacheClusterIds; }
74 inline bool CacheClusterIdsHasBeenSet() const { return m_cacheClusterIdsHasBeenSet; }
75 template<typename CacheClusterIdsT = Aws::Vector<Aws::String>>
76 void SetCacheClusterIds(CacheClusterIdsT&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds = std::forward<CacheClusterIdsT>(value); }
77 template<typename CacheClusterIdsT = Aws::Vector<Aws::String>>
78 DescribeUpdateActionsRequest& WithCacheClusterIds(CacheClusterIdsT&& value) { SetCacheClusterIds(std::forward<CacheClusterIdsT>(value)); return *this;}
79 template<typename CacheClusterIdsT = Aws::String>
80 DescribeUpdateActionsRequest& AddCacheClusterIds(CacheClusterIdsT&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.emplace_back(std::forward<CacheClusterIdsT>(value)); return *this; }
82
84
88 inline const Aws::String& GetEngine() const { return m_engine; }
89 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
90 template<typename EngineT = Aws::String>
91 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
92 template<typename EngineT = Aws::String>
93 DescribeUpdateActionsRequest& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
95
97
100 inline const Aws::Vector<ServiceUpdateStatus>& GetServiceUpdateStatus() const { return m_serviceUpdateStatus; }
101 inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; }
102 template<typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
103 void SetServiceUpdateStatus(ServiceUpdateStatusT&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = std::forward<ServiceUpdateStatusT>(value); }
104 template<typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
105 DescribeUpdateActionsRequest& WithServiceUpdateStatus(ServiceUpdateStatusT&& value) { SetServiceUpdateStatus(std::forward<ServiceUpdateStatusT>(value)); return *this;}
106 inline DescribeUpdateActionsRequest& AddServiceUpdateStatus(ServiceUpdateStatus value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(value); return *this; }
108
110
114 inline const TimeRangeFilter& GetServiceUpdateTimeRange() const { return m_serviceUpdateTimeRange; }
115 inline bool ServiceUpdateTimeRangeHasBeenSet() const { return m_serviceUpdateTimeRangeHasBeenSet; }
116 template<typename ServiceUpdateTimeRangeT = TimeRangeFilter>
117 void SetServiceUpdateTimeRange(ServiceUpdateTimeRangeT&& value) { m_serviceUpdateTimeRangeHasBeenSet = true; m_serviceUpdateTimeRange = std::forward<ServiceUpdateTimeRangeT>(value); }
118 template<typename ServiceUpdateTimeRangeT = TimeRangeFilter>
119 DescribeUpdateActionsRequest& WithServiceUpdateTimeRange(ServiceUpdateTimeRangeT&& value) { SetServiceUpdateTimeRange(std::forward<ServiceUpdateTimeRangeT>(value)); return *this;}
121
123
126 inline const Aws::Vector<UpdateActionStatus>& GetUpdateActionStatus() const { return m_updateActionStatus; }
127 inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; }
128 template<typename UpdateActionStatusT = Aws::Vector<UpdateActionStatus>>
129 void SetUpdateActionStatus(UpdateActionStatusT&& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = std::forward<UpdateActionStatusT>(value); }
130 template<typename UpdateActionStatusT = Aws::Vector<UpdateActionStatus>>
131 DescribeUpdateActionsRequest& WithUpdateActionStatus(UpdateActionStatusT&& value) { SetUpdateActionStatus(std::forward<UpdateActionStatusT>(value)); return *this;}
132 inline DescribeUpdateActionsRequest& AddUpdateActionStatus(UpdateActionStatus value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus.push_back(value); return *this; }
134
136
139 inline bool GetShowNodeLevelUpdateStatus() const { return m_showNodeLevelUpdateStatus; }
140 inline bool ShowNodeLevelUpdateStatusHasBeenSet() const { return m_showNodeLevelUpdateStatusHasBeenSet; }
141 inline void SetShowNodeLevelUpdateStatus(bool value) { m_showNodeLevelUpdateStatusHasBeenSet = true; m_showNodeLevelUpdateStatus = value; }
144
146
149 inline int GetMaxRecords() const { return m_maxRecords; }
150 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
151 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
152 inline DescribeUpdateActionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
154
156
162 inline const Aws::String& GetMarker() const { return m_marker; }
163 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
164 template<typename MarkerT = Aws::String>
165 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
166 template<typename MarkerT = Aws::String>
167 DescribeUpdateActionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
169 private:
170
171 Aws::String m_serviceUpdateName;
172 bool m_serviceUpdateNameHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_replicationGroupIds;
175 bool m_replicationGroupIdsHasBeenSet = false;
176
177 Aws::Vector<Aws::String> m_cacheClusterIds;
178 bool m_cacheClusterIdsHasBeenSet = false;
179
180 Aws::String m_engine;
181 bool m_engineHasBeenSet = false;
182
183 Aws::Vector<ServiceUpdateStatus> m_serviceUpdateStatus;
184 bool m_serviceUpdateStatusHasBeenSet = false;
185
186 TimeRangeFilter m_serviceUpdateTimeRange;
187 bool m_serviceUpdateTimeRangeHasBeenSet = false;
188
189 Aws::Vector<UpdateActionStatus> m_updateActionStatus;
190 bool m_updateActionStatusHasBeenSet = false;
191
192 bool m_showNodeLevelUpdateStatus{false};
193 bool m_showNodeLevelUpdateStatusHasBeenSet = false;
194
195 int m_maxRecords{0};
196 bool m_maxRecordsHasBeenSet = false;
197
198 Aws::String m_marker;
199 bool m_markerHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace ElastiCache
204} // 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