/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the proposal request to attach a virtual private gateway to
* a Direct Connect gateway. See Also:
AWS
* API Reference
The ID of the association proposal.
*/ inline const Aws::String& GetProposalId() const{ return m_proposalId; } /** *The ID of the association proposal.
*/ inline bool ProposalIdHasBeenSet() const { return m_proposalIdHasBeenSet; } /** *The ID of the association proposal.
*/ inline void SetProposalId(const Aws::String& value) { m_proposalIdHasBeenSet = true; m_proposalId = value; } /** *The ID of the association proposal.
*/ inline void SetProposalId(Aws::String&& value) { m_proposalIdHasBeenSet = true; m_proposalId = std::move(value); } /** *The ID of the association proposal.
*/ inline void SetProposalId(const char* value) { m_proposalIdHasBeenSet = true; m_proposalId.assign(value); } /** *The ID of the association proposal.
*/ inline DirectConnectGatewayAssociationProposal& WithProposalId(const Aws::String& value) { SetProposalId(value); return *this;} /** *The ID of the association proposal.
*/ inline DirectConnectGatewayAssociationProposal& WithProposalId(Aws::String&& value) { SetProposalId(std::move(value)); return *this;} /** *The ID of the association proposal.
*/ inline DirectConnectGatewayAssociationProposal& WithProposalId(const char* value) { SetProposalId(value); return *this;} /** *The ID of the Direct Connect gateway.
*/ inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; } /** *The ID of the Direct Connect gateway.
*/ inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; } /** *The ID of the Direct Connect gateway.
*/ inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; } /** *The ID of the Direct Connect gateway.
*/ inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); } /** *The ID of the Direct Connect gateway.
*/ inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); } /** *The ID of the Direct Connect gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithDirectConnectGatewayId(const Aws::String& value) { SetDirectConnectGatewayId(value); return *this;} /** *The ID of the Direct Connect gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithDirectConnectGatewayId(Aws::String&& value) { SetDirectConnectGatewayId(std::move(value)); return *this;} /** *The ID of the Direct Connect gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithDirectConnectGatewayId(const char* value) { SetDirectConnectGatewayId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline const Aws::String& GetDirectConnectGatewayOwnerAccount() const{ return m_directConnectGatewayOwnerAccount; } /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline bool DirectConnectGatewayOwnerAccountHasBeenSet() const { return m_directConnectGatewayOwnerAccountHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline void SetDirectConnectGatewayOwnerAccount(const Aws::String& value) { m_directConnectGatewayOwnerAccountHasBeenSet = true; m_directConnectGatewayOwnerAccount = value; } /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline void SetDirectConnectGatewayOwnerAccount(Aws::String&& value) { m_directConnectGatewayOwnerAccountHasBeenSet = true; m_directConnectGatewayOwnerAccount = std::move(value); } /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline void SetDirectConnectGatewayOwnerAccount(const char* value) { m_directConnectGatewayOwnerAccountHasBeenSet = true; m_directConnectGatewayOwnerAccount.assign(value); } /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithDirectConnectGatewayOwnerAccount(const Aws::String& value) { SetDirectConnectGatewayOwnerAccount(value); return *this;} /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithDirectConnectGatewayOwnerAccount(Aws::String&& value) { SetDirectConnectGatewayOwnerAccount(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the Direct Connect * gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithDirectConnectGatewayOwnerAccount(const char* value) { SetDirectConnectGatewayOwnerAccount(value); return *this;} /** *The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect
* gateway association is available to use in this state.
* deleted
: The proposal has been deleted by the owner that made the
* proposal. The Direct Connect gateway association cannot be used in this
* state.
requested
: The proposal has been
* requested. The Direct Connect gateway association cannot be used in this
* state.
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect
* gateway association is available to use in this state.
* deleted
: The proposal has been deleted by the owner that made the
* proposal. The Direct Connect gateway association cannot be used in this
* state.
requested
: The proposal has been
* requested. The Direct Connect gateway association cannot be used in this
* state.
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect
* gateway association is available to use in this state.
* deleted
: The proposal has been deleted by the owner that made the
* proposal. The Direct Connect gateway association cannot be used in this
* state.
requested
: The proposal has been
* requested. The Direct Connect gateway association cannot be used in this
* state.
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect
* gateway association is available to use in this state.
* deleted
: The proposal has been deleted by the owner that made the
* proposal. The Direct Connect gateway association cannot be used in this
* state.
requested
: The proposal has been
* requested. The Direct Connect gateway association cannot be used in this
* state.
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect
* gateway association is available to use in this state.
* deleted
: The proposal has been deleted by the owner that made the
* proposal. The Direct Connect gateway association cannot be used in this
* state.
requested
: The proposal has been
* requested. The Direct Connect gateway association cannot be used in this
* state.
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect
* gateway association is available to use in this state.
* deleted
: The proposal has been deleted by the owner that made the
* proposal. The Direct Connect gateway association cannot be used in this
* state.
requested
: The proposal has been
* requested. The Direct Connect gateway association cannot be used in this
* state.
Information about the associated gateway.
*/ inline const AssociatedGateway& GetAssociatedGateway() const{ return m_associatedGateway; } /** *Information about the associated gateway.
*/ inline bool AssociatedGatewayHasBeenSet() const { return m_associatedGatewayHasBeenSet; } /** *Information about the associated gateway.
*/ inline void SetAssociatedGateway(const AssociatedGateway& value) { m_associatedGatewayHasBeenSet = true; m_associatedGateway = value; } /** *Information about the associated gateway.
*/ inline void SetAssociatedGateway(AssociatedGateway&& value) { m_associatedGatewayHasBeenSet = true; m_associatedGateway = std::move(value); } /** *Information about the associated gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithAssociatedGateway(const AssociatedGateway& value) { SetAssociatedGateway(value); return *this;} /** *Information about the associated gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithAssociatedGateway(AssociatedGateway&& value) { SetAssociatedGateway(std::move(value)); return *this;} /** *The existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline const Aws::VectorThe existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline bool ExistingAllowedPrefixesToDirectConnectGatewayHasBeenSet() const { return m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet; } /** *The existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline void SetExistingAllowedPrefixesToDirectConnectGateway(const Aws::VectorThe existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline void SetExistingAllowedPrefixesToDirectConnectGateway(Aws::VectorThe existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithExistingAllowedPrefixesToDirectConnectGateway(const Aws::VectorThe existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithExistingAllowedPrefixesToDirectConnectGateway(Aws::VectorThe existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline DirectConnectGatewayAssociationProposal& AddExistingAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix& value) { m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_existingAllowedPrefixesToDirectConnectGateway.push_back(value); return *this; } /** *The existing Amazon VPC prefixes advertised to the Direct Connect * gateway.
*/ inline DirectConnectGatewayAssociationProposal& AddExistingAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix&& value) { m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_existingAllowedPrefixesToDirectConnectGateway.push_back(std::move(value)); return *this; } /** *The Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline const Aws::VectorThe Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline bool RequestedAllowedPrefixesToDirectConnectGatewayHasBeenSet() const { return m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet; } /** *The Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline void SetRequestedAllowedPrefixesToDirectConnectGateway(const Aws::VectorThe Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline void SetRequestedAllowedPrefixesToDirectConnectGateway(Aws::VectorThe Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithRequestedAllowedPrefixesToDirectConnectGateway(const Aws::VectorThe Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline DirectConnectGatewayAssociationProposal& WithRequestedAllowedPrefixesToDirectConnectGateway(Aws::VectorThe Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline DirectConnectGatewayAssociationProposal& AddRequestedAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix& value) { m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_requestedAllowedPrefixesToDirectConnectGateway.push_back(value); return *this; } /** *The Amazon VPC prefixes to advertise to the Direct Connect gateway.
*/ inline DirectConnectGatewayAssociationProposal& AddRequestedAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix&& value) { m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_requestedAllowedPrefixesToDirectConnectGateway.push_back(std::move(value)); return *this; } private: Aws::String m_proposalId; bool m_proposalIdHasBeenSet = false; Aws::String m_directConnectGatewayId; bool m_directConnectGatewayIdHasBeenSet = false; Aws::String m_directConnectGatewayOwnerAccount; bool m_directConnectGatewayOwnerAccountHasBeenSet = false; DirectConnectGatewayAssociationProposalState m_proposalState; bool m_proposalStateHasBeenSet = false; AssociatedGateway m_associatedGateway; bool m_associatedGatewayHasBeenSet = false; Aws::Vector