/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about one domain.See Also:
AWS
* API Reference
The name of the domain that the summary information applies to.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the domain that the summary information applies to.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the domain that the summary information applies to.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the domain that the summary information applies to.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the domain that the summary information applies to.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the domain that the summary information applies to.
*/ inline DomainSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the domain that the summary information applies to.
*/ inline DomainSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the domain that the summary information applies to.
*/ inline DomainSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *Indicates whether the domain is automatically renewed upon expiration.
*/ inline bool GetAutoRenew() const{ return m_autoRenew; } /** *Indicates whether the domain is automatically renewed upon expiration.
*/ inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; } /** *Indicates whether the domain is automatically renewed upon expiration.
*/ inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; } /** *Indicates whether the domain is automatically renewed upon expiration.
*/ inline DomainSummary& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;} /** *Indicates whether a domain is locked from unauthorized transfer to another * party.
*/ inline bool GetTransferLock() const{ return m_transferLock; } /** *Indicates whether a domain is locked from unauthorized transfer to another * party.
*/ inline bool TransferLockHasBeenSet() const { return m_transferLockHasBeenSet; } /** *Indicates whether a domain is locked from unauthorized transfer to another * party.
*/ inline void SetTransferLock(bool value) { m_transferLockHasBeenSet = true; m_transferLock = value; } /** *Indicates whether a domain is locked from unauthorized transfer to another * party.
*/ inline DomainSummary& WithTransferLock(bool value) { SetTransferLock(value); return *this;} /** *Expiration date of the domain in Unix time format and Coordinated Universal * Time (UTC).
*/ inline const Aws::Utils::DateTime& GetExpiry() const{ return m_expiry; } /** *Expiration date of the domain in Unix time format and Coordinated Universal * Time (UTC).
*/ inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; } /** *Expiration date of the domain in Unix time format and Coordinated Universal * Time (UTC).
*/ inline void SetExpiry(const Aws::Utils::DateTime& value) { m_expiryHasBeenSet = true; m_expiry = value; } /** *Expiration date of the domain in Unix time format and Coordinated Universal * Time (UTC).
*/ inline void SetExpiry(Aws::Utils::DateTime&& value) { m_expiryHasBeenSet = true; m_expiry = std::move(value); } /** *Expiration date of the domain in Unix time format and Coordinated Universal * Time (UTC).
*/ inline DomainSummary& WithExpiry(const Aws::Utils::DateTime& value) { SetExpiry(value); return *this;} /** *Expiration date of the domain in Unix time format and Coordinated Universal * Time (UTC).
*/ inline DomainSummary& WithExpiry(Aws::Utils::DateTime&& value) { SetExpiry(std::move(value)); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; bool m_autoRenew; bool m_autoRenewHasBeenSet = false; bool m_transferLock; bool m_transferLockHasBeenSet = false; Aws::Utils::DateTime m_expiry; bool m_expiryHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws