7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/model/RouteFilterPrefix.h>
16namespace DirectConnect
32 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateDirectConnectGatewayAssociation"; }
47 inline void SetDirectConnectGatewayId(
const char* value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId.assign(value); }
61 inline void SetGatewayId(
const char* value) { m_gatewayIdHasBeenSet =
true; m_gatewayId.assign(value); }
93 inline void SetVirtualGatewayId(
const char* value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId.assign(value); }
101 bool m_directConnectGatewayIdHasBeenSet =
false;
104 bool m_gatewayIdHasBeenSet =
false;
107 bool m_addAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
110 bool m_virtualGatewayIdHasBeenSet =
false;
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDirectConnectGatewayId() const
virtual const char * GetServiceRequestName() const override
CreateDirectConnectGatewayAssociationRequest & WithVirtualGatewayId(const char *value)
void SetVirtualGatewayId(Aws::String &&value)
CreateDirectConnectGatewayAssociationRequest & WithDirectConnectGatewayId(const Aws::String &value)
const Aws::String & GetVirtualGatewayId() const
CreateDirectConnectGatewayAssociationRequest & AddAddAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix &value)
CreateDirectConnectGatewayAssociationRequest & WithDirectConnectGatewayId(Aws::String &&value)
CreateDirectConnectGatewayAssociationRequest & AddAddAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix &&value)
void SetAddAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
void SetVirtualGatewayId(const char *value)
void SetDirectConnectGatewayId(Aws::String &&value)
void SetGatewayId(const Aws::String &value)
AWS_DIRECTCONNECT_API CreateDirectConnectGatewayAssociationRequest()
bool VirtualGatewayIdHasBeenSet() const
CreateDirectConnectGatewayAssociationRequest & WithDirectConnectGatewayId(const char *value)
const Aws::Vector< RouteFilterPrefix > & GetAddAllowedPrefixesToDirectConnectGateway() const
CreateDirectConnectGatewayAssociationRequest & WithVirtualGatewayId(const Aws::String &value)
CreateDirectConnectGatewayAssociationRequest & WithGatewayId(const Aws::String &value)
CreateDirectConnectGatewayAssociationRequest & WithGatewayId(const char *value)
void SetDirectConnectGatewayId(const Aws::String &value)
CreateDirectConnectGatewayAssociationRequest & WithAddAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
CreateDirectConnectGatewayAssociationRequest & WithGatewayId(Aws::String &&value)
bool DirectConnectGatewayIdHasBeenSet() const
bool AddAllowedPrefixesToDirectConnectGatewayHasBeenSet() const
void SetGatewayId(Aws::String &&value)
void SetGatewayId(const char *value)
bool GatewayIdHasBeenSet() const
CreateDirectConnectGatewayAssociationRequest & WithVirtualGatewayId(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
CreateDirectConnectGatewayAssociationRequest & WithAddAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
void SetAddAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
void SetDirectConnectGatewayId(const char *value)
const Aws::String & GetGatewayId() const
void SetVirtualGatewayId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector