7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/AssociatedGateway.h>
11#include <aws/directconnect/model/DirectConnectGatewayAssociationProposalState.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
23namespace DirectConnect {
45 template <
typename ProposalIdT = Aws::String>
47 m_proposalIdHasBeenSet =
true;
48 m_proposalId = std::forward<ProposalIdT>(value);
50 template <
typename ProposalIdT = Aws::String>
63 template <
typename DirectConnectGatewayIdT = Aws::String>
65 m_directConnectGatewayIdHasBeenSet =
true;
66 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
68 template <
typename DirectConnectGatewayIdT = Aws::String>
82 template <
typename DirectConnectGatewayOwnerAccountT = Aws::String>
84 m_directConnectGatewayOwnerAccountHasBeenSet =
true;
85 m_directConnectGatewayOwnerAccount = std::forward<DirectConnectGatewayOwnerAccountT>(value);
87 template <
typename DirectConnectGatewayOwnerAccountT = Aws::String>
108 m_proposalStateHasBeenSet =
true;
109 m_proposalState = value;
123 template <
typename AssociatedGatewayT = AssociatedGateway>
125 m_associatedGatewayHasBeenSet =
true;
126 m_associatedGateway = std::forward<AssociatedGatewayT>(value);
128 template <
typename AssociatedGatewayT = AssociatedGateway>
141 return m_existingAllowedPrefixesToDirectConnectGateway;
144 return m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet;
146 template <
typename ExistingAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
148 m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true;
149 m_existingAllowedPrefixesToDirectConnectGateway = std::forward<ExistingAllowedPrefixesToDirectConnectGatewayT>(value);
151 template <
typename ExistingAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
153 ExistingAllowedPrefixesToDirectConnectGatewayT&& value) {
157 template <
typename ExistingAllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
159 ExistingAllowedPrefixesToDirectConnectGatewayT&& value) {
160 m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true;
161 m_existingAllowedPrefixesToDirectConnectGateway.emplace_back(std::forward<ExistingAllowedPrefixesToDirectConnectGatewayT>(value));
171 return m_requestedAllowedPrefixesToDirectConnectGateway;
174 return m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet;
176 template <
typename RequestedAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
178 m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true;
179 m_requestedAllowedPrefixesToDirectConnectGateway = std::forward<RequestedAllowedPrefixesToDirectConnectGatewayT>(value);
181 template <
typename RequestedAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
183 RequestedAllowedPrefixesToDirectConnectGatewayT&& value) {
187 template <
typename RequestedAllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
189 RequestedAllowedPrefixesToDirectConnectGatewayT&& value) {
190 m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true;
191 m_requestedAllowedPrefixesToDirectConnectGateway.emplace_back(std::forward<RequestedAllowedPrefixesToDirectConnectGatewayT>(value));
204 AssociatedGateway m_associatedGateway;
209 bool m_proposalIdHasBeenSet =
false;
210 bool m_directConnectGatewayIdHasBeenSet =
false;
211 bool m_directConnectGatewayOwnerAccountHasBeenSet =
false;
212 bool m_proposalStateHasBeenSet =
false;
213 bool m_associatedGatewayHasBeenSet =
false;
214 bool m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
215 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