7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 inline void SetSharedAccountId(
const char* value) { m_sharedAccountIdHasBeenSet =
true; m_sharedAccountId.assign(value); }
66 inline void SetAllowAssociation(
bool value) { m_allowAssociationHasBeenSet =
true; m_allowAssociation = value; }
72 bool m_sharedAccountIdHasBeenSet =
false;
74 bool m_allowAssociation;
75 bool m_allowAssociationHasBeenSet =
false;
ConnectionAliasPermission & WithSharedAccountId(const char *value)
AWS_WORKSPACES_API ConnectionAliasPermission()
void SetSharedAccountId(Aws::String &&value)
bool AllowAssociationHasBeenSet() const
AWS_WORKSPACES_API ConnectionAliasPermission & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionAliasPermission & WithSharedAccountId(const Aws::String &value)
bool SharedAccountIdHasBeenSet() const
void SetAllowAssociation(bool value)
const Aws::String & GetSharedAccountId() const
AWS_WORKSPACES_API ConnectionAliasPermission(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetAllowAssociation() const
ConnectionAliasPermission & WithSharedAccountId(Aws::String &&value)
void SetSharedAccountId(const char *value)
ConnectionAliasPermission & WithAllowAssociation(bool value)
void SetSharedAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue