7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
19namespace GlobalAccelerator {
46 template <
typename Endpo
intIdT = Aws::String>
48 m_endpointIdHasBeenSet =
true;
49 m_endpointId = std::forward<EndpointIdT>(value);
51 template <
typename Endpo
intIdT = Aws::String>
72 m_weightHasBeenSet =
true;
103 m_clientIPPreservationEnabledHasBeenSet =
true;
104 m_clientIPPreservationEnabled = value;
120 template <
typename AttachmentArnT = Aws::String>
122 m_attachmentArnHasBeenSet =
true;
123 m_attachmentArn = std::forward<AttachmentArnT>(value);
125 template <
typename AttachmentArnT = Aws::String>
136 bool m_clientIPPreservationEnabled{
false};
139 bool m_endpointIdHasBeenSet =
false;
140 bool m_weightHasBeenSet =
false;
141 bool m_clientIPPreservationEnabledHasBeenSet =
false;
142 bool m_attachmentArnHasBeenSet =
false;
void SetClientIPPreservationEnabled(bool value)
const Aws::String & GetEndpointId() const
AWS_GLOBALACCELERATOR_API EndpointConfiguration()=default
bool ClientIPPreservationEnabledHasBeenSet() const
bool WeightHasBeenSet() const
EndpointConfiguration & WithEndpointId(EndpointIdT &&value)
AWS_GLOBALACCELERATOR_API EndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API EndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointConfiguration & WithAttachmentArn(AttachmentArnT &&value)
void SetEndpointId(EndpointIdT &&value)
const Aws::String & GetAttachmentArn() const
void SetAttachmentArn(AttachmentArnT &&value)
bool EndpointIdHasBeenSet() const
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWeight(int value)
EndpointConfiguration & WithWeight(int value)
bool AttachmentArnHasBeenSet() const
EndpointConfiguration & WithClientIPPreservationEnabled(bool value)
bool GetClientIPPreservationEnabled() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue