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/DomainEntry.h>
12#include <aws/lightsail/model/RegisteredDomainDelegationInfo.h>
13#include <aws/lightsail/model/ResourceLocation.h>
14#include <aws/lightsail/model/ResourceType.h>
15#include <aws/lightsail/model/Tag.h>
36 AWS_LIGHTSAIL_API
Domain() =
default;
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
66 template <
typename ArnT = Aws::String>
68 m_arnHasBeenSet =
true;
69 m_arn = std::forward<ArnT>(value);
71 template <
typename ArnT = Aws::String>
73 SetArn(std::forward<ArnT>(value));
86 template <
typename SupportCodeT = Aws::String>
88 m_supportCodeHasBeenSet =
true;
89 m_supportCode = std::forward<SupportCodeT>(value);
91 template <
typename SupportCodeT = Aws::String>
104 template <
typename CreatedAtT = Aws::Utils::DateTime>
106 m_createdAtHasBeenSet =
true;
107 m_createdAt = std::forward<CreatedAtT>(value);
109 template <
typename CreatedAtT = Aws::Utils::DateTime>
123 template <
typename LocationT = ResourceLocation>
125 m_locationHasBeenSet =
true;
126 m_location = std::forward<LocationT>(value);
128 template <
typename LocationT = ResourceLocation>
142 m_resourceTypeHasBeenSet =
true;
143 m_resourceType = value;
160 template <
typename TagsT = Aws::Vector<Tag>>
162 m_tagsHasBeenSet =
true;
163 m_tags = std::forward<TagsT>(value);
165 template <
typename TagsT = Aws::Vector<Tag>>
167 SetTags(std::forward<TagsT>(value));
170 template <
typename TagsT = Tag>
172 m_tagsHasBeenSet =
true;
173 m_tags.emplace_back(std::forward<TagsT>(value));
185 template <
typename DomainEntriesT = Aws::Vector<DomainEntry>>
187 m_domainEntriesHasBeenSet =
true;
188 m_domainEntries = std::forward<DomainEntriesT>(value);
190 template <
typename DomainEntriesT = Aws::Vector<DomainEntry>>
195 template <
typename DomainEntriesT = DomainEntry>
197 m_domainEntriesHasBeenSet =
true;
198 m_domainEntries.emplace_back(std::forward<DomainEntriesT>(value));
210 template <
typename RegisteredDomainDelegationInfoT = RegisteredDomainDelegationInfo>
212 m_registeredDomainDelegationInfoHasBeenSet =
true;
213 m_registeredDomainDelegationInfo = std::forward<RegisteredDomainDelegationInfoT>(value);
215 template <
typename RegisteredDomainDelegationInfoT = RegisteredDomainDelegationInfo>
230 ResourceLocation m_location;
238 RegisteredDomainDelegationInfo m_registeredDomainDelegationInfo;
239 bool m_nameHasBeenSet =
false;
240 bool m_arnHasBeenSet =
false;
241 bool m_supportCodeHasBeenSet =
false;
242 bool m_createdAtHasBeenSet =
false;
243 bool m_locationHasBeenSet =
false;
244 bool m_resourceTypeHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
246 bool m_domainEntriesHasBeenSet =
false;
247 bool m_registeredDomainDelegationInfoHasBeenSet =
false;
Domain & WithSupportCode(SupportCodeT &&value)
bool LocationHasBeenSet() const
Domain & WithCreatedAt(CreatedAtT &&value)
Domain & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
Domain & AddDomainEntries(DomainEntriesT &&value)
bool ArnHasBeenSet() const
bool DomainEntriesHasBeenSet() const
const Aws::String & GetArn() const
bool TagsHasBeenSet() const
void SetResourceType(ResourceType value)
void SetDomainEntries(DomainEntriesT &&value)
const RegisteredDomainDelegationInfo & GetRegisteredDomainDelegationInfo() const
AWS_LIGHTSAIL_API Domain(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool ResourceTypeHasBeenSet() const
Domain & WithArn(ArnT &&value)
AWS_LIGHTSAIL_API Domain()=default
const Aws::String & GetName() const
void SetLocation(LocationT &&value)
ResourceType GetResourceType() const
Domain & WithName(NameT &&value)
const ResourceLocation & GetLocation() const
Domain & WithDomainEntries(DomainEntriesT &&value)
Domain & WithTags(TagsT &&value)
void SetSupportCode(SupportCodeT &&value)
bool SupportCodeHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
Domain & WithLocation(LocationT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_LIGHTSAIL_API Domain & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DomainEntry > & GetDomainEntries() const
bool CreatedAtHasBeenSet() const
void SetArn(ArnT &&value)
Domain & WithRegisteredDomainDelegationInfo(RegisteredDomainDelegationInfoT &&value)
const Aws::String & GetSupportCode() const
bool RegisteredDomainDelegationInfoHasBeenSet() const
Domain & WithResourceType(ResourceType value)
void SetRegisteredDomainDelegationInfo(RegisteredDomainDelegationInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue