7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/globalaccelerator/model/HealthCheckProtocol.h>
11#include <aws/globalaccelerator/model/EndpointDescription.h>
12#include <aws/globalaccelerator/model/PortOverride.h>
25namespace GlobalAccelerator
51 template<
typename Endpo
intGroupArnT = Aws::String>
52 void SetEndpointGroupArn(EndpointGroupArnT&& value) { m_endpointGroupArnHasBeenSet =
true; m_endpointGroupArn = std::forward<EndpointGroupArnT>(value); }
53 template<
typename Endpo
intGroupArnT = Aws::String>
63 template<
typename Endpo
intGroupRegionT = Aws::String>
64 void SetEndpointGroupRegion(EndpointGroupRegionT&& value) { m_endpointGroupRegionHasBeenSet =
true; m_endpointGroupRegion = std::forward<EndpointGroupRegionT>(value); }
65 template<
typename Endpo
intGroupRegionT = Aws::String>
75 template<
typename Endpo
intDescriptionsT = Aws::Vector<Endpo
intDescription>>
76 void SetEndpointDescriptions(EndpointDescriptionsT&& value) { m_endpointDescriptionsHasBeenSet =
true; m_endpointDescriptions = std::forward<EndpointDescriptionsT>(value); }
77 template<
typename Endpo
intDescriptionsT = Aws::Vector<Endpo
intDescription>>
79 template<
typename Endpo
intDescriptionsT = Endpo
intDescription>
80 EndpointGroup&
AddEndpointDescriptions(EndpointDescriptionsT&& value) { m_endpointDescriptionsHasBeenSet =
true; m_endpointDescriptions.emplace_back(std::forward<EndpointDescriptionsT>(value));
return *
this; }
94 inline void SetTrafficDialPercentage(
double value) { m_trafficDialPercentageHasBeenSet =
true; m_trafficDialPercentage = value; }
108 inline void SetHealthCheckPort(
int value) { m_healthCheckPortHasBeenSet =
true; m_healthCheckPort = value; }
131 template<
typename HealthCheckPathT = Aws::String>
132 void SetHealthCheckPath(HealthCheckPathT&& value) { m_healthCheckPathHasBeenSet =
true; m_healthCheckPath = std::forward<HealthCheckPathT>(value); }
133 template<
typename HealthCheckPathT = Aws::String>
156 inline void SetThresholdCount(
int value) { m_thresholdCountHasBeenSet =
true; m_thresholdCount = value; }
169 template<
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
170 void SetPortOverrides(PortOverridesT&& value) { m_portOverridesHasBeenSet =
true; m_portOverrides = std::forward<PortOverridesT>(value); }
171 template<
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
173 template<
typename PortOverr
idesT = PortOverr
ide>
174 EndpointGroup&
AddPortOverrides(PortOverridesT&& value) { m_portOverridesHasBeenSet =
true; m_portOverrides.emplace_back(std::forward<PortOverridesT>(value));
return *
this; }
179 bool m_endpointGroupArnHasBeenSet =
false;
182 bool m_endpointGroupRegionHasBeenSet =
false;
185 bool m_endpointDescriptionsHasBeenSet =
false;
187 double m_trafficDialPercentage{0.0};
188 bool m_trafficDialPercentageHasBeenSet =
false;
190 int m_healthCheckPort{0};
191 bool m_healthCheckPortHasBeenSet =
false;
194 bool m_healthCheckProtocolHasBeenSet =
false;
197 bool m_healthCheckPathHasBeenSet =
false;
199 int m_healthCheckIntervalSeconds{0};
200 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
202 int m_thresholdCount{0};
203 bool m_thresholdCountHasBeenSet =
false;
206 bool m_portOverridesHasBeenSet =
false;
void SetHealthCheckIntervalSeconds(int value)
EndpointGroup & WithHealthCheckPort(int value)
bool EndpointDescriptionsHasBeenSet() const
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLOBALACCELERATOR_API EndpointGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHealthCheckPath() const
void SetPortOverrides(PortOverridesT &&value)
void SetEndpointGroupRegion(EndpointGroupRegionT &&value)
int GetHealthCheckIntervalSeconds() const
void SetEndpointDescriptions(EndpointDescriptionsT &&value)
bool EndpointGroupArnHasBeenSet() const
EndpointGroup & WithHealthCheckProtocol(HealthCheckProtocol value)
void SetTrafficDialPercentage(double value)
const Aws::Vector< EndpointDescription > & GetEndpointDescriptions() const
EndpointGroup & WithEndpointDescriptions(EndpointDescriptionsT &&value)
HealthCheckProtocol GetHealthCheckProtocol() const
AWS_GLOBALACCELERATOR_API EndpointGroup()=default
EndpointGroup & WithHealthCheckPath(HealthCheckPathT &&value)
EndpointGroup & AddEndpointDescriptions(EndpointDescriptionsT &&value)
const Aws::String & GetEndpointGroupArn() const
bool HealthCheckPortHasBeenSet() const
void SetThresholdCount(int value)
bool HealthCheckPathHasBeenSet() const
void SetHealthCheckProtocol(HealthCheckProtocol value)
const Aws::String & GetEndpointGroupRegion() const
AWS_GLOBALACCELERATOR_API EndpointGroup(Aws::Utils::Json::JsonView jsonValue)
EndpointGroup & WithEndpointGroupArn(EndpointGroupArnT &&value)
bool HealthCheckProtocolHasBeenSet() const
void SetHealthCheckPort(int value)
double GetTrafficDialPercentage() const
const Aws::Vector< PortOverride > & GetPortOverrides() const
void SetHealthCheckPath(HealthCheckPathT &&value)
bool PortOverridesHasBeenSet() const
void SetEndpointGroupArn(EndpointGroupArnT &&value)
bool HealthCheckIntervalSecondsHasBeenSet() const
bool TrafficDialPercentageHasBeenSet() const
EndpointGroup & WithTrafficDialPercentage(double value)
EndpointGroup & WithHealthCheckIntervalSeconds(int value)
EndpointGroup & WithEndpointGroupRegion(EndpointGroupRegionT &&value)
EndpointGroup & AddPortOverrides(PortOverridesT &&value)
EndpointGroup & WithThresholdCount(int value)
int GetHealthCheckPort() const
EndpointGroup & WithPortOverrides(PortOverridesT &&value)
bool ThresholdCountHasBeenSet() const
bool EndpointGroupRegionHasBeenSet() const
int GetThresholdCount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue