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 "UpdateDirectConnectGatewayAssociation"; }
47 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
84 bool m_associationIdHasBeenSet =
false;
87 bool m_addAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
90 bool m_removeAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
void SetAddAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
AWS_DIRECTCONNECT_API UpdateDirectConnectGatewayAssociationRequest()
UpdateDirectConnectGatewayAssociationRequest & AddRemoveAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix &value)
const Aws::Vector< RouteFilterPrefix > & GetAddAllowedPrefixesToDirectConnectGateway() const
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDirectConnectGatewayAssociationRequest & WithRemoveAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
bool RemoveAllowedPrefixesToDirectConnectGatewayHasBeenSet() const
void SetAssociationId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateDirectConnectGatewayAssociationRequest & AddAddAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix &value)
void SetAssociationId(Aws::String &&value)
UpdateDirectConnectGatewayAssociationRequest & AddAddAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix &&value)
UpdateDirectConnectGatewayAssociationRequest & WithAddAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
bool AssociationIdHasBeenSet() const
void SetRemoveAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
UpdateDirectConnectGatewayAssociationRequest & WithAssociationId(const Aws::String &value)
UpdateDirectConnectGatewayAssociationRequest & WithAssociationId(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
const Aws::Vector< RouteFilterPrefix > & GetRemoveAllowedPrefixesToDirectConnectGateway() const
UpdateDirectConnectGatewayAssociationRequest & AddRemoveAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix &&value)
void SetAddAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
UpdateDirectConnectGatewayAssociationRequest & WithAddAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
void SetAssociationId(const Aws::String &value)
UpdateDirectConnectGatewayAssociationRequest & WithRemoveAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
void SetRemoveAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
const Aws::String & GetAssociationId() const
UpdateDirectConnectGatewayAssociationRequest & WithAssociationId(const char *value)
bool AddAllowedPrefixesToDirectConnectGatewayHasBeenSet() const
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