/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a connection alias. Connection aliases are used for cross-Region
* redirection. For more information, see
* Cross-Region Redirection for Amazon WorkSpaces.See Also:
* AWS
* API Reference
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The connection string specified for the connection alias. The connection
* string must be in the form of a fully qualified domain name (FQDN), such as
* www.example.com
.
The identifier of the connection alias.
*/ inline const Aws::String& GetAliasId() const{ return m_aliasId; } /** *The identifier of the connection alias.
*/ inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; } /** *The identifier of the connection alias.
*/ inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; } /** *The identifier of the connection alias.
*/ inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); } /** *The identifier of the connection alias.
*/ inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); } /** *The identifier of the connection alias.
*/ inline ConnectionAlias& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;} /** *The identifier of the connection alias.
*/ inline ConnectionAlias& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;} /** *The identifier of the connection alias.
*/ inline ConnectionAlias& WithAliasId(const char* value) { SetAliasId(value); return *this;} /** *The current state of the connection alias.
*/ inline const ConnectionAliasState& GetState() const{ return m_state; } /** *The current state of the connection alias.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of the connection alias.
*/ inline void SetState(const ConnectionAliasState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of the connection alias.
*/ inline void SetState(ConnectionAliasState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of the connection alias.
*/ inline ConnectionAlias& WithState(const ConnectionAliasState& value) { SetState(value); return *this;} /** *The current state of the connection alias.
*/ inline ConnectionAlias& WithState(ConnectionAliasState&& value) { SetState(std::move(value)); return *this;} /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; } /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; } /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); } /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); } /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline ConnectionAlias& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline ConnectionAlias& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} /** *The identifier of the Amazon Web Services account that owns the connection * alias.
*/ inline ConnectionAlias& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} /** *The association status of the connection alias.
*/ inline const Aws::VectorThe association status of the connection alias.
*/ inline bool AssociationsHasBeenSet() const { return m_associationsHasBeenSet; } /** *The association status of the connection alias.
*/ inline void SetAssociations(const Aws::VectorThe association status of the connection alias.
*/ inline void SetAssociations(Aws::VectorThe association status of the connection alias.
*/ inline ConnectionAlias& WithAssociations(const Aws::VectorThe association status of the connection alias.
*/ inline ConnectionAlias& WithAssociations(Aws::VectorThe association status of the connection alias.
*/ inline ConnectionAlias& AddAssociations(const ConnectionAliasAssociation& value) { m_associationsHasBeenSet = true; m_associations.push_back(value); return *this; } /** *The association status of the connection alias.
*/ inline ConnectionAlias& AddAssociations(ConnectionAliasAssociation&& value) { m_associationsHasBeenSet = true; m_associations.push_back(std::move(value)); return *this; } private: Aws::String m_connectionString; bool m_connectionStringHasBeenSet = false; Aws::String m_aliasId; bool m_aliasIdHasBeenSet = false; ConnectionAliasState m_state; bool m_stateHasBeenSet = false; Aws::String m_ownerAccountId; bool m_ownerAccountIdHasBeenSet = false; Aws::Vector