7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticache/model/ServiceUpdateSeverity.h>
12#include <aws/elasticache/model/ServiceUpdateStatus.h>
13#include <aws/elasticache/model/ServiceUpdateType.h>
53 template<
typename ServiceUpdateNameT = Aws::String>
54 void SetServiceUpdateName(ServiceUpdateNameT&& value) { m_serviceUpdateNameHasBeenSet =
true; m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value); }
55 template<
typename ServiceUpdateNameT = Aws::String>
65 template<
typename ServiceUpdateReleaseDateT = Aws::Utils::DateTime>
66 void SetServiceUpdateReleaseDate(ServiceUpdateReleaseDateT&& value) { m_serviceUpdateReleaseDateHasBeenSet =
true; m_serviceUpdateReleaseDate = std::forward<ServiceUpdateReleaseDateT>(value); }
67 template<
typename ServiceUpdateReleaseDateT = Aws::Utils::DateTime>
77 template<
typename ServiceUpdateEndDateT = Aws::Utils::DateTime>
78 void SetServiceUpdateEndDate(ServiceUpdateEndDateT&& value) { m_serviceUpdateEndDateHasBeenSet =
true; m_serviceUpdateEndDate = std::forward<ServiceUpdateEndDateT>(value); }
79 template<
typename ServiceUpdateEndDateT = Aws::Utils::DateTime>
102 template<
typename ServiceUpdateRecommendedApplyByDateT = Aws::Utils::DateTime>
103 void SetServiceUpdateRecommendedApplyByDate(ServiceUpdateRecommendedApplyByDateT&& value) { m_serviceUpdateRecommendedApplyByDateHasBeenSet =
true; m_serviceUpdateRecommendedApplyByDate = std::forward<ServiceUpdateRecommendedApplyByDateT>(value); }
104 template<
typename ServiceUpdateRecommendedApplyByDateT = Aws::Utils::DateTime>
124 template<
typename ServiceUpdateDescriptionT = Aws::String>
125 void SetServiceUpdateDescription(ServiceUpdateDescriptionT&& value) { m_serviceUpdateDescriptionHasBeenSet =
true; m_serviceUpdateDescription = std::forward<ServiceUpdateDescriptionT>(value); }
126 template<
typename ServiceUpdateDescriptionT = Aws::String>
147 template<
typename EngineT = Aws::String>
148 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
149 template<
typename EngineT = Aws::String>
160 template<
typename EngineVersionT = Aws::String>
161 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
162 template<
typename EngineVersionT = Aws::String>
183 template<
typename EstimatedUpdateTimeT = Aws::String>
184 void SetEstimatedUpdateTime(EstimatedUpdateTimeT&& value) { m_estimatedUpdateTimeHasBeenSet =
true; m_estimatedUpdateTime = std::forward<EstimatedUpdateTimeT>(value); }
185 template<
typename EstimatedUpdateTimeT = Aws::String>
191 bool m_serviceUpdateNameHasBeenSet =
false;
194 bool m_serviceUpdateReleaseDateHasBeenSet =
false;
197 bool m_serviceUpdateEndDateHasBeenSet =
false;
200 bool m_serviceUpdateSeverityHasBeenSet =
false;
203 bool m_serviceUpdateRecommendedApplyByDateHasBeenSet =
false;
206 bool m_serviceUpdateStatusHasBeenSet =
false;
209 bool m_serviceUpdateDescriptionHasBeenSet =
false;
212 bool m_serviceUpdateTypeHasBeenSet =
false;
215 bool m_engineHasBeenSet =
false;
218 bool m_engineVersionHasBeenSet =
false;
220 bool m_autoUpdateAfterRecommendedApplyByDate{
false};
221 bool m_autoUpdateAfterRecommendedApplyByDateHasBeenSet =
false;
224 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