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/Endpoint.h>
33 AWS_MEMORYDB_API
Node() =
default;
34 AWS_MEMORYDB_API
Node(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_MEMORYDB_API
Node&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename StatusT = Aws::String>
66 m_statusHasBeenSet =
true;
67 m_status = std::forward<StatusT>(value);
69 template <
typename StatusT = Aws::String>
82 template <
typename AvailabilityZoneT = Aws::String>
84 m_availabilityZoneHasBeenSet =
true;
85 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
87 template <
typename AvailabilityZoneT = Aws::String>
100 template <
typename CreateTimeT = Aws::Utils::DateTime>
102 m_createTimeHasBeenSet =
true;
103 m_createTime = std::forward<CreateTimeT>(value);
105 template <
typename CreateTimeT = Aws::Utils::DateTime>
118 template <
typename Endpo
intT = Endpo
int>
120 m_endpointHasBeenSet =
true;
121 m_endpoint = std::forward<EndpointT>(value);
123 template <
typename Endpo
intT = Endpo
int>
139 bool m_nameHasBeenSet =
false;
140 bool m_statusHasBeenSet =
false;
141 bool m_availabilityZoneHasBeenSet =
false;
142 bool m_createTimeHasBeenSet =
false;
143 bool m_endpointHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreateTime() const
bool NameHasBeenSet() const
bool CreateTimeHasBeenSet() const
Node & WithName(NameT &&value)
void SetCreateTime(CreateTimeT &&value)
bool StatusHasBeenSet() const
Node & WithEndpoint(EndpointT &&value)
Node & WithAvailabilityZone(AvailabilityZoneT &&value)
bool EndpointHasBeenSet() const
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetStatus() const
Node & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetName() const
AWS_MEMORYDB_API Node(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MEMORYDB_API Node & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Endpoint & GetEndpoint() const
AWS_MEMORYDB_API Node()=default
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
void SetName(NameT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
void SetEndpoint(EndpointT &&value)
void SetStatus(StatusT &&value)
Node & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String