/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a CreateOutboundConnection
request. Contains
* details about the newly created cross-cluster connection.See
* Also:
AWS
* API Reference
Information about the source (local) domain.
*/ inline const DomainInformationContainer& GetLocalDomainInfo() const{ return m_localDomainInfo; } /** *Information about the source (local) domain.
*/ inline void SetLocalDomainInfo(const DomainInformationContainer& value) { m_localDomainInfo = value; } /** *Information about the source (local) domain.
*/ inline void SetLocalDomainInfo(DomainInformationContainer&& value) { m_localDomainInfo = std::move(value); } /** *Information about the source (local) domain.
*/ inline CreateOutboundConnectionResult& WithLocalDomainInfo(const DomainInformationContainer& value) { SetLocalDomainInfo(value); return *this;} /** *Information about the source (local) domain.
*/ inline CreateOutboundConnectionResult& WithLocalDomainInfo(DomainInformationContainer&& value) { SetLocalDomainInfo(std::move(value)); return *this;} /** *Information about the destination (remote) domain.
*/ inline const DomainInformationContainer& GetRemoteDomainInfo() const{ return m_remoteDomainInfo; } /** *Information about the destination (remote) domain.
*/ inline void SetRemoteDomainInfo(const DomainInformationContainer& value) { m_remoteDomainInfo = value; } /** *Information about the destination (remote) domain.
*/ inline void SetRemoteDomainInfo(DomainInformationContainer&& value) { m_remoteDomainInfo = std::move(value); } /** *Information about the destination (remote) domain.
*/ inline CreateOutboundConnectionResult& WithRemoteDomainInfo(const DomainInformationContainer& value) { SetRemoteDomainInfo(value); return *this;} /** *Information about the destination (remote) domain.
*/ inline CreateOutboundConnectionResult& WithRemoteDomainInfo(DomainInformationContainer&& value) { SetRemoteDomainInfo(std::move(value)); return *this;} /** *Name of the connection.
*/ inline const Aws::String& GetConnectionAlias() const{ return m_connectionAlias; } /** *Name of the connection.
*/ inline void SetConnectionAlias(const Aws::String& value) { m_connectionAlias = value; } /** *Name of the connection.
*/ inline void SetConnectionAlias(Aws::String&& value) { m_connectionAlias = std::move(value); } /** *Name of the connection.
*/ inline void SetConnectionAlias(const char* value) { m_connectionAlias.assign(value); } /** *Name of the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionAlias(const Aws::String& value) { SetConnectionAlias(value); return *this;} /** *Name of the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionAlias(Aws::String&& value) { SetConnectionAlias(std::move(value)); return *this;} /** *Name of the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionAlias(const char* value) { SetConnectionAlias(value); return *this;} /** *The status of the connection.
*/ inline const OutboundConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; } /** *The status of the connection.
*/ inline void SetConnectionStatus(const OutboundConnectionStatus& value) { m_connectionStatus = value; } /** *The status of the connection.
*/ inline void SetConnectionStatus(OutboundConnectionStatus&& value) { m_connectionStatus = std::move(value); } /** *The status of the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionStatus(const OutboundConnectionStatus& value) { SetConnectionStatus(value); return *this;} /** *The status of the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionStatus(OutboundConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;} /** *The unique identifier for the created outbound connection, which is used for * subsequent operations on the connection.
*/ inline const Aws::String& GetConnectionId() const{ return m_connectionId; } /** *The unique identifier for the created outbound connection, which is used for * subsequent operations on the connection.
*/ inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } /** *The unique identifier for the created outbound connection, which is used for * subsequent operations on the connection.
*/ inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } /** *The unique identifier for the created outbound connection, which is used for * subsequent operations on the connection.
*/ inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } /** *The unique identifier for the created outbound connection, which is used for * subsequent operations on the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} /** *The unique identifier for the created outbound connection, which is used for * subsequent operations on the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} /** *The unique identifier for the created outbound connection, which is used for * subsequent operations on the connection.
*/ inline CreateOutboundConnectionResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} /** *The connection mode.
*/ inline const ConnectionMode& GetConnectionMode() const{ return m_connectionMode; } /** *The connection mode.
*/ inline void SetConnectionMode(const ConnectionMode& value) { m_connectionMode = value; } /** *The connection mode.
*/ inline void SetConnectionMode(ConnectionMode&& value) { m_connectionMode = std::move(value); } /** *The connection mode.
*/ inline CreateOutboundConnectionResult& WithConnectionMode(const ConnectionMode& value) { SetConnectionMode(value); return *this;} /** *The connection mode.
*/ inline CreateOutboundConnectionResult& WithConnectionMode(ConnectionMode&& value) { SetConnectionMode(std::move(value)); return *this;} /** *The ConnectionProperties
for the newly created connection.
The ConnectionProperties
for the newly created connection.
The ConnectionProperties
for the newly created connection.
The ConnectionProperties
for the newly created connection.
The ConnectionProperties
for the newly created connection.