7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
10#include <aws/globalaccelerator/model/EndpointDescription.h>
11#include <aws/globalaccelerator/model/HealthCheckProtocol.h>
12#include <aws/globalaccelerator/model/PortOverride.h>
23namespace GlobalAccelerator {
45 template <
typename Endpo
intGroupArnT = Aws::String>
47 m_endpointGroupArnHasBeenSet =
true;
48 m_endpointGroupArn = std::forward<EndpointGroupArnT>(value);
50 template <
typename Endpo
intGroupArnT = 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
intDescriptionsT = Aws::Vector<Endpo
intDescription>>
83 m_endpointDescriptionsHasBeenSet =
true;
84 m_endpointDescriptions = std::forward<EndpointDescriptionsT>(value);
86 template <
typename Endpo
intDescriptionsT = Aws::Vector<Endpo
intDescription>>
91 template <
typename Endpo
intDescriptionsT = Endpo
intDescription>
93 m_endpointDescriptionsHasBeenSet =
true;
94 m_endpointDescriptions.emplace_back(std::forward<EndpointDescriptionsT>(value));
111 m_trafficDialPercentageHasBeenSet =
true;
112 m_trafficDialPercentage = value;
131 m_healthCheckPortHasBeenSet =
true;
132 m_healthCheckPort = value;
148 m_healthCheckProtocolHasBeenSet =
true;
149 m_healthCheckProtocol = value;
165 template <
typename HealthCheckPathT = Aws::String>
167 m_healthCheckPathHasBeenSet =
true;
168 m_healthCheckPath = std::forward<HealthCheckPathT>(value);
170 template <
typename HealthCheckPathT = Aws::String>
185 m_healthCheckIntervalSecondsHasBeenSet =
true;
186 m_healthCheckIntervalSeconds = value;
203 m_thresholdCountHasBeenSet =
true;
204 m_thresholdCount = value;
221 template <
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
223 m_portOverridesHasBeenSet =
true;
224 m_portOverrides = std::forward<PortOverridesT>(value);
226 template <
typename PortOverr
idesT = Aws::Vector<PortOverr
ide>>
231 template <
typename PortOverr
idesT = PortOverr
ide>
233 m_portOverridesHasBeenSet =
true;
234 m_portOverrides.emplace_back(std::forward<PortOverridesT>(value));
245 double m_trafficDialPercentage{0.0};
247 int m_healthCheckPort{0};
253 int m_healthCheckIntervalSeconds{0};
255 int m_thresholdCount{0};
258 bool m_endpointGroupArnHasBeenSet =
false;
259 bool m_endpointGroupRegionHasBeenSet =
false;
260 bool m_endpointDescriptionsHasBeenSet =
false;
261 bool m_trafficDialPercentageHasBeenSet =
false;
262 bool m_healthCheckPortHasBeenSet =
false;
263 bool m_healthCheckProtocolHasBeenSet =
false;
264 bool m_healthCheckPathHasBeenSet =
false;
265 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
266 bool m_thresholdCountHasBeenSet =
false;
267 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