7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename SharedAccountIdT = Aws::String>
52 void SetSharedAccountId(SharedAccountIdT&& value) { m_sharedAccountIdHasBeenSet =
true; m_sharedAccountId = std::forward<SharedAccountIdT>(value); }
53 template<
typename SharedAccountIdT = Aws::String>
64 inline void SetAllowAssociation(
bool value) { m_allowAssociationHasBeenSet =
true; m_allowAssociation = value; }
70 bool m_sharedAccountIdHasBeenSet =
false;
72 bool m_allowAssociation{
false};
73 bool m_allowAssociationHasBeenSet =
false;
AWS_WORKSPACES_API ConnectionAliasPermission()=default
ConnectionAliasPermission & WithSharedAccountId(SharedAccountIdT &&value)
bool AllowAssociationHasBeenSet() const
AWS_WORKSPACES_API ConnectionAliasPermission & operator=(Aws::Utils::Json::JsonView jsonValue)
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
void SetSharedAccountId(SharedAccountIdT &&value)
ConnectionAliasPermission & WithAllowAssociation(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue