7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/DirectConnectGatewayAssociationProposalState.h>
10#include <aws/directconnect/model/AssociatedGateway.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
25namespace DirectConnect
51 template<
typename ProposalIdT = Aws::String>
52 void SetProposalId(ProposalIdT&& value) { m_proposalIdHasBeenSet =
true; m_proposalId = std::forward<ProposalIdT>(value); }
53 template<
typename ProposalIdT = Aws::String>
63 template<
typename DirectConnectGatewayIdT = Aws::String>
64 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
65 template<
typename DirectConnectGatewayIdT = Aws::String>
76 template<
typename DirectConnectGatewayOwnerAccountT = Aws::String>
77 void SetDirectConnectGatewayOwnerAccount(DirectConnectGatewayOwnerAccountT&& value) { m_directConnectGatewayOwnerAccountHasBeenSet =
true; m_directConnectGatewayOwnerAccount = std::forward<DirectConnectGatewayOwnerAccountT>(value); }
78 template<
typename DirectConnectGatewayOwnerAccountT = Aws::String>
105 template<
typename AssociatedGatewayT = AssociatedGateway>
106 void SetAssociatedGateway(AssociatedGatewayT&& value) { m_associatedGatewayHasBeenSet =
true; m_associatedGateway = std::forward<AssociatedGatewayT>(value); }
107 template<
typename AssociatedGatewayT = AssociatedGateway>
118 template<
typename ExistingAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
119 void SetExistingAllowedPrefixesToDirectConnectGateway(ExistingAllowedPrefixesToDirectConnectGatewayT&& value) { m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true; m_existingAllowedPrefixesToDirectConnectGateway = std::forward<ExistingAllowedPrefixesToDirectConnectGatewayT>(value); }
120 template<
typename ExistingAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
122 template<
typename ExistingAllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
132 template<
typename RequestedAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
133 void SetRequestedAllowedPrefixesToDirectConnectGateway(RequestedAllowedPrefixesToDirectConnectGatewayT&& value) { m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true; m_requestedAllowedPrefixesToDirectConnectGateway = std::forward<RequestedAllowedPrefixesToDirectConnectGatewayT>(value); }
134 template<
typename RequestedAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
136 template<
typename RequestedAllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
142 bool m_proposalIdHasBeenSet =
false;
145 bool m_directConnectGatewayIdHasBeenSet =
false;
148 bool m_directConnectGatewayOwnerAccountHasBeenSet =
false;
151 bool m_proposalStateHasBeenSet =
false;
153 AssociatedGateway m_associatedGateway;
154 bool m_associatedGatewayHasBeenSet =
false;
157 bool m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
160 bool m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
bool DirectConnectGatewayIdHasBeenSet() const
bool DirectConnectGatewayOwnerAccountHasBeenSet() const
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
DirectConnectGatewayAssociationProposal & WithRequestedAllowedPrefixesToDirectConnectGateway(RequestedAllowedPrefixesToDirectConnectGatewayT &&value)
void SetRequestedAllowedPrefixesToDirectConnectGateway(RequestedAllowedPrefixesToDirectConnectGatewayT &&value)
const Aws::String & GetDirectConnectGatewayId() const
DirectConnectGatewayAssociationProposalState GetProposalState() const
void SetExistingAllowedPrefixesToDirectConnectGateway(ExistingAllowedPrefixesToDirectConnectGatewayT &&value)
DirectConnectGatewayAssociationProposal & WithExistingAllowedPrefixesToDirectConnectGateway(ExistingAllowedPrefixesToDirectConnectGatewayT &&value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociationProposal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociationProposal(Aws::Utils::Json::JsonView jsonValue)
const AssociatedGateway & GetAssociatedGateway() const
const Aws::String & GetProposalId() const
const Aws::Vector< RouteFilterPrefix > & GetExistingAllowedPrefixesToDirectConnectGateway() const
void SetDirectConnectGatewayOwnerAccount(DirectConnectGatewayOwnerAccountT &&value)
const Aws::String & GetDirectConnectGatewayOwnerAccount() const
void SetProposalId(ProposalIdT &&value)
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
void SetProposalState(DirectConnectGatewayAssociationProposalState value)
DirectConnectGatewayAssociationProposal & WithProposalId(ProposalIdT &&value)
bool ProposalIdHasBeenSet() const
DirectConnectGatewayAssociationProposal & AddRequestedAllowedPrefixesToDirectConnectGateway(RequestedAllowedPrefixesToDirectConnectGatewayT &&value)
DirectConnectGatewayAssociationProposal & WithAssociatedGateway(AssociatedGatewayT &&value)
DirectConnectGatewayAssociationProposal & WithProposalState(DirectConnectGatewayAssociationProposalState value)
const Aws::Vector< RouteFilterPrefix > & GetRequestedAllowedPrefixesToDirectConnectGateway() const
void SetAssociatedGateway(AssociatedGatewayT &&value)
bool ProposalStateHasBeenSet() const
bool AssociatedGatewayHasBeenSet() const
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociationProposal()=default
bool RequestedAllowedPrefixesToDirectConnectGatewayHasBeenSet() const
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayOwnerAccount(DirectConnectGatewayOwnerAccountT &&value)
DirectConnectGatewayAssociationProposal & AddExistingAllowedPrefixesToDirectConnectGateway(ExistingAllowedPrefixesToDirectConnectGatewayT &&value)
bool ExistingAllowedPrefixesToDirectConnectGatewayHasBeenSet() const
DirectConnectGatewayAssociationProposalState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue