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>
74 template<
typename DestinationAddressesT = Aws::Vector<Aws::String>>
75 void SetDestinationAddresses(DestinationAddressesT&& value) { m_destinationAddressesHasBeenSet =
true; m_destinationAddresses = std::forward<DestinationAddressesT>(value); }
76 template<
typename DestinationAddressesT = Aws::Vector<Aws::String>>
78 template<
typename DestinationAddressesT = Aws::String>
89 template<
typename DestinationPortsT = Aws::Vector<
int>>
90 void SetDestinationPorts(DestinationPortsT&& value) { m_destinationPortsHasBeenSet =
true; m_destinationPorts = std::forward<DestinationPortsT>(value); }
91 template<
typename DestinationPortsT = Aws::Vector<
int>>
117 bool m_endpointGroupArnHasBeenSet =
false;
120 bool m_endpointIdHasBeenSet =
false;
123 bool m_destinationAddressesHasBeenSet =
false;
126 bool m_destinationPortsHasBeenSet =
false;
128 bool m_allowAllTrafficToEndpoint{
false};
129 bool m_allowAllTrafficToEndpointHasBeenSet =
false;
void SetDestinationPorts(DestinationPortsT &&value)
AWS_GLOBALACCELERATOR_API AllowCustomRoutingTrafficRequest()=default
bool DestinationPortsHasBeenSet() const
AllowCustomRoutingTrafficRequest & WithDestinationPorts(DestinationPortsT &&value)
const Aws::String & GetEndpointGroupArn() const
void SetAllowAllTrafficToEndpoint(bool value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AllowCustomRoutingTrafficRequest & WithEndpointGroupArn(EndpointGroupArnT &&value)
void SetDestinationAddresses(DestinationAddressesT &&value)
AllowCustomRoutingTrafficRequest & WithEndpointId(EndpointIdT &&value)
const Aws::String & GetEndpointId() const
bool DestinationAddressesHasBeenSet() const
void SetEndpointId(EndpointIdT &&value)
const Aws::Vector< Aws::String > & GetDestinationAddresses() const
bool GetAllowAllTrafficToEndpoint() const
AllowCustomRoutingTrafficRequest & AddDestinationPorts(int value)
virtual const char * GetServiceRequestName() const override
AllowCustomRoutingTrafficRequest & WithDestinationAddresses(DestinationAddressesT &&value)
AllowCustomRoutingTrafficRequest & AddDestinationAddresses(DestinationAddressesT &&value)
const Aws::Vector< int > & GetDestinationPorts() const
void SetEndpointGroupArn(EndpointGroupArnT &&value)
bool EndpointIdHasBeenSet() const
bool EndpointGroupArnHasBeenSet() const
bool AllowAllTrafficToEndpointHasBeenSet() const
AllowCustomRoutingTrafficRequest & WithAllowAllTrafficToEndpoint(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