7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/globalaccelerator/model/HealthState.h>
22namespace GlobalAccelerator
53 template<
typename Endpo
intIdT = Aws::String>
54 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet =
true; m_endpointId = std::forward<EndpointIdT>(value); }
55 template<
typename Endpo
intIdT = Aws::String>
72 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
92 template<
typename HealthReasonT = Aws::String>
93 void SetHealthReason(HealthReasonT&& value) { m_healthReasonHasBeenSet =
true; m_healthReason = std::forward<HealthReasonT>(value); }
94 template<
typename HealthReasonT = Aws::String>
122 bool m_endpointIdHasBeenSet =
false;
125 bool m_weightHasBeenSet =
false;
128 bool m_healthStateHasBeenSet =
false;
131 bool m_healthReasonHasBeenSet =
false;
133 bool m_clientIPPreservationEnabled{
false};
134 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