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>
11#include <aws/globalaccelerator/model/HealthCheckProtocol.h>
12#include <aws/globalaccelerator/model/EndpointConfiguration.h>
13#include <aws/globalaccelerator/model/PortOverride.h>
15#include <aws/core/utils/UUID.h>
19namespace GlobalAccelerator
48 template<
typename ListenerArnT = Aws::String>
49 void SetListenerArn(ListenerArnT&& value) { m_listenerArnHasBeenSet =
true; m_listenerArn = std::forward<ListenerArnT>(value); }
50 template<
typename ListenerArnT = Aws::String>
61 template<
typename Endpo
intGroupRegionT = Aws::String>
62 void SetEndpointGroupRegion(EndpointGroupRegionT&& value) { m_endpointGroupRegionHasBeenSet =
true; m_endpointGroupRegion = std::forward<EndpointGroupRegionT>(value); }
63 template<
typename Endpo
intGroupRegionT = Aws::String>
73 template<
typename Endpo
intConfigurationsT = Aws::Vector<Endpo
intConfiguration>>
74 void SetEndpointConfigurations(EndpointConfigurationsT&& value) { m_endpointConfigurationsHasBeenSet =
true; m_endpointConfigurations = std::forward<EndpointConfigurationsT>(value); }
75 template<
typename Endpo
intConfigurationsT = Aws::Vector<Endpo
intConfiguration>>
77 template<
typename Endpo
intConfigurationsT = Endpo
intConfiguration>
92 inline void SetTrafficDialPercentage(
double value) { m_trafficDialPercentageHasBeenSet =
true; m_trafficDialPercentage = value; }
105 inline void SetHealthCheckPort(
int value) { m_healthCheckPortHasBeenSet =
true; m_healthCheckPort = value; }
127 template<
typename HealthCheckPathT = Aws::String>
128 void SetHealthCheckPath(HealthCheckPathT&& value) { m_healthCheckPathHasBeenSet =
true; m_healthCheckPath = std::forward<HealthCheckPathT>(value); }
129 template<
typename HealthCheckPathT = Aws::String>
152 inline void SetThresholdCount(
int value) { m_thresholdCountHasBeenSet =
true; m_thresholdCount = value; }
163 template<
typename IdempotencyTokenT = Aws::String>
164 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
165 template<
typename IdempotencyTokenT = Aws::String>
182 template<
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
183 void SetPortOverrides(PortOverridesT&& value) { m_portOverridesHasBeenSet =
true; m_portOverrides = std::forward<PortOverridesT>(value); }
184 template<
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
186 template<
typename PortOverr
idesT = PortOverr
ide>
192 bool m_listenerArnHasBeenSet =
false;
195 bool m_endpointGroupRegionHasBeenSet =
false;
198 bool m_endpointConfigurationsHasBeenSet =
false;
200 double m_trafficDialPercentage{0.0};
201 bool m_trafficDialPercentageHasBeenSet =
false;
203 int m_healthCheckPort{0};
204 bool m_healthCheckPortHasBeenSet =
false;
207 bool m_healthCheckProtocolHasBeenSet =
false;
210 bool m_healthCheckPathHasBeenSet =
false;
212 int m_healthCheckIntervalSeconds{0};
213 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
215 int m_thresholdCount{0};
216 bool m_thresholdCountHasBeenSet =
false;
219 bool m_idempotencyTokenHasBeenSet =
true;
222 bool m_portOverridesHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::String & GetEndpointGroupRegion() const
void SetHealthCheckIntervalSeconds(int value)
CreateEndpointGroupRequest & WithTrafficDialPercentage(double value)
AWS_GLOBALACCELERATOR_API CreateEndpointGroupRequest()=default
bool EndpointConfigurationsHasBeenSet() const
const Aws::String & GetIdempotencyToken() const
bool EndpointGroupRegionHasBeenSet() const
CreateEndpointGroupRequest & WithListenerArn(ListenerArnT &&value)
double GetTrafficDialPercentage() const
void SetThresholdCount(int value)
bool PortOverridesHasBeenSet() const
CreateEndpointGroupRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
int GetHealthCheckPort() const
void SetHealthCheckPort(int value)
const Aws::Vector< PortOverride > & GetPortOverrides() const
CreateEndpointGroupRequest & WithThresholdCount(int value)
HealthCheckProtocol GetHealthCheckProtocol() const
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEndpointGroupRequest & AddPortOverrides(PortOverridesT &&value)
const Aws::String & GetListenerArn() const
const Aws::String & GetHealthCheckPath() const
CreateEndpointGroupRequest & WithHealthCheckProtocol(HealthCheckProtocol value)
const Aws::Vector< EndpointConfiguration > & GetEndpointConfigurations() const
bool ThresholdCountHasBeenSet() const
CreateEndpointGroupRequest & WithHealthCheckPort(int value)
void SetHealthCheckProtocol(HealthCheckProtocol value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
void SetTrafficDialPercentage(double value)
CreateEndpointGroupRequest & AddEndpointConfigurations(EndpointConfigurationsT &&value)
bool TrafficDialPercentageHasBeenSet() const
CreateEndpointGroupRequest & WithHealthCheckIntervalSeconds(int value)
bool HealthCheckProtocolHasBeenSet() const
void SetListenerArn(ListenerArnT &&value)
bool HealthCheckIntervalSecondsHasBeenSet() const
bool ListenerArnHasBeenSet() const
bool IdempotencyTokenHasBeenSet() const
int GetHealthCheckIntervalSeconds() const
CreateEndpointGroupRequest & WithPortOverrides(PortOverridesT &&value)
void SetIdempotencyToken(IdempotencyTokenT &&value)
CreateEndpointGroupRequest & WithEndpointConfigurations(EndpointConfigurationsT &&value)
int GetThresholdCount() const
bool HealthCheckPortHasBeenSet() const
void SetEndpointConfigurations(EndpointConfigurationsT &&value)
CreateEndpointGroupRequest & WithEndpointGroupRegion(EndpointGroupRegionT &&value)
void SetHealthCheckPath(HealthCheckPathT &&value)
void SetPortOverrides(PortOverridesT &&value)
bool HealthCheckPathHasBeenSet() const
void SetEndpointGroupRegion(EndpointGroupRegionT &&value)
CreateEndpointGroupRequest & WithHealthCheckPath(HealthCheckPathT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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