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/ShardConfiguration.h>
32 AWS_MEMORYDB_API
ShardDetail(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename ConfigurationT = ShardConfiguration>
62 m_configurationHasBeenSet =
true;
63 m_configuration = std::forward<ConfigurationT>(value);
65 template <
typename ConfigurationT = ShardConfiguration>
78 template <
typename SizeT = Aws::String>
80 m_sizeHasBeenSet =
true;
81 m_size = std::forward<SizeT>(value);
83 template <
typename SizeT = Aws::String>
85 SetSize(std::forward<SizeT>(value));
96 template <
typename SnapshotCreationTimeT = Aws::Utils::DateTime>
98 m_snapshotCreationTimeHasBeenSet =
true;
99 m_snapshotCreationTime = std::forward<SnapshotCreationTimeT>(value);
101 template <
typename SnapshotCreationTimeT = Aws::Utils::DateTime>
115 bool m_nameHasBeenSet =
false;
116 bool m_configurationHasBeenSet =
false;
117 bool m_sizeHasBeenSet =
false;
118 bool m_snapshotCreationTimeHasBeenSet =
false;
bool NameHasBeenSet() const
ShardDetail & WithSize(SizeT &&value)
const Aws::String & GetSize() const
bool ConfigurationHasBeenSet() const
void SetName(NameT &&value)
bool SnapshotCreationTimeHasBeenSet() const
const ShardConfiguration & GetConfiguration() const
void SetSize(SizeT &&value)
void SetSnapshotCreationTime(SnapshotCreationTimeT &&value)
ShardDetail & WithSnapshotCreationTime(SnapshotCreationTimeT &&value)
AWS_MEMORYDB_API ShardDetail()=default
ShardDetail & WithConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetSnapshotCreationTime() const
const Aws::String & GetName() const
void SetConfiguration(ConfigurationT &&value)
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ShardDetail & WithName(NameT &&value)
AWS_MEMORYDB_API ShardDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MEMORYDB_API ShardDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool SizeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String