/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the domain price associated with a TLD.See
* Also:
AWS
* API Reference
The name of the TLD for which the prices apply.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the TLD for which the prices apply.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the TLD for which the prices apply.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the TLD for which the prices apply.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the TLD for which the prices apply.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the TLD for which the prices apply.
*/ inline DomainPrice& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the TLD for which the prices apply.
*/ inline DomainPrice& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the TLD for which the prices apply.
*/ inline DomainPrice& WithName(const char* value) { SetName(value); return *this;} /** *The price for domain registration with Route 53.
*/ inline const PriceWithCurrency& GetRegistrationPrice() const{ return m_registrationPrice; } /** *The price for domain registration with Route 53.
*/ inline bool RegistrationPriceHasBeenSet() const { return m_registrationPriceHasBeenSet; } /** *The price for domain registration with Route 53.
*/ inline void SetRegistrationPrice(const PriceWithCurrency& value) { m_registrationPriceHasBeenSet = true; m_registrationPrice = value; } /** *The price for domain registration with Route 53.
*/ inline void SetRegistrationPrice(PriceWithCurrency&& value) { m_registrationPriceHasBeenSet = true; m_registrationPrice = std::move(value); } /** *The price for domain registration with Route 53.
*/ inline DomainPrice& WithRegistrationPrice(const PriceWithCurrency& value) { SetRegistrationPrice(value); return *this;} /** *The price for domain registration with Route 53.
*/ inline DomainPrice& WithRegistrationPrice(PriceWithCurrency&& value) { SetRegistrationPrice(std::move(value)); return *this;} /** *The price for transferring the domain registration to Route 53.
*/ inline const PriceWithCurrency& GetTransferPrice() const{ return m_transferPrice; } /** *The price for transferring the domain registration to Route 53.
*/ inline bool TransferPriceHasBeenSet() const { return m_transferPriceHasBeenSet; } /** *The price for transferring the domain registration to Route 53.
*/ inline void SetTransferPrice(const PriceWithCurrency& value) { m_transferPriceHasBeenSet = true; m_transferPrice = value; } /** *The price for transferring the domain registration to Route 53.
*/ inline void SetTransferPrice(PriceWithCurrency&& value) { m_transferPriceHasBeenSet = true; m_transferPrice = std::move(value); } /** *The price for transferring the domain registration to Route 53.
*/ inline DomainPrice& WithTransferPrice(const PriceWithCurrency& value) { SetTransferPrice(value); return *this;} /** *The price for transferring the domain registration to Route 53.
*/ inline DomainPrice& WithTransferPrice(PriceWithCurrency&& value) { SetTransferPrice(std::move(value)); return *this;} /** *The price for renewing domain registration with Route 53.
*/ inline const PriceWithCurrency& GetRenewalPrice() const{ return m_renewalPrice; } /** *The price for renewing domain registration with Route 53.
*/ inline bool RenewalPriceHasBeenSet() const { return m_renewalPriceHasBeenSet; } /** *The price for renewing domain registration with Route 53.
*/ inline void SetRenewalPrice(const PriceWithCurrency& value) { m_renewalPriceHasBeenSet = true; m_renewalPrice = value; } /** *The price for renewing domain registration with Route 53.
*/ inline void SetRenewalPrice(PriceWithCurrency&& value) { m_renewalPriceHasBeenSet = true; m_renewalPrice = std::move(value); } /** *The price for renewing domain registration with Route 53.
*/ inline DomainPrice& WithRenewalPrice(const PriceWithCurrency& value) { SetRenewalPrice(value); return *this;} /** *The price for renewing domain registration with Route 53.
*/ inline DomainPrice& WithRenewalPrice(PriceWithCurrency&& value) { SetRenewalPrice(std::move(value)); return *this;} /** *The price for changing domain ownership.
*/ inline const PriceWithCurrency& GetChangeOwnershipPrice() const{ return m_changeOwnershipPrice; } /** *The price for changing domain ownership.
*/ inline bool ChangeOwnershipPriceHasBeenSet() const { return m_changeOwnershipPriceHasBeenSet; } /** *The price for changing domain ownership.
*/ inline void SetChangeOwnershipPrice(const PriceWithCurrency& value) { m_changeOwnershipPriceHasBeenSet = true; m_changeOwnershipPrice = value; } /** *The price for changing domain ownership.
*/ inline void SetChangeOwnershipPrice(PriceWithCurrency&& value) { m_changeOwnershipPriceHasBeenSet = true; m_changeOwnershipPrice = std::move(value); } /** *The price for changing domain ownership.
*/ inline DomainPrice& WithChangeOwnershipPrice(const PriceWithCurrency& value) { SetChangeOwnershipPrice(value); return *this;} /** *The price for changing domain ownership.
*/ inline DomainPrice& WithChangeOwnershipPrice(PriceWithCurrency&& value) { SetChangeOwnershipPrice(std::move(value)); return *this;} /** *The price for restoring the domain with Route 53.
*/ inline const PriceWithCurrency& GetRestorationPrice() const{ return m_restorationPrice; } /** *The price for restoring the domain with Route 53.
*/ inline bool RestorationPriceHasBeenSet() const { return m_restorationPriceHasBeenSet; } /** *The price for restoring the domain with Route 53.
*/ inline void SetRestorationPrice(const PriceWithCurrency& value) { m_restorationPriceHasBeenSet = true; m_restorationPrice = value; } /** *The price for restoring the domain with Route 53.
*/ inline void SetRestorationPrice(PriceWithCurrency&& value) { m_restorationPriceHasBeenSet = true; m_restorationPrice = std::move(value); } /** *The price for restoring the domain with Route 53.
*/ inline DomainPrice& WithRestorationPrice(const PriceWithCurrency& value) { SetRestorationPrice(value); return *this;} /** *The price for restoring the domain with Route 53.
*/ inline DomainPrice& WithRestorationPrice(PriceWithCurrency&& value) { SetRestorationPrice(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; PriceWithCurrency m_registrationPrice; bool m_registrationPriceHasBeenSet = false; PriceWithCurrency m_transferPrice; bool m_transferPriceHasBeenSet = false; PriceWithCurrency m_renewalPrice; bool m_renewalPriceHasBeenSet = false; PriceWithCurrency m_changeOwnershipPrice; bool m_changeOwnershipPriceHasBeenSet = false; PriceWithCurrency m_restorationPrice; bool m_restorationPriceHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws