/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ACM { namespace Model { class RequestCertificateResult { public: AWS_ACM_API RequestCertificateResult(); AWS_ACM_API RequestCertificateResult(const Aws::AmazonWebServiceResult& result); AWS_ACM_API RequestCertificateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

String that contains the ARN of the issued certificate. This 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 issued certificate. This 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_certificateArn = value; } /** *

String that contains the ARN of the issued certificate. This 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_certificateArn = std::move(value); } /** *

String that contains the ARN of the issued certificate. This 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_certificateArn.assign(value); } /** *

String that contains the ARN of the issued certificate. This must be of the * form:

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

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

String that contains the ARN of the issued certificate. This must be of the * form:

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

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

String that contains the ARN of the issued certificate. This must be of the * form:

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

*/ inline RequestCertificateResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline RequestCertificateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RequestCertificateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RequestCertificateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_certificateArn; Aws::String m_requestId; }; } // namespace Model } // namespace ACM } // namespace Aws