7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/DirectConnectGatewayAssociationState.h>
10#include <aws/directconnect/model/AssociatedGateway.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/directconnect/model/AssociatedCoreNetwork.h>
13#include <aws/directconnect/model/RouteFilterPrefix.h>
26namespace DirectConnect
52 template<
typename DirectConnectGatewayIdT = Aws::String>
53 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
54 template<
typename DirectConnectGatewayIdT = Aws::String>
65 template<
typename DirectConnectGatewayOwnerAccountT = Aws::String>
66 void SetDirectConnectGatewayOwnerAccount(DirectConnectGatewayOwnerAccountT&& value) { m_directConnectGatewayOwnerAccountHasBeenSet =
true; m_directConnectGatewayOwnerAccount = std::forward<DirectConnectGatewayOwnerAccountT>(value); }
67 template<
typename DirectConnectGatewayOwnerAccountT = Aws::String>
99 template<
typename StateChangeErrorT = Aws::String>
100 void SetStateChangeError(StateChangeErrorT&& value) { m_stateChangeErrorHasBeenSet =
true; m_stateChangeError = std::forward<StateChangeErrorT>(value); }
101 template<
typename StateChangeErrorT = Aws::String>
111 template<
typename AssociatedGatewayT = AssociatedGateway>
112 void SetAssociatedGateway(AssociatedGatewayT&& value) { m_associatedGatewayHasBeenSet =
true; m_associatedGateway = std::forward<AssociatedGatewayT>(value); }
113 template<
typename AssociatedGatewayT = AssociatedGateway>
123 template<
typename AssociationIdT = Aws::String>
124 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
125 template<
typename AssociationIdT = Aws::String>
135 template<
typename AllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
136 void SetAllowedPrefixesToDirectConnectGateway(AllowedPrefixesToDirectConnectGatewayT&& value) { m_allowedPrefixesToDirectConnectGatewayHasBeenSet =
true; m_allowedPrefixesToDirectConnectGateway = std::forward<AllowedPrefixesToDirectConnectGatewayT>(value); }
137 template<
typename AllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
139 template<
typename AllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
150 template<
typename AssociatedCoreNetworkT = AssociatedCoreNetwork>
151 void SetAssociatedCoreNetwork(AssociatedCoreNetworkT&& value) { m_associatedCoreNetworkHasBeenSet =
true; m_associatedCoreNetwork = std::forward<AssociatedCoreNetworkT>(value); }
152 template<
typename AssociatedCoreNetworkT = AssociatedCoreNetwork>
163 template<
typename VirtualGatewayIdT = Aws::String>
164 void SetVirtualGatewayId(VirtualGatewayIdT&& value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value); }
165 template<
typename VirtualGatewayIdT = Aws::String>
176 template<
typename VirtualGatewayRegionT = Aws::String>
177 void SetVirtualGatewayRegion(VirtualGatewayRegionT&& value) { m_virtualGatewayRegionHasBeenSet =
true; m_virtualGatewayRegion = std::forward<VirtualGatewayRegionT>(value); }
178 template<
typename VirtualGatewayRegionT = Aws::String>
189 template<
typename VirtualGatewayOwnerAccountT = Aws::String>
190 void SetVirtualGatewayOwnerAccount(VirtualGatewayOwnerAccountT&& value) { m_virtualGatewayOwnerAccountHasBeenSet =
true; m_virtualGatewayOwnerAccount = std::forward<VirtualGatewayOwnerAccountT>(value); }
191 template<
typename VirtualGatewayOwnerAccountT = Aws::String>
197 bool m_directConnectGatewayIdHasBeenSet =
false;
200 bool m_directConnectGatewayOwnerAccountHasBeenSet =
false;
203 bool m_associationStateHasBeenSet =
false;
206 bool m_stateChangeErrorHasBeenSet =
false;
208 AssociatedGateway m_associatedGateway;
209 bool m_associatedGatewayHasBeenSet =
false;
212 bool m_associationIdHasBeenSet =
false;
215 bool m_allowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
217 AssociatedCoreNetwork m_associatedCoreNetwork;
218 bool m_associatedCoreNetworkHasBeenSet =
false;
221 bool m_virtualGatewayIdHasBeenSet =
false;
224 bool m_virtualGatewayRegionHasBeenSet =
false;
227 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