7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace GlobalAccelerator
52 template<
typename Endpo
intIdT = Aws::String>
53 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet =
true; m_endpointId = std::forward<EndpointIdT>(value); }
54 template<
typename Endpo
intIdT = Aws::String>
71 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
105 template<
typename AttachmentArnT = Aws::String>
106 void SetAttachmentArn(AttachmentArnT&& value) { m_attachmentArnHasBeenSet =
true; m_attachmentArn = std::forward<AttachmentArnT>(value); }
107 template<
typename AttachmentArnT = Aws::String>
113 bool m_endpointIdHasBeenSet =
false;
116 bool m_weightHasBeenSet =
false;
118 bool m_clientIPPreservationEnabled{
false};
119 bool m_clientIPPreservationEnabledHasBeenSet =
false;
122 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