7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/ConnectionAliasState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workspaces/model/ConnectionAliasAssociation.h>
55 template<
typename ConnectionStringT = Aws::String>
56 void SetConnectionString(ConnectionStringT&& value) { m_connectionStringHasBeenSet =
true; m_connectionString = std::forward<ConnectionStringT>(value); }
57 template<
typename ConnectionStringT = Aws::String>
67 template<
typename AliasIdT = Aws::String>
68 void SetAliasId(AliasIdT&& value) { m_aliasIdHasBeenSet =
true; m_aliasId = std::forward<AliasIdT>(value); }
69 template<
typename AliasIdT = Aws::String>
90 template<
typename OwnerAccountIdT = Aws::String>
91 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
92 template<
typename OwnerAccountIdT = Aws::String>
102 template<
typename AssociationsT = Aws::Vector<ConnectionAliasAssociation>>
103 void SetAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations = std::forward<AssociationsT>(value); }
104 template<
typename AssociationsT = Aws::Vector<ConnectionAliasAssociation>>
106 template<
typename AssociationsT = ConnectionAliasAssociation>
107 ConnectionAlias&
AddAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations.emplace_back(std::forward<AssociationsT>(value));
return *
this; }
112 bool m_connectionStringHasBeenSet =
false;
115 bool m_aliasIdHasBeenSet =
false;
118 bool m_stateHasBeenSet =
false;
121 bool m_ownerAccountIdHasBeenSet =
false;
124 bool m_associationsHasBeenSet =
false;
bool OwnerAccountIdHasBeenSet() const
ConnectionAliasState GetState() const
void SetAssociations(AssociationsT &&value)
ConnectionAlias & WithAssociations(AssociationsT &&value)
void SetState(ConnectionAliasState value)
AWS_WORKSPACES_API ConnectionAlias(Aws::Utils::Json::JsonView jsonValue)
ConnectionAlias & WithState(ConnectionAliasState value)
bool AssociationsHasBeenSet() const
ConnectionAlias & WithAliasId(AliasIdT &&value)
AWS_WORKSPACES_API ConnectionAlias()=default
const Aws::String & GetOwnerAccountId() const
AWS_WORKSPACES_API ConnectionAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAliasId() const
ConnectionAlias & AddAssociations(AssociationsT &&value)
const Aws::Vector< ConnectionAliasAssociation > & GetAssociations() const
ConnectionAlias & WithConnectionString(ConnectionStringT &&value)
const Aws::String & GetConnectionString() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetAliasId(AliasIdT &&value)
ConnectionAlias & WithOwnerAccountId(OwnerAccountIdT &&value)
void SetConnectionString(ConnectionStringT &&value)
bool ConnectionStringHasBeenSet() const
bool AliasIdHasBeenSet() const
bool StateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue