7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/ElastiCache_EXPORTS.h>
12#include <aws/elasticache/model/CacheNodeUpdateStatus.h>
13#include <aws/elasticache/model/NodeGroupUpdateStatus.h>
14#include <aws/elasticache/model/ServiceUpdateSeverity.h>
15#include <aws/elasticache/model/ServiceUpdateStatus.h>
16#include <aws/elasticache/model/ServiceUpdateType.h>
17#include <aws/elasticache/model/SlaMet.h>
18#include <aws/elasticache/model/UpdateActionStatus.h>
28namespace ElastiCache {
52 template <
typename ReplicationGroupIdT = Aws::String>
54 m_replicationGroupIdHasBeenSet =
true;
55 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
57 template <
typename ReplicationGroupIdT = Aws::String>
70 template <
typename CacheClusterIdT = Aws::String>
72 m_cacheClusterIdHasBeenSet =
true;
73 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
75 template <
typename CacheClusterIdT = Aws::String>
88 template <
typename ServiceUpdateNameT = Aws::String>
90 m_serviceUpdateNameHasBeenSet =
true;
91 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
93 template <
typename ServiceUpdateNameT = Aws::String>
106 template <
typename ServiceUpdateReleaseDateT = Aws::Utils::DateTime>
108 m_serviceUpdateReleaseDateHasBeenSet =
true;
109 m_serviceUpdateReleaseDate = std::forward<ServiceUpdateReleaseDateT>(value);
111 template <
typename ServiceUpdateReleaseDateT = Aws::Utils::DateTime>
125 m_serviceUpdateSeverityHasBeenSet =
true;
126 m_serviceUpdateSeverity = value;
141 m_serviceUpdateStatusHasBeenSet =
true;
142 m_serviceUpdateStatus = value;
159 template <
typename ServiceUpdateRecommendedApplyByDateT = Aws::Utils::DateTime>
161 m_serviceUpdateRecommendedApplyByDateHasBeenSet =
true;
162 m_serviceUpdateRecommendedApplyByDate = std::forward<ServiceUpdateRecommendedApplyByDateT>(value);
164 template <
typename ServiceUpdateRecommendedApplyByDateT = Aws::Utils::DateTime>
178 m_serviceUpdateTypeHasBeenSet =
true;
179 m_serviceUpdateType = value;
193 template <
typename UpdateActionAvailableDateT = Aws::Utils::DateTime>
195 m_updateActionAvailableDateHasBeenSet =
true;
196 m_updateActionAvailableDate = std::forward<UpdateActionAvailableDateT>(value);
198 template <
typename UpdateActionAvailableDateT = Aws::Utils::DateTime>
212 m_updateActionStatusHasBeenSet =
true;
213 m_updateActionStatus = value;
227 template <
typename NodesUpdatedT = Aws::String>
229 m_nodesUpdatedHasBeenSet =
true;
230 m_nodesUpdated = std::forward<NodesUpdatedT>(value);
232 template <
typename NodesUpdatedT = Aws::String>
245 template <
typename UpdateActionStatusModifiedDateT = Aws::Utils::DateTime>
247 m_updateActionStatusModifiedDateHasBeenSet =
true;
248 m_updateActionStatusModifiedDate = std::forward<UpdateActionStatusModifiedDateT>(value);
250 template <
typename UpdateActionStatusModifiedDateT = Aws::Utils::DateTime>
267 m_slaMetHasBeenSet =
true;
282 template <
typename NodeGroupUpdateStatusT = Aws::Vector<NodeGroupUpdateStatus>>
284 m_nodeGroupUpdateStatusHasBeenSet =
true;
285 m_nodeGroupUpdateStatus = std::forward<NodeGroupUpdateStatusT>(value);
287 template <
typename NodeGroupUpdateStatusT = Aws::Vector<NodeGroupUpdateStatus>>
292 template <
typename NodeGroupUpdateStatusT = NodeGroupUpdateStatus>
294 m_nodeGroupUpdateStatusHasBeenSet =
true;
295 m_nodeGroupUpdateStatus.emplace_back(std::forward<NodeGroupUpdateStatusT>(value));
306 template <
typename CacheNodeUpdateStatusT = Aws::Vector<CacheNodeUpdateStatus>>
308 m_cacheNodeUpdateStatusHasBeenSet =
true;
309 m_cacheNodeUpdateStatus = std::forward<CacheNodeUpdateStatusT>(value);
311 template <
typename CacheNodeUpdateStatusT = Aws::Vector<CacheNodeUpdateStatus>>
316 template <
typename CacheNodeUpdateStatusT = CacheNodeUpdateStatus>
318 m_cacheNodeUpdateStatusHasBeenSet =
true;
319 m_cacheNodeUpdateStatus.emplace_back(std::forward<CacheNodeUpdateStatusT>(value));
330 template <
typename EstimatedUpdateTimeT = Aws::String>
332 m_estimatedUpdateTimeHasBeenSet =
true;
333 m_estimatedUpdateTime = std::forward<EstimatedUpdateTimeT>(value);
335 template <
typename EstimatedUpdateTimeT = Aws::String>
349 template <
typename EngineT = Aws::String>
351 m_engineHasBeenSet =
true;
352 m_engine = std::forward<EngineT>(value);
354 template <
typename EngineT = Aws::String>
394 bool m_replicationGroupIdHasBeenSet =
false;
395 bool m_cacheClusterIdHasBeenSet =
false;
396 bool m_serviceUpdateNameHasBeenSet =
false;
397 bool m_serviceUpdateReleaseDateHasBeenSet =
false;
398 bool m_serviceUpdateSeverityHasBeenSet =
false;
399 bool m_serviceUpdateStatusHasBeenSet =
false;
400 bool m_serviceUpdateRecommendedApplyByDateHasBeenSet =
false;
401 bool m_serviceUpdateTypeHasBeenSet =
false;
402 bool m_updateActionAvailableDateHasBeenSet =
false;
403 bool m_updateActionStatusHasBeenSet =
false;
404 bool m_nodesUpdatedHasBeenSet =
false;
405 bool m_updateActionStatusModifiedDateHasBeenSet =
false;
406 bool m_slaMetHasBeenSet =
false;
407 bool m_nodeGroupUpdateStatusHasBeenSet =
false;
408 bool m_cacheNodeUpdateStatusHasBeenSet =
false;
409 bool m_estimatedUpdateTimeHasBeenSet =
false;
410 bool m_engineHasBeenSet =
false;
UpdateAction & AddCacheNodeUpdateStatus(CacheNodeUpdateStatusT &&value)
const Aws::String & GetCacheClusterId() const
const Aws::Utils::DateTime & GetServiceUpdateReleaseDate() const
bool ServiceUpdateSeverityHasBeenSet() const
void SetUpdateActionStatus(UpdateActionStatus value)
bool EstimatedUpdateTimeHasBeenSet() const
UpdateAction & WithServiceUpdateReleaseDate(ServiceUpdateReleaseDateT &&value)
const Aws::Vector< CacheNodeUpdateStatus > & GetCacheNodeUpdateStatus() const
bool ServiceUpdateReleaseDateHasBeenSet() const
UpdateActionStatus GetUpdateActionStatus() const
ServiceUpdateStatus GetServiceUpdateStatus() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCacheClusterId(CacheClusterIdT &&value)
void SetSlaMet(SlaMet value)
bool UpdateActionStatusModifiedDateHasBeenSet() const
UpdateAction & WithServiceUpdateName(ServiceUpdateNameT &&value)
bool UpdateActionStatusHasBeenSet() const
UpdateAction & WithServiceUpdateType(ServiceUpdateType value)
UpdateAction & WithServiceUpdateStatus(ServiceUpdateStatus value)
UpdateAction & WithUpdateActionAvailableDate(UpdateActionAvailableDateT &&value)
UpdateAction & WithNodeGroupUpdateStatus(NodeGroupUpdateStatusT &&value)
const Aws::String & GetEstimatedUpdateTime() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetServiceUpdateReleaseDate(ServiceUpdateReleaseDateT &&value)
const Aws::String & GetNodesUpdated() const
const Aws::Utils::DateTime & GetUpdateActionAvailableDate() const
void SetEstimatedUpdateTime(EstimatedUpdateTimeT &&value)
bool NodeGroupUpdateStatusHasBeenSet() const
void SetNodesUpdated(NodesUpdatedT &&value)
const Aws::Utils::DateTime & GetServiceUpdateRecommendedApplyByDate() const
void SetEngine(EngineT &&value)
bool EngineHasBeenSet() const
UpdateAction & WithEstimatedUpdateTime(EstimatedUpdateTimeT &&value)
UpdateAction & WithSlaMet(SlaMet value)
bool ReplicationGroupIdHasBeenSet() const
bool UpdateActionAvailableDateHasBeenSet() const
UpdateAction & WithEngine(EngineT &&value)
void SetServiceUpdateType(ServiceUpdateType value)
UpdateAction & WithReplicationGroupId(ReplicationGroupIdT &&value)
const Aws::String & GetEngine() const
void SetServiceUpdateName(ServiceUpdateNameT &&value)
const Aws::String & GetServiceUpdateName() const
void SetUpdateActionAvailableDate(UpdateActionAvailableDateT &&value)
bool ServiceUpdateTypeHasBeenSet() const
UpdateAction & WithCacheClusterId(CacheClusterIdT &&value)
UpdateAction & WithUpdateActionStatusModifiedDate(UpdateActionStatusModifiedDateT &&value)
void SetServiceUpdateRecommendedApplyByDate(ServiceUpdateRecommendedApplyByDateT &&value)
bool ServiceUpdateRecommendedApplyByDateHasBeenSet() const
bool NodesUpdatedHasBeenSet() const
UpdateAction & WithServiceUpdateSeverity(ServiceUpdateSeverity value)
ServiceUpdateType GetServiceUpdateType() const
const Aws::Vector< NodeGroupUpdateStatus > & GetNodeGroupUpdateStatus() const
void SetServiceUpdateStatus(ServiceUpdateStatus value)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
bool SlaMetHasBeenSet() const
bool ServiceUpdateNameHasBeenSet() const
AWS_ELASTICACHE_API UpdateAction(const Aws::Utils::Xml::XmlNode &xmlNode)
UpdateAction & AddNodeGroupUpdateStatus(NodeGroupUpdateStatusT &&value)
void SetUpdateActionStatusModifiedDate(UpdateActionStatusModifiedDateT &&value)
UpdateAction & WithNodesUpdated(NodesUpdatedT &&value)
bool CacheNodeUpdateStatusHasBeenSet() const
bool CacheClusterIdHasBeenSet() const
AWS_ELASTICACHE_API UpdateAction()=default
void SetNodeGroupUpdateStatus(NodeGroupUpdateStatusT &&value)
UpdateAction & WithServiceUpdateRecommendedApplyByDate(ServiceUpdateRecommendedApplyByDateT &&value)
AWS_ELASTICACHE_API UpdateAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCacheNodeUpdateStatus(CacheNodeUpdateStatusT &&value)
UpdateAction & WithUpdateActionStatus(UpdateActionStatus value)
const Aws::Utils::DateTime & GetUpdateActionStatusModifiedDate() const
const Aws::String & GetReplicationGroupId() const
UpdateAction & WithCacheNodeUpdateStatus(CacheNodeUpdateStatusT &&value)
void SetServiceUpdateSeverity(ServiceUpdateSeverity value)
bool ServiceUpdateStatusHasBeenSet() const
ServiceUpdateSeverity GetServiceUpdateSeverity() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream