7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15namespace GlobalAccelerator
44 template<
typename Endpo
intGroupArnT = Aws::String>
45 void SetEndpointGroupArn(EndpointGroupArnT&& value) { m_endpointGroupArnHasBeenSet =
true; m_endpointGroupArn = std::forward<EndpointGroupArnT>(value); }
46 template<
typename Endpo
intGroupArnT = Aws::String>
57 template<
typename Endpo
intIdT = Aws::String>
58 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet =
true; m_endpointId = std::forward<EndpointIdT>(value); }
59 template<
typename Endpo
intIdT = Aws::String>
72 template<
typename DestinationAddressesT = Aws::Vector<Aws::String>>
73 void SetDestinationAddresses(DestinationAddressesT&& value) { m_destinationAddressesHasBeenSet =
true; m_destinationAddresses = std::forward<DestinationAddressesT>(value); }
74 template<
typename DestinationAddressesT = Aws::Vector<Aws::String>>
76 template<
typename DestinationAddressesT = Aws::String>
87 template<
typename DestinationPortsT = Aws::Vector<
int>>
88 void SetDestinationPorts(DestinationPortsT&& value) { m_destinationPortsHasBeenSet =
true; m_destinationPorts = std::forward<DestinationPortsT>(value); }
89 template<
typename DestinationPortsT = Aws::Vector<
int>>
115 bool m_endpointGroupArnHasBeenSet =
false;
118 bool m_endpointIdHasBeenSet =
false;
121 bool m_destinationAddressesHasBeenSet =
false;
124 bool m_destinationPortsHasBeenSet =
false;
126 bool m_denyAllTrafficToEndpoint{
false};
127 bool m_denyAllTrafficToEndpointHasBeenSet =
false;
bool GetDenyAllTrafficToEndpoint() const
DenyCustomRoutingTrafficRequest & WithDestinationPorts(DestinationPortsT &&value)
const Aws::Vector< Aws::String > & GetDestinationAddresses() const
void SetDestinationAddresses(DestinationAddressesT &&value)
bool DestinationAddressesHasBeenSet() const
const Aws::String & GetEndpointId() const
bool EndpointIdHasBeenSet() const
bool DestinationPortsHasBeenSet() const
const Aws::Vector< int > & GetDestinationPorts() const
const Aws::String & GetEndpointGroupArn() const
DenyCustomRoutingTrafficRequest & AddDestinationPorts(int value)
AWS_GLOBALACCELERATOR_API DenyCustomRoutingTrafficRequest()=default
bool EndpointGroupArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool DenyAllTrafficToEndpointHasBeenSet() const
void SetEndpointGroupArn(EndpointGroupArnT &&value)
DenyCustomRoutingTrafficRequest & AddDestinationAddresses(DestinationAddressesT &&value)
void SetDestinationPorts(DestinationPortsT &&value)
DenyCustomRoutingTrafficRequest & WithDestinationAddresses(DestinationAddressesT &&value)
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDenyAllTrafficToEndpoint(bool value)
DenyCustomRoutingTrafficRequest & WithEndpointGroupArn(EndpointGroupArnT &&value)
void SetEndpointId(EndpointIdT &&value)
DenyCustomRoutingTrafficRequest & WithEndpointId(EndpointIdT &&value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
DenyCustomRoutingTrafficRequest & WithDenyAllTrafficToEndpoint(bool 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