7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
35 AWS_APPSTREAM_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename NameT = Aws::String>
50 m_nameHasBeenSet =
true;
51 m_name = std::forward<NameT>(value);
53 template <
typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
67 template <
typename ValueT = Aws::String>
69 m_valueHasBeenSet =
true;
70 m_value = std::forward<ValueT>(value);
72 template <
typename ValueT = Aws::String>
74 SetValue(std::forward<ValueT>(value));
82 bool m_nameHasBeenSet =
false;
83 bool m_valueHasBeenSet =
false;
AWS_APPSTREAM_API EntitlementAttribute & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EntitlementAttribute & WithValue(ValueT &&value)
AWS_APPSTREAM_API EntitlementAttribute()=default
bool ValueHasBeenSet() const
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_APPSTREAM_API EntitlementAttribute(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetValue() const
void SetValue(ValueT &&value)
void SetName(NameT &&value)
EntitlementAttribute & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String