/** * 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 ACM { namespace Model { /** */ class ResendValidationEmailRequest : public ACMRequest { public: AWS_ACM_API ResendValidationEmailRequest(); // 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 "ResendValidationEmail"; } AWS_ACM_API Aws::String SerializePayload() const override; AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline ResendValidationEmailRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline ResendValidationEmailRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *

String that contains the ARN of the requested certificate. The certificate * ARN is generated and returned by the RequestCertificate action as soon as * the request is made. By default, using this parameter causes email to be sent to * all top-level domains you specified in the certificate request. The ARN must be * of the form:

* arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

*/ inline ResendValidationEmailRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline ResendValidationEmailRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline ResendValidationEmailRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

The fully qualified domain name (FQDN) of the certificate that needs to be * validated.

*/ inline ResendValidationEmailRequest& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline const Aws::String& GetValidationDomain() const{ return m_validationDomain; } /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline bool ValidationDomainHasBeenSet() const { return m_validationDomainHasBeenSet; } /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline void SetValidationDomain(const Aws::String& value) { m_validationDomainHasBeenSet = true; m_validationDomain = value; } /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline void SetValidationDomain(Aws::String&& value) { m_validationDomainHasBeenSet = true; m_validationDomain = std::move(value); } /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline void SetValidationDomain(const char* value) { m_validationDomainHasBeenSet = true; m_validationDomain.assign(value); } /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline ResendValidationEmailRequest& WithValidationDomain(const Aws::String& value) { SetValidationDomain(value); return *this;} /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline ResendValidationEmailRequest& WithValidationDomain(Aws::String&& value) { SetValidationDomain(std::move(value)); return *this;} /** *

The base validation domain that will act as the suffix of the email addresses * that are used to send the emails. This must be the same as the * Domain value or a superdomain of the Domain value. For * example, if you requested a certificate for * site.subdomain.example.com and specify a ValidationDomain of * subdomain.example.com, ACM sends email to the domain registrant, * technical contact, and administrative contact in WHOIS and the following five * addresses:

  • admin@subdomain.example.com

  • *

    administrator@subdomain.example.com

  • *

    hostmaster@subdomain.example.com

  • *

    postmaster@subdomain.example.com

  • *

    webmaster@subdomain.example.com

*/ inline ResendValidationEmailRequest& WithValidationDomain(const char* value) { SetValidationDomain(value); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_domain; bool m_domainHasBeenSet = false; Aws::String m_validationDomain; bool m_validationDomainHasBeenSet = false; }; } // namespace Model } // namespace ACM } // namespace Aws