AWS SDK for C++  1.9.132
AWS SDK for C++
CreateProvisioningClaimResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
41 
45  inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; }
46 
50  inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); }
51 
55  inline void SetCertificateId(const char* value) { m_certificateId.assign(value); }
56 
60  inline CreateProvisioningClaimResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
61 
65  inline CreateProvisioningClaimResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
66 
70  inline CreateProvisioningClaimResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
71 
72 
76  inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
77 
81  inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
82 
86  inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
87 
91  inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
92 
96  inline CreateProvisioningClaimResult& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;}
97 
101  inline CreateProvisioningClaimResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
102 
106  inline CreateProvisioningClaimResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
107 
108 
112  inline const KeyPair& GetKeyPair() const{ return m_keyPair; }
113 
117  inline void SetKeyPair(const KeyPair& value) { m_keyPair = value; }
118 
122  inline void SetKeyPair(KeyPair&& value) { m_keyPair = std::move(value); }
123 
127  inline CreateProvisioningClaimResult& WithKeyPair(const KeyPair& value) { SetKeyPair(value); return *this;}
128 
132  inline CreateProvisioningClaimResult& WithKeyPair(KeyPair&& value) { SetKeyPair(std::move(value)); return *this;}
133 
134 
138  inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; }
139 
143  inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expiration = value; }
144 
148  inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expiration = std::move(value); }
149 
153  inline CreateProvisioningClaimResult& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;}
154 
158  inline CreateProvisioningClaimResult& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;}
159 
160  private:
161 
162  Aws::String m_certificateId;
163 
164  Aws::String m_certificatePem;
165 
166  KeyPair m_keyPair;
167 
168  Aws::Utils::DateTime m_expiration;
169  };
170 
171 } // namespace Model
172 } // namespace IoT
173 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateProvisioningClaimResult::WithCertificateId
CreateProvisioningClaimResult & WithCertificateId(const char *value)
Definition: CreateProvisioningClaimResult.h:70
Aws::IoT::Model::CreateProvisioningClaimResult::WithCertificatePem
CreateProvisioningClaimResult & WithCertificatePem(Aws::String &&value)
Definition: CreateProvisioningClaimResult.h:101
Aws::IoT::Model::CreateProvisioningClaimResult::SetKeyPair
void SetKeyPair(const KeyPair &value)
Definition: CreateProvisioningClaimResult.h:117
Aws::IoT::Model::CreateProvisioningClaimResult::SetExpiration
void SetExpiration(const Aws::Utils::DateTime &value)
Definition: CreateProvisioningClaimResult.h:143
Aws::IoT::Model::CreateProvisioningClaimResult::SetCertificatePem
void SetCertificatePem(const Aws::String &value)
Definition: CreateProvisioningClaimResult.h:81
Aws::IoT::Model::CreateProvisioningClaimResult::WithCertificatePem
CreateProvisioningClaimResult & WithCertificatePem(const Aws::String &value)
Definition: CreateProvisioningClaimResult.h:96
Aws::IoT::Model::CreateProvisioningClaimResult::SetCertificateId
void SetCertificateId(const char *value)
Definition: CreateProvisioningClaimResult.h:55
Aws::IoT::Model::CreateProvisioningClaimResult::GetCertificatePem
const Aws::String & GetCertificatePem() const
Definition: CreateProvisioningClaimResult.h:76
DateTime.h
Aws::IoT::Model::CreateProvisioningClaimResult::CreateProvisioningClaimResult
CreateProvisioningClaimResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateProvisioningClaimResult::SetCertificatePem
void SetCertificatePem(Aws::String &&value)
Definition: CreateProvisioningClaimResult.h:86
Aws::IoT::Model::CreateProvisioningClaimResult::SetCertificatePem
void SetCertificatePem(const char *value)
Definition: CreateProvisioningClaimResult.h:91
Aws::IoT::Model::CreateProvisioningClaimResult::WithCertificateId
CreateProvisioningClaimResult & WithCertificateId(const Aws::String &value)
Definition: CreateProvisioningClaimResult.h:60
Aws::IoT::Model::CreateProvisioningClaimResult::WithKeyPair
CreateProvisioningClaimResult & WithKeyPair(KeyPair &&value)
Definition: CreateProvisioningClaimResult.h:132
Aws::IoT::Model::KeyPair
Definition: KeyPair.h:32
Aws::IoT::Model::CreateProvisioningClaimResult::WithCertificatePem
CreateProvisioningClaimResult & WithCertificatePem(const char *value)
Definition: CreateProvisioningClaimResult.h:106
KeyPair.h
Aws::IoT::Model::CreateProvisioningClaimResult::CreateProvisioningClaimResult
CreateProvisioningClaimResult()
Aws::IoT::Model::CreateProvisioningClaimResult::WithKeyPair
CreateProvisioningClaimResult & WithKeyPair(const KeyPair &value)
Definition: CreateProvisioningClaimResult.h:127
Aws::IoT::Model::CreateProvisioningClaimResult::SetKeyPair
void SetKeyPair(KeyPair &&value)
Definition: CreateProvisioningClaimResult.h:122
AWSString.h
Aws::IoT::Model::CreateProvisioningClaimResult::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: CreateProvisioningClaimResult.h:50
Aws::IoT::Model::CreateProvisioningClaimResult::WithExpiration
CreateProvisioningClaimResult & WithExpiration(const Aws::Utils::DateTime &value)
Definition: CreateProvisioningClaimResult.h:153
Aws::IoT::Model::CreateProvisioningClaimResult::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: CreateProvisioningClaimResult.h:40
Aws::IoT::Model::CreateProvisioningClaimResult::operator=
CreateProvisioningClaimResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateProvisioningClaimResult::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: CreateProvisioningClaimResult.h:45
Aws
Definition: AccessManagementClient.h:15
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::CreateProvisioningClaimResult::SetExpiration
void SetExpiration(Aws::Utils::DateTime &&value)
Definition: CreateProvisioningClaimResult.h:148
Aws::IoT::Model::CreateProvisioningClaimResult::GetKeyPair
const KeyPair & GetKeyPair() const
Definition: CreateProvisioningClaimResult.h:112
Aws::IoT::Model::CreateProvisioningClaimResult::WithCertificateId
CreateProvisioningClaimResult & WithCertificateId(Aws::String &&value)
Definition: CreateProvisioningClaimResult.h:65
Aws::IoT::Model::CreateProvisioningClaimResult::GetExpiration
const Aws::Utils::DateTime & GetExpiration() const
Definition: CreateProvisioningClaimResult.h:138
Aws::IoT::Model::CreateProvisioningClaimResult
Definition: CreateProvisioningClaimResult.h:30
Aws::IoT::Model::CreateProvisioningClaimResult::WithExpiration
CreateProvisioningClaimResult & WithExpiration(Aws::Utils::DateTime &&value)
Definition: CreateProvisioningClaimResult.h:158
IoT_EXPORTS.h