7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
9#include <aws/globalaccelerator/model/HealthState.h>
20namespace GlobalAccelerator {
47 template <
typename Endpo
intIdT = Aws::String>
49 m_endpointIdHasBeenSet =
true;
50 m_endpointId = std::forward<EndpointIdT>(value);
52 template <
typename Endpo
intIdT = Aws::String>
73 m_weightHasBeenSet =
true;
89 m_healthStateHasBeenSet =
true;
90 m_healthState = value;
104 template <
typename HealthReasonT = Aws::String>
106 m_healthReasonHasBeenSet =
true;
107 m_healthReason = std::forward<HealthReasonT>(value);
109 template <
typename HealthReasonT = Aws::String>
139 m_clientIPPreservationEnabledHasBeenSet =
true;
140 m_clientIPPreservationEnabled = value;
156 bool m_clientIPPreservationEnabled{
false};
157 bool m_endpointIdHasBeenSet =
false;
158 bool m_weightHasBeenSet =
false;
159 bool m_healthStateHasBeenSet =
false;
160 bool m_healthReasonHasBeenSet =
false;
161 bool m_clientIPPreservationEnabledHasBeenSet =
false;
AWS_GLOBALACCELERATOR_API EndpointDescription()=default
bool GetClientIPPreservationEnabled() const
void SetHealthState(HealthState value)
bool HealthReasonHasBeenSet() const
void SetClientIPPreservationEnabled(bool value)
EndpointDescription & WithHealthState(HealthState value)
bool WeightHasBeenSet() const
HealthState GetHealthState() const
EndpointDescription & WithClientIPPreservationEnabled(bool value)
AWS_GLOBALACCELERATOR_API EndpointDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWeight(int value)
EndpointDescription & WithEndpointId(EndpointIdT &&value)
bool EndpointIdHasBeenSet() const
const Aws::String & GetEndpointId() const
EndpointDescription & WithWeight(int value)
bool ClientIPPreservationEnabledHasBeenSet() const
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool HealthStateHasBeenSet() const
void SetEndpointId(EndpointIdT &&value)
const Aws::String & GetHealthReason() const
AWS_GLOBALACCELERATOR_API EndpointDescription(Aws::Utils::Json::JsonView jsonValue)
EndpointDescription & WithHealthReason(HealthReasonT &&value)
void SetHealthReason(HealthReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue