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/AssociatedCoreNetwork.h>
11#include <aws/directconnect/model/AssociatedGateway.h>
12#include <aws/directconnect/model/DirectConnectGatewayAssociationState.h>
13#include <aws/directconnect/model/RouteFilterPrefix.h>
24namespace DirectConnect {
46 template <
typename DirectConnectGatewayIdT = Aws::String>
48 m_directConnectGatewayIdHasBeenSet =
true;
49 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
51 template <
typename DirectConnectGatewayIdT = Aws::String>
65 template <
typename DirectConnectGatewayOwnerAccountT = Aws::String>
67 m_directConnectGatewayOwnerAccountHasBeenSet =
true;
68 m_directConnectGatewayOwnerAccount = std::forward<DirectConnectGatewayOwnerAccountT>(value);
70 template <
typename DirectConnectGatewayOwnerAccountT = Aws::String>
96 m_associationStateHasBeenSet =
true;
97 m_associationState = value;
111 template <
typename StateChangeErrorT = Aws::String>
113 m_stateChangeErrorHasBeenSet =
true;
114 m_stateChangeError = std::forward<StateChangeErrorT>(value);
116 template <
typename StateChangeErrorT = Aws::String>
129 template <
typename AssociatedGatewayT = AssociatedGateway>
131 m_associatedGatewayHasBeenSet =
true;
132 m_associatedGateway = std::forward<AssociatedGatewayT>(value);
134 template <
typename AssociatedGatewayT = AssociatedGateway>
147 template <
typename AssociationIdT = Aws::String>
149 m_associationIdHasBeenSet =
true;
150 m_associationId = std::forward<AssociationIdT>(value);
152 template <
typename AssociationIdT = Aws::String>
164 return m_allowedPrefixesToDirectConnectGateway;
167 template <
typename AllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
169 m_allowedPrefixesToDirectConnectGatewayHasBeenSet =
true;
170 m_allowedPrefixesToDirectConnectGateway = std::forward<AllowedPrefixesToDirectConnectGatewayT>(value);
172 template <
typename AllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
177 template <
typename AllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
179 m_allowedPrefixesToDirectConnectGatewayHasBeenSet =
true;
180 m_allowedPrefixesToDirectConnectGateway.emplace_back(std::forward<AllowedPrefixesToDirectConnectGatewayT>(value));
192 template <
typename AssociatedCoreNetworkT = AssociatedCoreNetwork>
194 m_associatedCoreNetworkHasBeenSet =
true;
195 m_associatedCoreNetwork = std::forward<AssociatedCoreNetworkT>(value);
197 template <
typename AssociatedCoreNetworkT = AssociatedCoreNetwork>
211 template <
typename VirtualGatewayIdT = Aws::String>
213 m_virtualGatewayIdHasBeenSet =
true;
214 m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value);
216 template <
typename VirtualGatewayIdT = Aws::String>
230 template <
typename VirtualGatewayRegionT = Aws::String>
232 m_virtualGatewayRegionHasBeenSet =
true;
233 m_virtualGatewayRegion = std::forward<VirtualGatewayRegionT>(value);
235 template <
typename VirtualGatewayRegionT = Aws::String>
249 template <
typename VirtualGatewayOwnerAccountT = Aws::String>
251 m_virtualGatewayOwnerAccountHasBeenSet =
true;
252 m_virtualGatewayOwnerAccount = std::forward<VirtualGatewayOwnerAccountT>(value);
254 template <
typename VirtualGatewayOwnerAccountT = Aws::String>
269 AssociatedGateway m_associatedGateway;
275 AssociatedCoreNetwork m_associatedCoreNetwork;
282 bool m_directConnectGatewayIdHasBeenSet =
false;
283 bool m_directConnectGatewayOwnerAccountHasBeenSet =
false;
284 bool m_associationStateHasBeenSet =
false;
285 bool m_stateChangeErrorHasBeenSet =
false;
286 bool m_associatedGatewayHasBeenSet =
false;
287 bool m_associationIdHasBeenSet =
false;
288 bool m_allowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
289 bool m_associatedCoreNetworkHasBeenSet =
false;
290 bool m_virtualGatewayIdHasBeenSet =
false;
291 bool m_virtualGatewayRegionHasBeenSet =
false;
292 bool m_virtualGatewayOwnerAccountHasBeenSet =
false;
void SetAssociationId(AssociationIdT &&value)
bool VirtualGatewayOwnerAccountHasBeenSet() const
DirectConnectGatewayAssociation & WithAssociatedCoreNetwork(AssociatedCoreNetworkT &&value)
void SetVirtualGatewayId(VirtualGatewayIdT &&value)
bool AssociatedCoreNetworkHasBeenSet() const
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool VirtualGatewayIdHasBeenSet() const
const AssociatedCoreNetwork & GetAssociatedCoreNetwork() const
bool AssociationIdHasBeenSet() const
DirectConnectGatewayAssociation & WithVirtualGatewayRegion(VirtualGatewayRegionT &&value)
DirectConnectGatewayAssociation & AddAllowedPrefixesToDirectConnectGateway(AllowedPrefixesToDirectConnectGatewayT &&value)
const Aws::String & GetVirtualGatewayOwnerAccount() const
bool AllowedPrefixesToDirectConnectGatewayHasBeenSet() const
DirectConnectGatewayAssociation & WithAssociationId(AssociationIdT &&value)
DirectConnectGatewayAssociation & WithStateChangeError(StateChangeErrorT &&value)
const AssociatedGateway & GetAssociatedGateway() const
DirectConnectGatewayAssociationState GetAssociationState() const
DirectConnectGatewayAssociation & WithAllowedPrefixesToDirectConnectGateway(AllowedPrefixesToDirectConnectGatewayT &&value)
const Aws::String & GetVirtualGatewayRegion() const
const Aws::String & GetDirectConnectGatewayOwnerAccount() const
bool StateChangeErrorHasBeenSet() const
void SetAssociatedCoreNetwork(AssociatedCoreNetworkT &&value)
void SetVirtualGatewayOwnerAccount(VirtualGatewayOwnerAccountT &&value)
bool DirectConnectGatewayOwnerAccountHasBeenSet() const
DirectConnectGatewayAssociation & WithDirectConnectGatewayOwnerAccount(DirectConnectGatewayOwnerAccountT &&value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociation()=default
bool AssociatedGatewayHasBeenSet() const
const Aws::String & GetAssociationId() const
DirectConnectGatewayAssociation & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
void SetDirectConnectGatewayOwnerAccount(DirectConnectGatewayOwnerAccountT &&value)
const Aws::String & GetDirectConnectGatewayId() const
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociationState(DirectConnectGatewayAssociationState value)
const Aws::String & GetVirtualGatewayId() const
DirectConnectGatewayAssociation & WithVirtualGatewayOwnerAccount(VirtualGatewayOwnerAccountT &&value)
const Aws::Vector< RouteFilterPrefix > & GetAllowedPrefixesToDirectConnectGateway() const
void SetAssociatedGateway(AssociatedGatewayT &&value)
bool DirectConnectGatewayIdHasBeenSet() const
bool AssociationStateHasBeenSet() const
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualGatewayRegion(VirtualGatewayRegionT &&value)
bool VirtualGatewayRegionHasBeenSet() const
DirectConnectGatewayAssociation & WithVirtualGatewayId(VirtualGatewayIdT &&value)
void SetStateChangeError(StateChangeErrorT &&value)
const Aws::String & GetStateChangeError() const
void SetAllowedPrefixesToDirectConnectGateway(AllowedPrefixesToDirectConnectGatewayT &&value)
DirectConnectGatewayAssociation & WithAssociatedGateway(AssociatedGatewayT &&value)
DirectConnectGatewayAssociation & WithAssociationState(DirectConnectGatewayAssociationState value)
DirectConnectGatewayAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue