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>
57 inline void SetConnectionString(
const char* value) { m_connectionStringHasBeenSet =
true; m_connectionString.assign(value); }
71 inline void SetAliasId(
const char* value) { m_aliasIdHasBeenSet =
true; m_aliasId.assign(value); }
98 inline void SetOwnerAccountId(
const char* value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId.assign(value); }
120 bool m_connectionStringHasBeenSet =
false;
123 bool m_aliasIdHasBeenSet =
false;
126 bool m_stateHasBeenSet =
false;
129 bool m_ownerAccountIdHasBeenSet =
false;
132 bool m_associationsHasBeenSet =
false;
ConnectionAlias & AddAssociations(ConnectionAliasAssociation &&value)
void SetAliasId(const Aws::String &value)
bool OwnerAccountIdHasBeenSet() const
void SetAssociations(Aws::Vector< ConnectionAliasAssociation > &&value)
ConnectionAlias & WithAliasId(const Aws::String &value)
void SetConnectionString(Aws::String &&value)
ConnectionAlias & WithConnectionString(const Aws::String &value)
AWS_WORKSPACES_API ConnectionAlias(Aws::Utils::Json::JsonView jsonValue)
ConnectionAlias & WithAssociations(Aws::Vector< ConnectionAliasAssociation > &&value)
void SetAliasId(Aws::String &&value)
void SetOwnerAccountId(Aws::String &&value)
bool AssociationsHasBeenSet() const
ConnectionAlias & WithOwnerAccountId(const char *value)
void SetConnectionString(const char *value)
void SetState(const ConnectionAliasState &value)
ConnectionAlias & WithAssociations(const Aws::Vector< ConnectionAliasAssociation > &value)
const Aws::String & GetOwnerAccountId() const
const ConnectionAliasState & GetState() const
AWS_WORKSPACES_API ConnectionAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionAlias & WithConnectionString(Aws::String &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAliasId() const
const Aws::Vector< ConnectionAliasAssociation > & GetAssociations() const
ConnectionAlias & WithAliasId(Aws::String &&value)
void SetOwnerAccountId(const Aws::String &value)
void SetAliasId(const char *value)
ConnectionAlias & WithOwnerAccountId(Aws::String &&value)
ConnectionAlias & WithConnectionString(const char *value)
const Aws::String & GetConnectionString() const
void SetOwnerAccountId(const char *value)
void SetAssociations(const Aws::Vector< ConnectionAliasAssociation > &value)
void SetState(ConnectionAliasState &&value)
AWS_WORKSPACES_API ConnectionAlias()
void SetConnectionString(const Aws::String &value)
ConnectionAlias & WithState(const ConnectionAliasState &value)
ConnectionAlias & WithState(ConnectionAliasState &&value)
bool ConnectionStringHasBeenSet() const
ConnectionAlias & WithAliasId(const char *value)
bool AliasIdHasBeenSet() const
ConnectionAlias & AddAssociations(const ConnectionAliasAssociation &value)
bool StateHasBeenSet() const
ConnectionAlias & WithOwnerAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue