AWS SDK for C++  1.9.123
AWS SDK for C++
CreateKeysAndCertificateResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 
50  inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
51 
55  inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
56 
60  inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
61 
65  inline CreateKeysAndCertificateResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
66 
70  inline CreateKeysAndCertificateResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
71 
75  inline CreateKeysAndCertificateResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
76 
77 
82  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
83 
88  inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; }
89 
94  inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); }
95 
100  inline void SetCertificateId(const char* value) { m_certificateId.assign(value); }
101 
106  inline CreateKeysAndCertificateResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
107 
112  inline CreateKeysAndCertificateResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
113 
118  inline CreateKeysAndCertificateResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
119 
120 
124  inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
125 
129  inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
130 
134  inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
135 
139  inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
140 
144  inline CreateKeysAndCertificateResult& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;}
145 
149  inline CreateKeysAndCertificateResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
150 
154  inline CreateKeysAndCertificateResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
155 
156 
160  inline const KeyPair& GetKeyPair() const{ return m_keyPair; }
161 
165  inline void SetKeyPair(const KeyPair& value) { m_keyPair = value; }
166 
170  inline void SetKeyPair(KeyPair&& value) { m_keyPair = std::move(value); }
171 
175  inline CreateKeysAndCertificateResult& WithKeyPair(const KeyPair& value) { SetKeyPair(value); return *this;}
176 
180  inline CreateKeysAndCertificateResult& WithKeyPair(KeyPair&& value) { SetKeyPair(std::move(value)); return *this;}
181 
182  private:
183 
184  Aws::String m_certificateArn;
185 
186  Aws::String m_certificateId;
187 
188  Aws::String m_certificatePem;
189 
190  KeyPair m_keyPair;
191  };
192 
193 } // namespace Model
194 } // namespace IoT
195 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificateArn
CreateKeysAndCertificateResult & WithCertificateArn(const Aws::String &value)
Definition: CreateKeysAndCertificateResult.h:65
Aws::IoT::Model::CreateKeysAndCertificateResult::CreateKeysAndCertificateResult
CreateKeysAndCertificateResult()
Aws::IoT::Model::CreateKeysAndCertificateResult::WithKeyPair
CreateKeysAndCertificateResult & WithKeyPair(KeyPair &&value)
Definition: CreateKeysAndCertificateResult.h:180
Aws::IoT::Model::CreateKeysAndCertificateResult::SetKeyPair
void SetKeyPair(const KeyPair &value)
Definition: CreateKeysAndCertificateResult.h:165
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificateArn
CreateKeysAndCertificateResult & WithCertificateArn(Aws::String &&value)
Definition: CreateKeysAndCertificateResult.h:70
Aws::IoT::Model::CreateKeysAndCertificateResult::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: CreateKeysAndCertificateResult.h:82
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificateId
void SetCertificateId(const char *value)
Definition: CreateKeysAndCertificateResult.h:100
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: CreateKeysAndCertificateResult.h:55
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificatePem
void SetCertificatePem(const char *value)
Definition: CreateKeysAndCertificateResult.h:139
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificatePem
CreateKeysAndCertificateResult & WithCertificatePem(const char *value)
Definition: CreateKeysAndCertificateResult.h:154
Aws::IoT::Model::CreateKeysAndCertificateResult
Definition: CreateKeysAndCertificateResult.h:35
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificateId
CreateKeysAndCertificateResult & WithCertificateId(const char *value)
Definition: CreateKeysAndCertificateResult.h:118
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: CreateKeysAndCertificateResult.h:94
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificatePem
void SetCertificatePem(const Aws::String &value)
Definition: CreateKeysAndCertificateResult.h:129
Aws::IoT::Model::KeyPair
Definition: KeyPair.h:32
KeyPair.h
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: CreateKeysAndCertificateResult.h:60
Aws::IoT::Model::CreateKeysAndCertificateResult::WithKeyPair
CreateKeysAndCertificateResult & WithKeyPair(const KeyPair &value)
Definition: CreateKeysAndCertificateResult.h:175
Aws::IoT::Model::CreateKeysAndCertificateResult::SetKeyPair
void SetKeyPair(KeyPair &&value)
Definition: CreateKeysAndCertificateResult.h:170
AWSString.h
Aws::IoT::Model::CreateKeysAndCertificateResult::CreateKeysAndCertificateResult
CreateKeysAndCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateKeysAndCertificateResult::operator=
CreateKeysAndCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateKeysAndCertificateResult::GetCertificatePem
const Aws::String & GetCertificatePem() const
Definition: CreateKeysAndCertificateResult.h:124
Aws::IoT::Model::CreateKeysAndCertificateResult::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: CreateKeysAndCertificateResult.h:45
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificatePem
void SetCertificatePem(Aws::String &&value)
Definition: CreateKeysAndCertificateResult.h:134
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificateId
CreateKeysAndCertificateResult & WithCertificateId(Aws::String &&value)
Definition: CreateKeysAndCertificateResult.h:112
Aws::IoT::Model::CreateKeysAndCertificateResult::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: CreateKeysAndCertificateResult.h:88
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificateId
CreateKeysAndCertificateResult & WithCertificateId(const Aws::String &value)
Definition: CreateKeysAndCertificateResult.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificatePem
CreateKeysAndCertificateResult & WithCertificatePem(Aws::String &&value)
Definition: CreateKeysAndCertificateResult.h:149
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificateArn
CreateKeysAndCertificateResult & WithCertificateArn(const char *value)
Definition: CreateKeysAndCertificateResult.h:75
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::CreateKeysAndCertificateResult::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: CreateKeysAndCertificateResult.h:50
Aws::IoT::Model::CreateKeysAndCertificateResult::WithCertificatePem
CreateKeysAndCertificateResult & WithCertificatePem(const Aws::String &value)
Definition: CreateKeysAndCertificateResult.h:144
IoT_EXPORTS.h
Aws::IoT::Model::CreateKeysAndCertificateResult::GetKeyPair
const KeyPair & GetKeyPair() const
Definition: CreateKeysAndCertificateResult.h:160