7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/ResourceLocation.h>
12#include <aws/lightsail/model/SubdomainAttachableResource.h>
13#include <aws/lightsail/model/SubdomainState.h>
14#include <aws/lightsail/model/Tag.h>
52 template <
typename SubdomainNameT = Aws::String>
54 m_subdomainNameHasBeenSet =
true;
55 m_subdomainName = std::forward<SubdomainNameT>(value);
57 template <
typename SubdomainNameT = Aws::String>
74 template <
typename ArnT = Aws::String>
76 m_arnHasBeenSet =
true;
77 m_arn = std::forward<ArnT>(value);
79 template <
typename ArnT = Aws::String>
81 SetArn(std::forward<ArnT>(value));
94 template <
typename FqdnT = Aws::String>
96 m_fqdnHasBeenSet =
true;
97 m_fqdn = std::forward<FqdnT>(value);
99 template <
typename FqdnT = Aws::String>
101 SetFqdn(std::forward<FqdnT>(value));
115 m_depthHasBeenSet =
true;
146 m_stateHasBeenSet =
true;
163 template <
typename AttachedResourceT = SubdomainAttachableResource>
165 m_attachedResourceHasBeenSet =
true;
166 m_attachedResource = std::forward<AttachedResourceT>(value);
168 template <
typename AttachedResourceT = SubdomainAttachableResource>
183 template <
typename AttachingResourceT = SubdomainAttachableResource>
185 m_attachingResourceHasBeenSet =
true;
186 m_attachingResource = std::forward<AttachingResourceT>(value);
188 template <
typename AttachingResourceT = SubdomainAttachableResource>
202 template <
typename LocationT = ResourceLocation>
204 m_locationHasBeenSet =
true;
205 m_location = std::forward<LocationT>(value);
207 template <
typename LocationT = ResourceLocation>
220 template <
typename CreatedAtT = Aws::Utils::DateTime>
222 m_createdAtHasBeenSet =
true;
223 m_createdAt = std::forward<CreatedAtT>(value);
225 template <
typename CreatedAtT = Aws::Utils::DateTime>
240 template <
typename ParentFqdnT = Aws::String>
242 m_parentFqdnHasBeenSet =
true;
243 m_parentFqdn = std::forward<ParentFqdnT>(value);
245 template <
typename ParentFqdnT = Aws::String>
260 template <
typename ChildrenT = Aws::Vector<Subdomain>>
262 m_childrenHasBeenSet =
true;
263 m_children = std::forward<ChildrenT>(value);
265 template <
typename ChildrenT = Aws::Vector<Subdomain>>
270 template <
typename ChildrenT = Subdomain>
272 m_childrenHasBeenSet =
true;
273 m_children.emplace_back(std::forward<ChildrenT>(value));
288 template <
typename TagsT = Aws::Vector<Tag>>
290 m_tagsHasBeenSet =
true;
291 m_tags = std::forward<TagsT>(value);
293 template <
typename TagsT = Aws::Vector<Tag>>
295 SetTags(std::forward<TagsT>(value));
298 template <
typename TagsT = Tag>
300 m_tagsHasBeenSet =
true;
301 m_tags.emplace_back(std::forward<TagsT>(value));
316 SubdomainAttachableResource m_attachedResource;
318 SubdomainAttachableResource m_attachingResource;
320 ResourceLocation m_location;
329 bool m_subdomainNameHasBeenSet =
false;
330 bool m_arnHasBeenSet =
false;
331 bool m_fqdnHasBeenSet =
false;
332 bool m_depthHasBeenSet =
false;
333 bool m_stateHasBeenSet =
false;
334 bool m_attachedResourceHasBeenSet =
false;
335 bool m_attachingResourceHasBeenSet =
false;
336 bool m_locationHasBeenSet =
false;
337 bool m_createdAtHasBeenSet =
false;
338 bool m_parentFqdnHasBeenSet =
false;
339 bool m_childrenHasBeenSet =
false;
340 bool m_tagsHasBeenSet =
false;
Subdomain & AddTags(TagsT &&value)
SubdomainState GetState() const
AWS_LIGHTSAIL_API Subdomain & operator=(Aws::Utils::Json::JsonView jsonValue)
const SubdomainAttachableResource & GetAttachedResource() const
Subdomain & WithLocation(LocationT &&value)
Subdomain & WithChildren(ChildrenT &&value)
void SetState(SubdomainState value)
bool StateHasBeenSet() const
bool FqdnHasBeenSet() const
AWS_LIGHTSAIL_API Subdomain(Aws::Utils::Json::JsonView jsonValue)
bool DepthHasBeenSet() const
bool TagsHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Vector< Subdomain > & GetChildren() const
AWS_LIGHTSAIL_API Subdomain()=default
void SetChildren(ChildrenT &&value)
void SetParentFqdn(ParentFqdnT &&value)
Subdomain & WithDepth(int value)
Subdomain & WithState(SubdomainState value)
Subdomain & AddChildren(ChildrenT &&value)
const Aws::String & GetFqdn() const
const SubdomainAttachableResource & GetAttachingResource() const
void SetSubdomainName(SubdomainNameT &&value)
const Aws::String & GetArn() const
Subdomain & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetParentFqdn() const
void SetAttachedResource(AttachedResourceT &&value)
bool ArnHasBeenSet() const
void SetArn(ArnT &&value)
void SetAttachingResource(AttachingResourceT &&value)
bool SubdomainNameHasBeenSet() const
bool CreatedAtHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(TagsT &&value)
Subdomain & WithArn(ArnT &&value)
Subdomain & WithTags(TagsT &&value)
void SetFqdn(FqdnT &&value)
const Aws::Vector< Tag > & GetTags() const
Subdomain & WithFqdn(FqdnT &&value)
const Aws::String & GetSubdomainName() const
Subdomain & WithSubdomainName(SubdomainNameT &&value)
bool AttachingResourceHasBeenSet() const
bool LocationHasBeenSet() const
Subdomain & WithAttachingResource(AttachingResourceT &&value)
const ResourceLocation & GetLocation() const
Subdomain & WithParentFqdn(ParentFqdnT &&value)
Subdomain & WithAttachedResource(AttachedResourceT &&value)
void SetLocation(LocationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool ChildrenHasBeenSet() const
bool AttachedResourceHasBeenSet() const
bool ParentFqdnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue