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/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/ServiceUpdateSeverity.h>
12#include <aws/elasticache/model/ServiceUpdateStatus.h>
13#include <aws/elasticache/model/ServiceUpdateType.h>
23namespace ElastiCache {
47 template <
typename ServiceUpdateNameT = Aws::String>
49 m_serviceUpdateNameHasBeenSet =
true;
50 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
52 template <
typename ServiceUpdateNameT = Aws::String>
65 template <
typename ServiceUpdateReleaseDateT = Aws::Utils::DateTime>
67 m_serviceUpdateReleaseDateHasBeenSet =
true;
68 m_serviceUpdateReleaseDate = std::forward<ServiceUpdateReleaseDateT>(value);
70 template <
typename ServiceUpdateReleaseDateT = Aws::Utils::DateTime>
83 template <
typename ServiceUpdateEndDateT = Aws::Utils::DateTime>
85 m_serviceUpdateEndDateHasBeenSet =
true;
86 m_serviceUpdateEndDate = std::forward<ServiceUpdateEndDateT>(value);
88 template <
typename ServiceUpdateEndDateT = Aws::Utils::DateTime>
102 m_serviceUpdateSeverityHasBeenSet =
true;
103 m_serviceUpdateSeverity = value;
120 template <
typename ServiceUpdateRecommendedApplyByDateT = Aws::Utils::DateTime>
122 m_serviceUpdateRecommendedApplyByDateHasBeenSet =
true;
123 m_serviceUpdateRecommendedApplyByDate = std::forward<ServiceUpdateRecommendedApplyByDateT>(value);
125 template <
typename ServiceUpdateRecommendedApplyByDateT = Aws::Utils::DateTime>
139 m_serviceUpdateStatusHasBeenSet =
true;
140 m_serviceUpdateStatus = value;
154 template <
typename ServiceUpdateDescriptionT = Aws::String>
156 m_serviceUpdateDescriptionHasBeenSet =
true;
157 m_serviceUpdateDescription = std::forward<ServiceUpdateDescriptionT>(value);
159 template <
typename ServiceUpdateDescriptionT = Aws::String>
173 m_serviceUpdateTypeHasBeenSet =
true;
174 m_serviceUpdateType = value;
189 template <
typename EngineT = Aws::String>
191 m_engineHasBeenSet =
true;
192 m_engine = std::forward<EngineT>(value);
194 template <
typename EngineT = Aws::String>
208 template <
typename EngineVersionT = Aws::String>
210 m_engineVersionHasBeenSet =
true;
211 m_engineVersion = std::forward<EngineVersionT>(value);
213 template <
typename EngineVersionT = Aws::String>
228 m_autoUpdateAfterRecommendedApplyByDateHasBeenSet =
true;
229 m_autoUpdateAfterRecommendedApplyByDate = value;
243 template <
typename EstimatedUpdateTimeT = Aws::String>
245 m_estimatedUpdateTimeHasBeenSet =
true;
246 m_estimatedUpdateTime = std::forward<EstimatedUpdateTimeT>(value);
248 template <
typename EstimatedUpdateTimeT = Aws::String>
275 bool m_autoUpdateAfterRecommendedApplyByDate{
false};
278 bool m_serviceUpdateNameHasBeenSet =
false;
279 bool m_serviceUpdateReleaseDateHasBeenSet =
false;
280 bool m_serviceUpdateEndDateHasBeenSet =
false;
281 bool m_serviceUpdateSeverityHasBeenSet =
false;
282 bool m_serviceUpdateRecommendedApplyByDateHasBeenSet =
false;
283 bool m_serviceUpdateStatusHasBeenSet =
false;
284 bool m_serviceUpdateDescriptionHasBeenSet =
false;
285 bool m_serviceUpdateTypeHasBeenSet =
false;
286 bool m_engineHasBeenSet =
false;
287 bool m_engineVersionHasBeenSet =
false;
288 bool m_autoUpdateAfterRecommendedApplyByDateHasBeenSet =
false;
289 bool m_estimatedUpdateTimeHasBeenSet =
false;
ServiceUpdate & WithServiceUpdateDescription(ServiceUpdateDescriptionT &&value)
bool ServiceUpdateEndDateHasBeenSet() const
void SetAutoUpdateAfterRecommendedApplyByDate(bool value)
void SetServiceUpdateSeverity(ServiceUpdateSeverity value)
const Aws::String & GetEstimatedUpdateTime() const
void SetServiceUpdateName(ServiceUpdateNameT &&value)
bool ServiceUpdateTypeHasBeenSet() const
bool ServiceUpdateDescriptionHasBeenSet() const
ServiceUpdate & WithServiceUpdateEndDate(ServiceUpdateEndDateT &&value)
AWS_ELASTICACHE_API ServiceUpdate(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceUpdateType GetServiceUpdateType() const
bool ServiceUpdateNameHasBeenSet() const
bool ServiceUpdateSeverityHasBeenSet() const
bool ServiceUpdateRecommendedApplyByDateHasBeenSet() const
void SetServiceUpdateDescription(ServiceUpdateDescriptionT &&value)
ServiceUpdate & WithEngineVersion(EngineVersionT &&value)
const Aws::Utils::DateTime & GetServiceUpdateRecommendedApplyByDate() const
ServiceUpdate & WithEngine(EngineT &&value)
const Aws::String & GetEngineVersion() const
bool AutoUpdateAfterRecommendedApplyByDateHasBeenSet() const
bool EngineVersionHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetServiceUpdateReleaseDate() const
void SetServiceUpdateStatus(ServiceUpdateStatus value)
ServiceUpdateSeverity GetServiceUpdateSeverity() const
void SetServiceUpdateRecommendedApplyByDate(ServiceUpdateRecommendedApplyByDateT &&value)
void SetServiceUpdateType(ServiceUpdateType value)
const Aws::String & GetEngine() const
bool EngineHasBeenSet() const
bool ServiceUpdateReleaseDateHasBeenSet() const
ServiceUpdate & WithServiceUpdateReleaseDate(ServiceUpdateReleaseDateT &&value)
ServiceUpdate & WithServiceUpdateName(ServiceUpdateNameT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ServiceUpdate & WithEstimatedUpdateTime(EstimatedUpdateTimeT &&value)
AWS_ELASTICACHE_API ServiceUpdate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetServiceUpdateDescription() const
bool ServiceUpdateStatusHasBeenSet() const
ServiceUpdate & WithServiceUpdateSeverity(ServiceUpdateSeverity value)
AWS_ELASTICACHE_API ServiceUpdate()=default
bool GetAutoUpdateAfterRecommendedApplyByDate() const
void SetEstimatedUpdateTime(EstimatedUpdateTimeT &&value)
ServiceUpdate & WithServiceUpdateStatus(ServiceUpdateStatus value)
const Aws::Utils::DateTime & GetServiceUpdateEndDate() const
void SetEngineVersion(EngineVersionT &&value)
bool EstimatedUpdateTimeHasBeenSet() const
ServiceUpdateStatus GetServiceUpdateStatus() const
ServiceUpdate & WithServiceUpdateType(ServiceUpdateType value)
void SetServiceUpdateReleaseDate(ServiceUpdateReleaseDateT &&value)
void SetServiceUpdateEndDate(ServiceUpdateEndDateT &&value)
ServiceUpdate & WithServiceUpdateRecommendedApplyByDate(ServiceUpdateRecommendedApplyByDateT &&value)
void SetEngine(EngineT &&value)
const Aws::String & GetServiceUpdateName() const
ServiceUpdate & WithAutoUpdateAfterRecommendedApplyByDate(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream