7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/RegisteredDomainDelegationInfo.h>
14#include <aws/lightsail/model/Tag.h>
15#include <aws/lightsail/model/DomainEntry.h>
41 AWS_LIGHTSAIL_API
Domain() =
default;
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
66 template<
typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
68 template<
typename ArnT = Aws::String>
80 template<
typename SupportCodeT = Aws::String>
81 void SetSupportCode(SupportCodeT&& value) { m_supportCodeHasBeenSet =
true; m_supportCode = std::forward<SupportCodeT>(value); }
82 template<
typename SupportCodeT = Aws::String>
92 template<
typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
94 template<
typename CreatedAtT = Aws::Utils::DateTime>
105 template<
typename LocationT = ResourceLocation>
106 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
107 template<
typename LocationT = ResourceLocation>
130 template<
typename TagsT = Aws::Vector<Tag>>
131 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
132 template<
typename TagsT = Aws::Vector<Tag>>
134 template<
typename TagsT = Tag>
135 Domain&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
145 template<
typename DomainEntriesT = Aws::Vector<DomainEntry>>
146 void SetDomainEntries(DomainEntriesT&& value) { m_domainEntriesHasBeenSet =
true; m_domainEntries = std::forward<DomainEntriesT>(value); }
147 template<
typename DomainEntriesT = Aws::Vector<DomainEntry>>
149 template<
typename DomainEntriesT = DomainEntry>
150 Domain&
AddDomainEntries(DomainEntriesT&& value) { m_domainEntriesHasBeenSet =
true; m_domainEntries.emplace_back(std::forward<DomainEntriesT>(value));
return *
this; }
160 template<
typename RegisteredDomainDelegationInfoT = RegisteredDomainDelegationInfo>
161 void SetRegisteredDomainDelegationInfo(RegisteredDomainDelegationInfoT&& value) { m_registeredDomainDelegationInfoHasBeenSet =
true; m_registeredDomainDelegationInfo = std::forward<RegisteredDomainDelegationInfoT>(value); }
162 template<
typename RegisteredDomainDelegationInfoT = RegisteredDomainDelegationInfo>
168 bool m_nameHasBeenSet =
false;
171 bool m_arnHasBeenSet =
false;
174 bool m_supportCodeHasBeenSet =
false;
177 bool m_createdAtHasBeenSet =
false;
179 ResourceLocation m_location;
180 bool m_locationHasBeenSet =
false;
183 bool m_resourceTypeHasBeenSet =
false;
186 bool m_tagsHasBeenSet =
false;
189 bool m_domainEntriesHasBeenSet =
false;
191 RegisteredDomainDelegationInfo m_registeredDomainDelegationInfo;
192 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