7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/memorydb/MemoryDB_EXPORTS.h>
10#include <aws/memorydb/model/ClusterConfiguration.h>
11#include <aws/memorydb/model/DataTieringStatus.h>
33 AWS_MEMORYDB_API
Snapshot(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MEMORYDB_API
Snapshot&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
62 template <
typename StatusT = Aws::String>
64 m_statusHasBeenSet =
true;
65 m_status = std::forward<StatusT>(value);
67 template <
typename StatusT = Aws::String>
81 template <
typename SourceT = Aws::String>
83 m_sourceHasBeenSet =
true;
84 m_source = std::forward<SourceT>(value);
86 template <
typename SourceT = Aws::String>
99 template <
typename KmsKeyIdT = Aws::String>
101 m_kmsKeyIdHasBeenSet =
true;
102 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
104 template <
typename KmsKeyIdT = Aws::String>
117 template <
typename ARNT = Aws::String>
119 m_aRNHasBeenSet =
true;
120 m_aRN = std::forward<ARNT>(value);
122 template <
typename ARNT = Aws::String>
124 SetARN(std::forward<ARNT>(value));
135 template <
typename ClusterConfigurationT = ClusterConfiguration>
137 m_clusterConfigurationHasBeenSet =
true;
138 m_clusterConfiguration = std::forward<ClusterConfigurationT>(value);
140 template <
typename ClusterConfigurationT = ClusterConfiguration>
158 m_dataTieringHasBeenSet =
true;
159 m_dataTiering = value;
180 bool m_nameHasBeenSet =
false;
181 bool m_statusHasBeenSet =
false;
182 bool m_sourceHasBeenSet =
false;
183 bool m_kmsKeyIdHasBeenSet =
false;
184 bool m_aRNHasBeenSet =
false;
185 bool m_clusterConfigurationHasBeenSet =
false;
186 bool m_dataTieringHasBeenSet =
false;
AWS_MEMORYDB_API Snapshot(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DataTieringStatus GetDataTiering() const
void SetClusterConfiguration(ClusterConfigurationT &&value)
const ClusterConfiguration & GetClusterConfiguration() const
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_MEMORYDB_API Snapshot & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MEMORYDB_API Snapshot()=default
void SetDataTiering(DataTieringStatus value)
const Aws::String & GetARN() const
Snapshot & WithStatus(StatusT &&value)
void SetARN(ARNT &&value)
void SetSource(SourceT &&value)
void SetStatus(StatusT &&value)
Snapshot & WithDataTiering(DataTieringStatus value)
bool SourceHasBeenSet() const
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetName() const
const Aws::String & GetKmsKeyId() const
bool KmsKeyIdHasBeenSet() const
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
bool NameHasBeenSet() const
bool ARNHasBeenSet() const
Snapshot & WithARN(ARNT &&value)
Snapshot & WithSource(SourceT &&value)
Snapshot & WithName(NameT &&value)
const Aws::String & GetSource() const
bool DataTieringHasBeenSet() const
bool ClusterConfigurationHasBeenSet() const
Snapshot & WithClusterConfiguration(ClusterConfigurationT &&value)
void SetName(NameT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String