7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
19namespace DirectoryService {
30 AWS_DIRECTORYSERVICE_API
Attribute(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_DIRECTORYSERVICE_API
Attribute&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_DIRECTORYSERVICE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
58 template <
typename ValueT = Aws::String>
60 m_valueHasBeenSet =
true;
61 m_value = std::forward<ValueT>(value);
63 template <
typename ValueT = Aws::String>
65 SetValue(std::forward<ValueT>(value));
73 bool m_nameHasBeenSet =
false;
74 bool m_valueHasBeenSet =
false;
const Aws::String & GetValue() const
void SetValue(ValueT &&value)
Attribute & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_DIRECTORYSERVICE_API Attribute & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool NameHasBeenSet() const
Attribute & WithValue(ValueT &&value)
AWS_DIRECTORYSERVICE_API Attribute()=default
void SetName(NameT &&value)
bool ValueHasBeenSet() const
AWS_DIRECTORYSERVICE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_DIRECTORYSERVICE_API Attribute(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String