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"; }
45 template<
typename AssociationIdT = Aws::String>
46 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
47 template<
typename AssociationIdT = Aws::String>
57 template<
typename AddAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
58 void SetAddAllowedPrefixesToDirectConnectGateway(AddAllowedPrefixesToDirectConnectGatewayT&& value) { m_addAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true; m_addAllowedPrefixesToDirectConnectGateway = std::forward<AddAllowedPrefixesToDirectConnectGatewayT>(value); }
59 template<
typename AddAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
61 template<
typename AddAllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
72 template<
typename RemoveAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
73 void SetRemoveAllowedPrefixesToDirectConnectGateway(RemoveAllowedPrefixesToDirectConnectGatewayT&& value) { m_removeAllowedPrefixesToDirectConnectGatewayHasBeenSet =
true; m_removeAllowedPrefixesToDirectConnectGateway = std::forward<RemoveAllowedPrefixesToDirectConnectGatewayT>(value); }
74 template<
typename RemoveAllowedPrefixesToDirectConnectGatewayT = Aws::Vector<RouteFilterPrefix>>
76 template<
typename RemoveAllowedPrefixesToDirectConnectGatewayT = RouteFilterPrefix>
82 bool m_associationIdHasBeenSet =
false;
85 bool m_addAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
88 bool m_removeAllowedPrefixesToDirectConnectGatewayHasBeenSet =
false;
void SetAddAllowedPrefixesToDirectConnectGateway(AddAllowedPrefixesToDirectConnectGatewayT &&value)
AWS_DIRECTCONNECT_API UpdateDirectConnectGatewayAssociationRequest()=default
const Aws::Vector< RouteFilterPrefix > & GetAddAllowedPrefixesToDirectConnectGateway() const
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDirectConnectGatewayAssociationRequest & WithRemoveAllowedPrefixesToDirectConnectGateway(RemoveAllowedPrefixesToDirectConnectGatewayT &&value)
bool RemoveAllowedPrefixesToDirectConnectGatewayHasBeenSet() const
UpdateDirectConnectGatewayAssociationRequest & WithAssociationId(AssociationIdT &&value)
virtual const char * GetServiceRequestName() const override
bool AssociationIdHasBeenSet() const
void SetAssociationId(AssociationIdT &&value)
UpdateDirectConnectGatewayAssociationRequest & WithAddAllowedPrefixesToDirectConnectGateway(AddAllowedPrefixesToDirectConnectGatewayT &&value)
UpdateDirectConnectGatewayAssociationRequest & AddAddAllowedPrefixesToDirectConnectGateway(AddAllowedPrefixesToDirectConnectGatewayT &&value)
UpdateDirectConnectGatewayAssociationRequest & AddRemoveAllowedPrefixesToDirectConnectGateway(RemoveAllowedPrefixesToDirectConnectGatewayT &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
const Aws::Vector< RouteFilterPrefix > & GetRemoveAllowedPrefixesToDirectConnectGateway() const
void SetRemoveAllowedPrefixesToDirectConnectGateway(RemoveAllowedPrefixesToDirectConnectGatewayT &&value)
const Aws::String & GetAssociationId() const
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