AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProvisioningClaimResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/KeyPair.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
42 inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; }
43 inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); }
44 inline void SetCertificateId(const char* value) { m_certificateId.assign(value); }
45 inline CreateProvisioningClaimResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
46 inline CreateProvisioningClaimResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
47 inline CreateProvisioningClaimResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
49
51
54 inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
55 inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
56 inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
57 inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
59 inline CreateProvisioningClaimResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
60 inline CreateProvisioningClaimResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
62
64
67 inline const KeyPair& GetKeyPair() const{ return m_keyPair; }
68 inline void SetKeyPair(const KeyPair& value) { m_keyPair = value; }
69 inline void SetKeyPair(KeyPair&& value) { m_keyPair = std::move(value); }
70 inline CreateProvisioningClaimResult& WithKeyPair(const KeyPair& value) { SetKeyPair(value); return *this;}
71 inline CreateProvisioningClaimResult& WithKeyPair(KeyPair&& value) { SetKeyPair(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; }
79 inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expiration = value; }
80 inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expiration = std::move(value); }
82 inline CreateProvisioningClaimResult& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline CreateProvisioningClaimResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline CreateProvisioningClaimResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline CreateProvisioningClaimResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_certificateId;
98
99 Aws::String m_certificatePem;
100
101 KeyPair m_keyPair;
102
103 Aws::Utils::DateTime m_expiration;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace IoT
110} // namespace Aws
CreateProvisioningClaimResult & WithCertificatePem(const Aws::String &value)
CreateProvisioningClaimResult & WithCertificatePem(Aws::String &&value)
CreateProvisioningClaimResult & WithRequestId(Aws::String &&value)
CreateProvisioningClaimResult & WithRequestId(const char *value)
CreateProvisioningClaimResult & WithRequestId(const Aws::String &value)
CreateProvisioningClaimResult & WithCertificateId(const Aws::String &value)
CreateProvisioningClaimResult & WithCertificatePem(const char *value)
CreateProvisioningClaimResult & WithKeyPair(KeyPair &&value)
AWS_IOT_API CreateProvisioningClaimResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API CreateProvisioningClaimResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProvisioningClaimResult & WithExpiration(Aws::Utils::DateTime &&value)
CreateProvisioningClaimResult & WithCertificateId(const char *value)
CreateProvisioningClaimResult & WithExpiration(const Aws::Utils::DateTime &value)
void SetExpiration(const Aws::Utils::DateTime &value)
CreateProvisioningClaimResult & WithCertificateId(Aws::String &&value)
CreateProvisioningClaimResult & WithKeyPair(const KeyPair &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue