/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a domain where you are storing recordsets.See Also:
* AWS
* API Reference
The name of the domain.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the domain.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the domain.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the domain.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the domain.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the domain.
*/ inline Domain& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the domain.
*/ inline Domain& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the domain.
*/ inline Domain& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
* arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).
The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline const Aws::String& GetSupportCode() const{ return m_supportCode; } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); } /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline Domain& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;} /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline Domain& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;} /** *The support code. Include this code in your email to support when you have * questions about an instance or another resource in Lightsail. This code enables * our support team to look up your Lightsail information more easily.
*/ inline Domain& WithSupportCode(const char* value) { SetSupportCode(value); return *this;} /** *The date when the domain recordset was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date when the domain recordset was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date when the domain recordset was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date when the domain recordset was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date when the domain recordset was created.
*/ inline Domain& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date when the domain recordset was created.
*/ inline Domain& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The AWS Region and Availability Zones where the domain recordset was * created.
*/ inline const ResourceLocation& GetLocation() const{ return m_location; } /** *The AWS Region and Availability Zones where the domain recordset was * created.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *The AWS Region and Availability Zones where the domain recordset was * created.
*/ inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; } /** *The AWS Region and Availability Zones where the domain recordset was * created.
*/ inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *The AWS Region and Availability Zones where the domain recordset was * created.
*/ inline Domain& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;} /** *The AWS Region and Availability Zones where the domain recordset was * created.
*/ inline Domain& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;} /** *The resource type.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *The resource type.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type.
*/ inline Domain& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *The resource type.
*/ inline Domain& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline const Aws::VectorThe tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline void SetTags(const Aws::VectorThe tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline void SetTags(Aws::VectorThe tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline Domain& WithTags(const Aws::VectorThe tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline Domain& WithTags(Aws::VectorThe tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline Domain& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tag keys and optional values for the resource. For more information about * tags in Lightsail, see the Amazon * Lightsail Developer Guide.
*/ inline Domain& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *An array of key-value pairs containing information about the domain * entries.
*/ inline const Aws::VectorAn array of key-value pairs containing information about the domain * entries.
*/ inline bool DomainEntriesHasBeenSet() const { return m_domainEntriesHasBeenSet; } /** *An array of key-value pairs containing information about the domain * entries.
*/ inline void SetDomainEntries(const Aws::VectorAn array of key-value pairs containing information about the domain * entries.
*/ inline void SetDomainEntries(Aws::VectorAn array of key-value pairs containing information about the domain * entries.
*/ inline Domain& WithDomainEntries(const Aws::VectorAn array of key-value pairs containing information about the domain * entries.
*/ inline Domain& WithDomainEntries(Aws::VectorAn array of key-value pairs containing information about the domain * entries.
*/ inline Domain& AddDomainEntries(const DomainEntry& value) { m_domainEntriesHasBeenSet = true; m_domainEntries.push_back(value); return *this; } /** *An array of key-value pairs containing information about the domain * entries.
*/ inline Domain& AddDomainEntries(DomainEntry&& value) { m_domainEntriesHasBeenSet = true; m_domainEntries.push_back(std::move(value)); return *this; } /** *An object that describes the state of the Route 53 domain delegation to a * Lightsail DNS zone.
*/ inline const RegisteredDomainDelegationInfo& GetRegisteredDomainDelegationInfo() const{ return m_registeredDomainDelegationInfo; } /** *An object that describes the state of the Route 53 domain delegation to a * Lightsail DNS zone.
*/ inline bool RegisteredDomainDelegationInfoHasBeenSet() const { return m_registeredDomainDelegationInfoHasBeenSet; } /** *An object that describes the state of the Route 53 domain delegation to a * Lightsail DNS zone.
*/ inline void SetRegisteredDomainDelegationInfo(const RegisteredDomainDelegationInfo& value) { m_registeredDomainDelegationInfoHasBeenSet = true; m_registeredDomainDelegationInfo = value; } /** *An object that describes the state of the Route 53 domain delegation to a * Lightsail DNS zone.
*/ inline void SetRegisteredDomainDelegationInfo(RegisteredDomainDelegationInfo&& value) { m_registeredDomainDelegationInfoHasBeenSet = true; m_registeredDomainDelegationInfo = std::move(value); } /** *An object that describes the state of the Route 53 domain delegation to a * Lightsail DNS zone.
*/ inline Domain& WithRegisteredDomainDelegationInfo(const RegisteredDomainDelegationInfo& value) { SetRegisteredDomainDelegationInfo(value); return *this;} /** *An object that describes the state of the Route 53 domain delegation to a * Lightsail DNS zone.
*/ inline Domain& WithRegisteredDomainDelegationInfo(RegisteredDomainDelegationInfo&& value) { SetRegisteredDomainDelegationInfo(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_supportCode; bool m_supportCodeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; ResourceLocation m_location; bool m_locationHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::Vector