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>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
69 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
70 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
86 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
142 inline Domain&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
143 inline Domain&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
176 bool m_nameHasBeenSet =
false;
179 bool m_arnHasBeenSet =
false;
182 bool m_supportCodeHasBeenSet =
false;
185 bool m_createdAtHasBeenSet =
false;
188 bool m_locationHasBeenSet =
false;
191 bool m_resourceTypeHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
197 bool m_domainEntriesHasBeenSet =
false;
200 bool m_registeredDomainDelegationInfoHasBeenSet =
false;
Domain & WithTags(Aws::Vector< Tag > &&value)
Domain & WithArn(const Aws::String &value)
Domain & WithSupportCode(const Aws::String &value)
bool LocationHasBeenSet() const
Domain & AddDomainEntries(DomainEntry &&value)
Domain & WithName(Aws::String &&value)
Domain & WithResourceType(ResourceType &&value)
void SetDomainEntries(Aws::Vector< DomainEntry > &&value)
Domain & WithRegisteredDomainDelegationInfo(RegisteredDomainDelegationInfo &&value)
bool ArnHasBeenSet() const
bool DomainEntriesHasBeenSet() const
const ResourceType & GetResourceType() const
Domain & WithLocation(const ResourceLocation &value)
const Aws::String & GetArn() const
bool TagsHasBeenSet() const
void SetRegisteredDomainDelegationInfo(RegisteredDomainDelegationInfo &&value)
Domain & WithSupportCode(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
const RegisteredDomainDelegationInfo & GetRegisteredDomainDelegationInfo() const
AWS_LIGHTSAIL_API Domain(Aws::Utils::Json::JsonView jsonValue)
void SetSupportCode(const char *value)
Domain & WithSupportCode(const char *value)
Domain & WithName(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
const Aws::String & GetName() const
void SetArn(const char *value)
Domain & AddTags(Tag &&value)
Domain & WithDomainEntries(const Aws::Vector< DomainEntry > &value)
void SetResourceType(const ResourceType &value)
void SetArn(const Aws::String &value)
Domain & WithRegisteredDomainDelegationInfo(const RegisteredDomainDelegationInfo &value)
const ResourceLocation & GetLocation() const
void SetLocation(ResourceLocation &&value)
Domain & WithResourceType(const ResourceType &value)
void SetRegisteredDomainDelegationInfo(const RegisteredDomainDelegationInfo &value)
bool SupportCodeHasBeenSet() const
void SetSupportCode(const Aws::String &value)
Domain & WithCreatedAt(const Aws::Utils::DateTime &value)
Domain & AddTags(const Tag &value)
AWS_LIGHTSAIL_API Domain()
void SetSupportCode(Aws::String &&value)
Domain & WithLocation(ResourceLocation &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetTags(Aws::Vector< Tag > &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocation(const ResourceLocation &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetResourceType(ResourceType &&value)
AWS_LIGHTSAIL_API Domain & operator=(Aws::Utils::Json::JsonView jsonValue)
Domain & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< DomainEntry > & GetDomainEntries() const
bool CreatedAtHasBeenSet() const
void SetName(const char *value)
Domain & WithTags(const Aws::Vector< Tag > &value)
Domain & WithArn(const char *value)
const Aws::String & GetSupportCode() const
bool RegisteredDomainDelegationInfoHasBeenSet() const
Domain & WithName(const char *value)
void SetArn(Aws::String &&value)
void SetDomainEntries(const Aws::Vector< DomainEntry > &value)
Domain & AddDomainEntries(const DomainEntry &value)
Domain & WithArn(Aws::String &&value)
Domain & WithDomainEntries(Aws::Vector< DomainEntry > &&value)
void SetName(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &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