7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
11#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
12#include <aws/globalaccelerator/model/EndpointConfiguration.h>
13#include <aws/globalaccelerator/model/HealthCheckProtocol.h>
14#include <aws/globalaccelerator/model/PortOverride.h>
19namespace GlobalAccelerator {
44 template <
typename ListenerArnT = Aws::String>
46 m_listenerArnHasBeenSet =
true;
47 m_listenerArn = std::forward<ListenerArnT>(value);
49 template <
typename ListenerArnT = Aws::String>
63 template <
typename Endpo
intGroupRegionT = Aws::String>
65 m_endpointGroupRegionHasBeenSet =
true;
66 m_endpointGroupRegion = std::forward<EndpointGroupRegionT>(value);
68 template <
typename Endpo
intGroupRegionT = Aws::String>
81 template <
typename Endpo
intConfigurationsT = Aws::Vector<Endpo
intConfiguration>>
83 m_endpointConfigurationsHasBeenSet =
true;
84 m_endpointConfigurations = std::forward<EndpointConfigurationsT>(value);
86 template <
typename Endpo
intConfigurationsT = Aws::Vector<Endpo
intConfiguration>>
91 template <
typename Endpo
intConfigurationsT = Endpo
intConfiguration>
93 m_endpointConfigurationsHasBeenSet =
true;
94 m_endpointConfigurations.emplace_back(std::forward<EndpointConfigurationsT>(value));
111 m_trafficDialPercentageHasBeenSet =
true;
112 m_trafficDialPercentage = value;
130 m_healthCheckPortHasBeenSet =
true;
131 m_healthCheckPort = value;
147 m_healthCheckProtocolHasBeenSet =
true;
148 m_healthCheckProtocol = value;
163 template <
typename HealthCheckPathT = Aws::String>
165 m_healthCheckPathHasBeenSet =
true;
166 m_healthCheckPath = std::forward<HealthCheckPathT>(value);
168 template <
typename HealthCheckPathT = Aws::String>
183 m_healthCheckIntervalSecondsHasBeenSet =
true;
184 m_healthCheckIntervalSeconds = value;
201 m_thresholdCountHasBeenSet =
true;
202 m_thresholdCount = value;
217 template <
typename IdempotencyTokenT = Aws::String>
219 m_idempotencyTokenHasBeenSet =
true;
220 m_idempotencyToken = std::forward<IdempotencyTokenT>(value);
222 template <
typename IdempotencyTokenT = Aws::String>
242 template <
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
244 m_portOverridesHasBeenSet =
true;
245 m_portOverrides = std::forward<PortOverridesT>(value);
247 template <
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
252 template <
typename PortOverr
idesT = PortOverr
ide>
254 m_portOverridesHasBeenSet =
true;
255 m_portOverrides.emplace_back(std::forward<PortOverridesT>(value));
266 double m_trafficDialPercentage{0.0};
268 int m_healthCheckPort{0};
274 int m_healthCheckIntervalSeconds{0};
276 int m_thresholdCount{0};
281 bool m_listenerArnHasBeenSet =
false;
282 bool m_endpointGroupRegionHasBeenSet =
false;
283 bool m_endpointConfigurationsHasBeenSet =
false;
284 bool m_trafficDialPercentageHasBeenSet =
false;
285 bool m_healthCheckPortHasBeenSet =
false;
286 bool m_healthCheckProtocolHasBeenSet =
false;
287 bool m_healthCheckPathHasBeenSet =
false;
288 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
289 bool m_thresholdCountHasBeenSet =
false;
290 bool m_idempotencyTokenHasBeenSet =
true;
291 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