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/RouteFilterPrefix.h>
25namespace DirectConnect
53 inline void SetDirectConnectGatewayId(
const char* value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId.assign(value); }
106 inline void SetStateChangeError(
const char* value) { m_stateChangeErrorHasBeenSet =
true; m_stateChangeError.assign(value); }
132 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
161 inline void SetVirtualGatewayId(
const char* value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId.assign(value); }
176 inline void SetVirtualGatewayRegion(
const char* value) { m_virtualGatewayRegionHasBeenSet =
true; m_virtualGatewayRegion.assign(value); }
199 bool m_directConnectGatewayIdHasBeenSet =
false;
202 bool m_directConnectGatewayOwnerAccountHasBeenSet =
false;
205 bool m_associationStateHasBeenSet =
false;
208 bool m_stateChangeErrorHasBeenSet =
false;
211 bool m_associatedGatewayHasBeenSet =
false;
214 bool m_associationIdHasBeenSet =
false;
217 bool m_allowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
220 bool m_virtualGatewayIdHasBeenSet =
false;
223 bool m_virtualGatewayRegionHasBeenSet =
false;
226 bool m_virtualGatewayOwnerAccountHasBeenSet =
false;
DirectConnectGatewayAssociation & WithAssociationId(const char *value)
void SetAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
DirectConnectGatewayAssociation & WithAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
DirectConnectGatewayAssociation & WithDirectConnectGatewayOwnerAccount(Aws::String &&value)
DirectConnectGatewayAssociation & WithVirtualGatewayId(const Aws::String &value)
DirectConnectGatewayAssociation & WithDirectConnectGatewayId(Aws::String &&value)
bool VirtualGatewayOwnerAccountHasBeenSet() const
void SetAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
void SetAssociatedGateway(AssociatedGateway &&value)
void SetVirtualGatewayRegion(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DirectConnectGatewayAssociation & WithAssociationState(const DirectConnectGatewayAssociationState &value)
bool VirtualGatewayIdHasBeenSet() const
DirectConnectGatewayAssociation & WithStateChangeError(const char *value)
void SetVirtualGatewayOwnerAccount(const char *value)
DirectConnectGatewayAssociation & WithVirtualGatewayOwnerAccount(Aws::String &&value)
DirectConnectGatewayAssociation & WithAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
DirectConnectGatewayAssociation & WithDirectConnectGatewayOwnerAccount(const char *value)
void SetDirectConnectGatewayOwnerAccount(Aws::String &&value)
DirectConnectGatewayAssociation & WithAssociatedGateway(AssociatedGateway &&value)
DirectConnectGatewayAssociation & WithVirtualGatewayId(const char *value)
void SetDirectConnectGatewayOwnerAccount(const Aws::String &value)
DirectConnectGatewayAssociation & WithVirtualGatewayOwnerAccount(const Aws::String &value)
DirectConnectGatewayAssociation & WithStateChangeError(Aws::String &&value)
bool AssociationIdHasBeenSet() const
void SetAssociationId(Aws::String &&value)
const DirectConnectGatewayAssociationState & GetAssociationState() const
const Aws::String & GetVirtualGatewayOwnerAccount() const
void SetStateChangeError(const Aws::String &value)
bool AllowedPrefixesToDirectConnectGatewayHasBeenSet() const
const AssociatedGateway & GetAssociatedGateway() const
DirectConnectGatewayAssociation & WithAssociationState(DirectConnectGatewayAssociationState &&value)
void SetDirectConnectGatewayId(const char *value)
const Aws::String & GetVirtualGatewayRegion() const
const Aws::String & GetDirectConnectGatewayOwnerAccount() const
DirectConnectGatewayAssociation & WithStateChangeError(const Aws::String &value)
bool StateChangeErrorHasBeenSet() const
DirectConnectGatewayAssociation & AddAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix &value)
DirectConnectGatewayAssociation & AddAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix &&value)
void SetVirtualGatewayOwnerAccount(const Aws::String &value)
void SetStateChangeError(const char *value)
DirectConnectGatewayAssociation & WithAssociationId(const Aws::String &value)
void SetDirectConnectGatewayOwnerAccount(const char *value)
DirectConnectGatewayAssociation & WithDirectConnectGatewayId(const char *value)
bool DirectConnectGatewayOwnerAccountHasBeenSet() const
DirectConnectGatewayAssociation & WithDirectConnectGatewayOwnerAccount(const Aws::String &value)
bool AssociatedGatewayHasBeenSet() const
void SetVirtualGatewayId(const char *value)
const Aws::String & GetAssociationId() const
DirectConnectGatewayAssociation & WithVirtualGatewayOwnerAccount(const char *value)
const Aws::String & GetDirectConnectGatewayId() const
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociationId(const char *value)
const Aws::String & GetVirtualGatewayId() const
void SetVirtualGatewayId(const Aws::String &value)
const Aws::Vector< RouteFilterPrefix > & GetAllowedPrefixesToDirectConnectGateway() const
DirectConnectGatewayAssociation & WithAssociationId(Aws::String &&value)
DirectConnectGatewayAssociation & WithVirtualGatewayRegion(const Aws::String &value)
void SetVirtualGatewayRegion(const char *value)
bool DirectConnectGatewayIdHasBeenSet() const
void SetVirtualGatewayRegion(Aws::String &&value)
bool AssociationStateHasBeenSet() const
void SetStateChangeError(Aws::String &&value)
DirectConnectGatewayAssociation & WithVirtualGatewayRegion(const char *value)
DirectConnectGatewayAssociation & WithVirtualGatewayRegion(Aws::String &&value)
DirectConnectGatewayAssociation & WithVirtualGatewayId(Aws::String &&value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetDirectConnectGatewayId(const Aws::String &value)
void SetDirectConnectGatewayId(Aws::String &&value)
bool VirtualGatewayRegionHasBeenSet() const
void SetAssociatedGateway(const AssociatedGateway &value)
void SetVirtualGatewayId(Aws::String &&value)
DirectConnectGatewayAssociation & WithAssociatedGateway(const AssociatedGateway &value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociation()
void SetAssociationState(DirectConnectGatewayAssociationState &&value)
const Aws::String & GetStateChangeError() const
void SetVirtualGatewayOwnerAccount(Aws::String &&value)
DirectConnectGatewayAssociation & WithDirectConnectGatewayId(const Aws::String &value)
void SetAssociationId(const Aws::String &value)
void SetAssociationState(const 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