AWS SDK for C++  1.9.157
AWS SDK for C++
ExportCertificateResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.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 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetCertificate() const{ return m_certificate; }
39 
43  inline void SetCertificate(const Aws::String& value) { m_certificate = value; }
44 
48  inline void SetCertificate(Aws::String&& value) { m_certificate = std::move(value); }
49 
53  inline void SetCertificate(const char* value) { m_certificate.assign(value); }
54 
58  inline ExportCertificateResult& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;}
59 
63  inline ExportCertificateResult& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;}
64 
68  inline ExportCertificateResult& WithCertificate(const char* value) { SetCertificate(value); return *this;}
69 
70 
75  inline const Aws::String& GetCertificateChain() const{ return m_certificateChain; }
76 
81  inline void SetCertificateChain(const Aws::String& value) { m_certificateChain = value; }
82 
87  inline void SetCertificateChain(Aws::String&& value) { m_certificateChain = std::move(value); }
88 
93  inline void SetCertificateChain(const char* value) { m_certificateChain.assign(value); }
94 
99  inline ExportCertificateResult& WithCertificateChain(const Aws::String& value) { SetCertificateChain(value); return *this;}
100 
105  inline ExportCertificateResult& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;}
106 
111  inline ExportCertificateResult& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;}
112 
113 
118  inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
119 
124  inline void SetPrivateKey(const Aws::String& value) { m_privateKey = value; }
125 
130  inline void SetPrivateKey(Aws::String&& value) { m_privateKey = std::move(value); }
131 
136  inline void SetPrivateKey(const char* value) { m_privateKey.assign(value); }
137 
142  inline ExportCertificateResult& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
143 
148  inline ExportCertificateResult& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
149 
154  inline ExportCertificateResult& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
155 
156  private:
157 
158  Aws::String m_certificate;
159 
160  Aws::String m_certificateChain;
161 
162  Aws::String m_privateKey;
163  };
164 
165 } // namespace Model
166 } // namespace ACM
167 } // namespace Aws
Aws::ACM::Model::ExportCertificateResult::SetCertificate
void SetCertificate(const char *value)
Definition: ExportCertificateResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ACM::Model::ExportCertificateResult::WithCertificate
ExportCertificateResult & WithCertificate(const char *value)
Definition: ExportCertificateResult.h:68
Aws::ACM::Model::ExportCertificateResult::GetCertificate
const Aws::String & GetCertificate() const
Definition: ExportCertificateResult.h:38
Aws::ACM::Model::ExportCertificateResult::GetCertificateChain
const Aws::String & GetCertificateChain() const
Definition: ExportCertificateResult.h:75
Aws::ACM::Model::ExportCertificateResult::SetCertificate
void SetCertificate(const Aws::String &value)
Definition: ExportCertificateResult.h:43
Aws::ACM::Model::ExportCertificateResult::ExportCertificateResult
ExportCertificateResult()
Aws::ACM::Model::ExportCertificateResult::SetPrivateKey
void SetPrivateKey(const Aws::String &value)
Definition: ExportCertificateResult.h:124
Aws::ACM::Model::ExportCertificateResult::ExportCertificateResult
ExportCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ACM::Model::ExportCertificateResult::GetPrivateKey
const Aws::String & GetPrivateKey() const
Definition: ExportCertificateResult.h:118
Aws::ACM::Model::ExportCertificateResult::WithPrivateKey
ExportCertificateResult & WithPrivateKey(const char *value)
Definition: ExportCertificateResult.h:154
Aws::ACM::Model::ExportCertificateResult::WithPrivateKey
ExportCertificateResult & WithPrivateKey(const Aws::String &value)
Definition: ExportCertificateResult.h:142
Aws::ACM::Model::ExportCertificateResult::WithCertificateChain
ExportCertificateResult & WithCertificateChain(const char *value)
Definition: ExportCertificateResult.h:111
Aws::ACM::Model::ExportCertificateResult::operator=
ExportCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ACM::Model::ExportCertificateResult::SetPrivateKey
void SetPrivateKey(Aws::String &&value)
Definition: ExportCertificateResult.h:130
AWSString.h
Aws::ACM::Model::ExportCertificateResult::SetPrivateKey
void SetPrivateKey(const char *value)
Definition: ExportCertificateResult.h:136
Aws::ACM::Model::ExportCertificateResult::SetCertificate
void SetCertificate(Aws::String &&value)
Definition: ExportCertificateResult.h:48
Aws::ACM::Model::ExportCertificateResult::SetCertificateChain
void SetCertificateChain(const Aws::String &value)
Definition: ExportCertificateResult.h:81
Aws::ACM::Model::ExportCertificateResult
Definition: ExportCertificateResult.h:28
ACM_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ACM::Model::ExportCertificateResult::SetCertificateChain
void SetCertificateChain(Aws::String &&value)
Definition: ExportCertificateResult.h:87
Aws::ACM::Model::ExportCertificateResult::WithCertificate
ExportCertificateResult & WithCertificate(const Aws::String &value)
Definition: ExportCertificateResult.h:58
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::ExportCertificateResult::SetCertificateChain
void SetCertificateChain(const char *value)
Definition: ExportCertificateResult.h:93
Aws::ACM::Model::ExportCertificateResult::WithCertificateChain
ExportCertificateResult & WithCertificateChain(Aws::String &&value)
Definition: ExportCertificateResult.h:105
Aws::ACM::Model::ExportCertificateResult::WithCertificate
ExportCertificateResult & WithCertificate(Aws::String &&value)
Definition: ExportCertificateResult.h:63
Aws::ACM::Model::ExportCertificateResult::WithPrivateKey
ExportCertificateResult & WithPrivateKey(Aws::String &&value)
Definition: ExportCertificateResult.h:148
Aws::ACM::Model::ExportCertificateResult::WithCertificateChain
ExportCertificateResult & WithCertificateChain(const Aws::String &value)
Definition: ExportCertificateResult.h:99