7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace 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>
70 template<
typename C
idrT = Aws::String>
71 void SetCidr(CidrT&& value) { m_cidrHasBeenSet =
true; m_cidr = std::forward<CidrT>(value); }
72 template<
typename C
idrT = Aws::String>
84 template<
typename AttachmentArnT = Aws::String>
85 void SetAttachmentArn(AttachmentArnT&& value) { m_attachmentArnHasBeenSet =
true; m_attachmentArn = std::forward<AttachmentArnT>(value); }
86 template<
typename AttachmentArnT = Aws::String>
92 bool m_endpointIdHasBeenSet =
false;
95 bool m_cidrHasBeenSet =
false;
98 bool m_attachmentArnHasBeenSet =
false;
AWS_GLOBALACCELERATOR_API CrossAccountResource()=default
void SetEndpointId(EndpointIdT &&value)
CrossAccountResource & WithCidr(CidrT &&value)
bool AttachmentArnHasBeenSet() const
void SetCidr(CidrT &&value)
bool CidrHasBeenSet() const
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
CrossAccountResource & WithEndpointId(EndpointIdT &&value)
const Aws::String & GetCidr() const
AWS_GLOBALACCELERATOR_API CrossAccountResource(Aws::Utils::Json::JsonView jsonValue)
void SetAttachmentArn(AttachmentArnT &&value)
const Aws::String & GetAttachmentArn() const
bool EndpointIdHasBeenSet() const
AWS_GLOBALACCELERATOR_API CrossAccountResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEndpointId() const
CrossAccountResource & WithAttachmentArn(AttachmentArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue