7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
36 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename SharedAccountIdT = Aws::String>
47 m_sharedAccountIdHasBeenSet =
true;
48 m_sharedAccountId = std::forward<SharedAccountIdT>(value);
50 template <
typename SharedAccountIdT = Aws::String>
65 m_allowAssociationHasBeenSet =
true;
66 m_allowAssociation = value;
76 bool m_allowAssociation{
false};
77 bool m_sharedAccountIdHasBeenSet =
false;
78 bool m_allowAssociationHasBeenSet =
false;
AWS_WORKSPACES_API ConnectionAliasPermission()=default
AWS_WORKSPACES_API ConnectionAliasPermission & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API ConnectionAliasPermission(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ConnectionAliasPermission & WithSharedAccountId(SharedAccountIdT &&value)
bool AllowAssociationHasBeenSet() const
bool SharedAccountIdHasBeenSet() const
void SetAllowAssociation(bool value)
const Aws::String & GetSharedAccountId() const
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool GetAllowAssociation() const
void SetSharedAccountId(SharedAccountIdT &&value)
ConnectionAliasPermission & WithAllowAssociation(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String