7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/ServiceUpdateStatus.h>
12#include <aws/memorydb/model/ServiceUpdateType.h>
34 AWS_MEMORYDB_API
ServiceUpdate(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename ClusterNameT = Aws::String>
46 m_clusterNameHasBeenSet =
true;
47 m_clusterName = std::forward<ClusterNameT>(value);
49 template <
typename ClusterNameT = Aws::String>
62 template <
typename ServiceUpdateNameT = Aws::String>
64 m_serviceUpdateNameHasBeenSet =
true;
65 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
67 template <
typename ServiceUpdateNameT = Aws::String>
80 template <
typename ReleaseDateT = Aws::Utils::DateTime>
82 m_releaseDateHasBeenSet =
true;
83 m_releaseDate = std::forward<ReleaseDateT>(value);
85 template <
typename ReleaseDateT = Aws::Utils::DateTime>
98 template <
typename DescriptionT = Aws::String>
100 m_descriptionHasBeenSet =
true;
101 m_description = std::forward<DescriptionT>(value);
103 template <
typename DescriptionT = Aws::String>
117 m_statusHasBeenSet =
true;
133 m_typeHasBeenSet =
true;
148 template <
typename EngineT = Aws::String>
150 m_engineHasBeenSet =
true;
151 m_engine = std::forward<EngineT>(value);
153 template <
typename EngineT = Aws::String>
166 template <
typename NodesUpdatedT = Aws::String>
168 m_nodesUpdatedHasBeenSet =
true;
169 m_nodesUpdated = std::forward<NodesUpdatedT>(value);
171 template <
typename NodesUpdatedT = Aws::String>
184 template <
typename AutoUpdateStartDateT = Aws::Utils::DateTime>
186 m_autoUpdateStartDateHasBeenSet =
true;
187 m_autoUpdateStartDate = std::forward<AutoUpdateStartDateT>(value);
189 template <
typename AutoUpdateStartDateT = Aws::Utils::DateTime>
213 bool m_clusterNameHasBeenSet =
false;
214 bool m_serviceUpdateNameHasBeenSet =
false;
215 bool m_releaseDateHasBeenSet =
false;
216 bool m_descriptionHasBeenSet =
false;
217 bool m_statusHasBeenSet =
false;
218 bool m_typeHasBeenSet =
false;
219 bool m_engineHasBeenSet =
false;
220 bool m_nodesUpdatedHasBeenSet =
false;
221 bool m_autoUpdateStartDateHasBeenSet =
false;
ServiceUpdate & WithNodesUpdated(NodesUpdatedT &&value)
const Aws::Utils::DateTime & GetReleaseDate() const
bool NodesUpdatedHasBeenSet() const
void SetClusterName(ClusterNameT &&value)
void SetAutoUpdateStartDate(AutoUpdateStartDateT &&value)
ServiceUpdate & WithStatus(ServiceUpdateStatus value)
ServiceUpdate & WithServiceUpdateName(ServiceUpdateNameT &&value)
AWS_MEMORYDB_API ServiceUpdate()=default
ServiceUpdateType GetType() const
void SetDescription(DescriptionT &&value)
ServiceUpdate & WithEngine(EngineT &&value)
const Aws::String & GetServiceUpdateName() const
void SetServiceUpdateName(ServiceUpdateNameT &&value)
void SetType(ServiceUpdateType value)
bool StatusHasBeenSet() const
bool ServiceUpdateNameHasBeenSet() const
ServiceUpdate & WithType(ServiceUpdateType value)
const Aws::String & GetDescription() const
AWS_MEMORYDB_API ServiceUpdate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ServiceUpdateStatus GetStatus() const
void SetNodesUpdated(NodesUpdatedT &&value)
bool EngineHasBeenSet() const
bool ReleaseDateHasBeenSet() const
void SetEngine(EngineT &&value)
bool DescriptionHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetEngine() const
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetStatus(ServiceUpdateStatus value)
ServiceUpdate & WithClusterName(ClusterNameT &&value)
void SetReleaseDate(ReleaseDateT &&value)
const Aws::String & GetClusterName() const
ServiceUpdate & WithReleaseDate(ReleaseDateT &&value)
bool AutoUpdateStartDateHasBeenSet() const
ServiceUpdate & WithAutoUpdateStartDate(AutoUpdateStartDateT &&value)
ServiceUpdate & WithDescription(DescriptionT &&value)
bool ClusterNameHasBeenSet() const
const Aws::Utils::DateTime & GetAutoUpdateStartDate() const
const Aws::String & GetNodesUpdated() const
AWS_MEMORYDB_API ServiceUpdate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String