1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ACM
24 {
25 namespace Model
26 {
27   class AWS_ACM_API ImportCertificateResult
28   {
29   public:
30     ImportCertificateResult();
31     ImportCertificateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     ImportCertificateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>The <a
37      * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
38      * Resource Name (ARN)</a> of the imported certificate.</p>
39      */
GetCertificateArn()40     inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
41 
42     /**
43      * <p>The <a
44      * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
45      * Resource Name (ARN)</a> of the imported certificate.</p>
46      */
SetCertificateArn(const Aws::String & value)47     inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
48 
49     /**
50      * <p>The <a
51      * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
52      * Resource Name (ARN)</a> of the imported certificate.</p>
53      */
SetCertificateArn(Aws::String && value)54     inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
55 
56     /**
57      * <p>The <a
58      * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
59      * Resource Name (ARN)</a> of the imported certificate.</p>
60      */
SetCertificateArn(const char * value)61     inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
62 
63     /**
64      * <p>The <a
65      * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
66      * Resource Name (ARN)</a> of the imported certificate.</p>
67      */
WithCertificateArn(const Aws::String & value)68     inline ImportCertificateResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
69 
70     /**
71      * <p>The <a
72      * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
73      * Resource Name (ARN)</a> of the imported certificate.</p>
74      */
WithCertificateArn(Aws::String && value)75     inline ImportCertificateResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
76 
77     /**
78      * <p>The <a
79      * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
80      * Resource Name (ARN)</a> of the imported certificate.</p>
81      */
WithCertificateArn(const char * value)82     inline ImportCertificateResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
83 
84   private:
85 
86     Aws::String m_certificateArn;
87   };
88 
89 } // namespace Model
90 } // namespace ACM
91 } // namespace Aws
92