7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/interconnect/Interconnect_EXPORTS.h>
10#include <aws/interconnect/model/AttachPointType.h>
20namespace Interconnect {
34 AWS_INTERCONNECT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 m_typeHasBeenSet =
true;
60 template <
typename IdentifierT = Aws::String>
62 m_identifierHasBeenSet =
true;
63 m_identifier = std::forward<IdentifierT>(value);
65 template <
typename IdentifierT = Aws::String>
78 template <
typename NameT = Aws::String>
80 m_nameHasBeenSet =
true;
81 m_name = std::forward<NameT>(value);
83 template <
typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
95 bool m_typeHasBeenSet =
false;
96 bool m_identifierHasBeenSet =
false;
97 bool m_nameHasBeenSet =
false;
void SetIdentifier(IdentifierT &&value)
void SetName(NameT &&value)
AttachPointDescriptor & WithIdentifier(IdentifierT &&value)
bool NameHasBeenSet() const
AWS_INTERCONNECT_API AttachPointDescriptor()=default
AttachPointDescriptor & WithType(AttachPointType value)
void SetType(AttachPointType value)
bool TypeHasBeenSet() const
const Aws::String & GetIdentifier() const
AWS_INTERCONNECT_API AttachPointDescriptor & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetName() const
AttachPointType GetType() const
AttachPointDescriptor & WithName(NameT &&value)
AWS_INTERCONNECT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool IdentifierHasBeenSet() const
AWS_INTERCONNECT_API AttachPointDescriptor(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String