/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ACM { namespace Model { /** *

This structure is returned in the response object of ListCertificates * action.

See Also:

AWS * API Reference

*/ class AWS_ACM_API CertificateSummary { public: CertificateSummary(); CertificateSummary(Aws::Utils::Json::JsonView jsonValue); CertificateSummary& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

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

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline CertificateSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet; Aws::String m_domainName; bool m_domainNameHasBeenSet; }; } // namespace Model } // namespace ACM } // namespace Aws