AWS SDK for C++  1.9.123
AWS SDK for C++
CreateCertificateFromCsrResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_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 IoT
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 
51  inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
52 
57  inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
58 
63  inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
64 
69  inline CreateCertificateFromCsrResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
70 
75  inline CreateCertificateFromCsrResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
76 
81  inline CreateCertificateFromCsrResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
82 
83 
88  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
89 
94  inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; }
95 
100  inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); }
101 
106  inline void SetCertificateId(const char* value) { m_certificateId.assign(value); }
107 
112  inline CreateCertificateFromCsrResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
113 
118  inline CreateCertificateFromCsrResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
119 
124  inline CreateCertificateFromCsrResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
125 
126 
130  inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
131 
135  inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
136 
140  inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
141 
145  inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
146 
150  inline CreateCertificateFromCsrResult& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;}
151 
155  inline CreateCertificateFromCsrResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
156 
160  inline CreateCertificateFromCsrResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
161 
162  private:
163 
164  Aws::String m_certificateArn;
165 
166  Aws::String m_certificateId;
167 
168  Aws::String m_certificatePem;
169  };
170 
171 } // namespace Model
172 } // namespace IoT
173 } // namespace Aws
Aws::IoT::Model::CreateCertificateFromCsrResult::GetCertificatePem
const Aws::String & GetCertificatePem() const
Definition: CreateCertificateFromCsrResult.h:130
Aws::IoT::Model::CreateCertificateFromCsrResult::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: CreateCertificateFromCsrResult.h:45
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificatePem
void SetCertificatePem(Aws::String &&value)
Definition: CreateCertificateFromCsrResult.h:140
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificatePem
CreateCertificateFromCsrResult & WithCertificatePem(Aws::String &&value)
Definition: CreateCertificateFromCsrResult.h:155
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificateId
CreateCertificateFromCsrResult & WithCertificateId(Aws::String &&value)
Definition: CreateCertificateFromCsrResult.h:118
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificateId
CreateCertificateFromCsrResult & WithCertificateId(const Aws::String &value)
Definition: CreateCertificateFromCsrResult.h:112
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: CreateCertificateFromCsrResult.h:57
Aws::IoT::Model::CreateCertificateFromCsrResult
Definition: CreateCertificateFromCsrResult.h:34
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificateArn
CreateCertificateFromCsrResult & WithCertificateArn(Aws::String &&value)
Definition: CreateCertificateFromCsrResult.h:75
Aws::IoT::Model::CreateCertificateFromCsrResult::CreateCertificateFromCsrResult
CreateCertificateFromCsrResult()
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificatePem
void SetCertificatePem(const Aws::String &value)
Definition: CreateCertificateFromCsrResult.h:135
AWSString.h
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificatePem
CreateCertificateFromCsrResult & WithCertificatePem(const char *value)
Definition: CreateCertificateFromCsrResult.h:160
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificatePem
CreateCertificateFromCsrResult & WithCertificatePem(const Aws::String &value)
Definition: CreateCertificateFromCsrResult.h:150
Aws::IoT::Model::CreateCertificateFromCsrResult::CreateCertificateFromCsrResult
CreateCertificateFromCsrResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: CreateCertificateFromCsrResult.h:63
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: CreateCertificateFromCsrResult.h:100
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificateId
CreateCertificateFromCsrResult & WithCertificateId(const char *value)
Definition: CreateCertificateFromCsrResult.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificateArn
CreateCertificateFromCsrResult & WithCertificateArn(const char *value)
Definition: CreateCertificateFromCsrResult.h:81
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateCertificateFromCsrResult::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: CreateCertificateFromCsrResult.h:88
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: CreateCertificateFromCsrResult.h:94
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificateId
void SetCertificateId(const char *value)
Definition: CreateCertificateFromCsrResult.h:106
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: CreateCertificateFromCsrResult.h:51
Aws::IoT::Model::CreateCertificateFromCsrResult::SetCertificatePem
void SetCertificatePem(const char *value)
Definition: CreateCertificateFromCsrResult.h:145
Aws::IoT::Model::CreateCertificateFromCsrResult::operator=
CreateCertificateFromCsrResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateCertificateFromCsrResult::WithCertificateArn
CreateCertificateFromCsrResult & WithCertificateArn(const Aws::String &value)
Definition: CreateCertificateFromCsrResult.h:69
IoT_EXPORTS.h