/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Route53Domains { namespace Model { /** *

The UpdateDomainContactPrivacy request includes the following * elements.

See Also:

AWS * API Reference

*/ class UpdateDomainContactPrivacyRequest : public Route53DomainsRequest { public: AWS_ROUTE53DOMAINS_API UpdateDomainContactPrivacyRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContactPrivacy"; } AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override; AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the domain that you want to update the privacy setting for.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The name of the domain that you want to update the privacy setting for.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The name of the domain that you want to update the privacy setting for.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The name of the domain that you want to update the privacy setting for.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The name of the domain that you want to update the privacy setting for.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The name of the domain that you want to update the privacy setting for.

*/ inline UpdateDomainContactPrivacyRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The name of the domain that you want to update the privacy setting for.

*/ inline UpdateDomainContactPrivacyRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The name of the domain that you want to update the privacy setting for.

*/ inline UpdateDomainContactPrivacyRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the admin contact.

You must specify the same privacy setting for * the administrative, registrant, and technical contacts.

*/ inline bool GetAdminPrivacy() const{ return m_adminPrivacy; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the admin contact.

You must specify the same privacy setting for * the administrative, registrant, and technical contacts.

*/ inline bool AdminPrivacyHasBeenSet() const { return m_adminPrivacyHasBeenSet; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the admin contact.

You must specify the same privacy setting for * the administrative, registrant, and technical contacts.

*/ inline void SetAdminPrivacy(bool value) { m_adminPrivacyHasBeenSet = true; m_adminPrivacy = value; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the admin contact.

You must specify the same privacy setting for * the administrative, registrant, and technical contacts.

*/ inline UpdateDomainContactPrivacyRequest& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;} /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the registrant contact (domain owner).

You must specify the same * privacy setting for the administrative, registrant, and technical contacts.

* */ inline bool GetRegistrantPrivacy() const{ return m_registrantPrivacy; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the registrant contact (domain owner).

You must specify the same * privacy setting for the administrative, registrant, and technical contacts.

* */ inline bool RegistrantPrivacyHasBeenSet() const { return m_registrantPrivacyHasBeenSet; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the registrant contact (domain owner).

You must specify the same * privacy setting for the administrative, registrant, and technical contacts.

* */ inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacyHasBeenSet = true; m_registrantPrivacy = value; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the registrant contact (domain owner).

You must specify the same * privacy setting for the administrative, registrant, and technical contacts.

* */ inline UpdateDomainContactPrivacyRequest& WithRegistrantPrivacy(bool value) { SetRegistrantPrivacy(value); return *this;} /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the technical contact.

You must specify the same privacy setting * for the administrative, registrant, and technical contacts.

*/ inline bool GetTechPrivacy() const{ return m_techPrivacy; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the technical contact.

You must specify the same privacy setting * for the administrative, registrant, and technical contacts.

*/ inline bool TechPrivacyHasBeenSet() const { return m_techPrivacyHasBeenSet; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the technical contact.

You must specify the same privacy setting * for the administrative, registrant, and technical contacts.

*/ inline void SetTechPrivacy(bool value) { m_techPrivacyHasBeenSet = true; m_techPrivacy = value; } /** *

Whether you want to conceal contact information from WHOIS queries. If you * specify true, WHOIS ("who is") queries return contact information * either for Amazon Registrar (for .com, .net, and .org domains) or for our * registrar associate, Gandi (for all other TLDs). If you specify * false, WHOIS queries return the information that you entered for * the technical contact.

You must specify the same privacy setting * for the administrative, registrant, and technical contacts.

*/ inline UpdateDomainContactPrivacyRequest& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; bool m_adminPrivacy; bool m_adminPrivacyHasBeenSet = false; bool m_registrantPrivacy; bool m_registrantPrivacyHasBeenSet = false; bool m_techPrivacy; bool m_techPrivacyHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws