AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CreateProvisioningClaimResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/KeyPair.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT {
25namespace Model {
27 public:
28 AWS_IOT_API CreateProvisioningClaimResult() = default;
31
33
36 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
37 template <typename CertificateIdT = Aws::String>
38 void SetCertificateId(CertificateIdT&& value) {
39 m_certificateIdHasBeenSet = true;
40 m_certificateId = std::forward<CertificateIdT>(value);
41 }
42 template <typename CertificateIdT = Aws::String>
44 SetCertificateId(std::forward<CertificateIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetCertificatePem() const { return m_certificatePem; }
54 template <typename CertificatePemT = Aws::String>
55 void SetCertificatePem(CertificatePemT&& value) {
56 m_certificatePemHasBeenSet = true;
57 m_certificatePem = std::forward<CertificatePemT>(value);
58 }
59 template <typename CertificatePemT = Aws::String>
61 SetCertificatePem(std::forward<CertificatePemT>(value));
62 return *this;
63 }
65
67
70 inline const KeyPair& GetKeyPair() const { return m_keyPair; }
71 template <typename KeyPairT = KeyPair>
72 void SetKeyPair(KeyPairT&& value) {
73 m_keyPairHasBeenSet = true;
74 m_keyPair = std::forward<KeyPairT>(value);
75 }
76 template <typename KeyPairT = KeyPair>
78 SetKeyPair(std::forward<KeyPairT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetExpiration() const { return m_expiration; }
88 template <typename ExpirationT = Aws::Utils::DateTime>
89 void SetExpiration(ExpirationT&& value) {
90 m_expirationHasBeenSet = true;
91 m_expiration = std::forward<ExpirationT>(value);
92 }
93 template <typename ExpirationT = Aws::Utils::DateTime>
95 SetExpiration(std::forward<ExpirationT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_certificateId;
118
119 Aws::String m_certificatePem;
120
121 KeyPair m_keyPair;
122
123 Aws::Utils::DateTime m_expiration{};
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_certificateIdHasBeenSet = false;
128 bool m_certificatePemHasBeenSet = false;
129 bool m_keyPairHasBeenSet = false;
130 bool m_expirationHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace IoT
136} // namespace Aws
CreateProvisioningClaimResult & WithCertificatePem(CertificatePemT &&value)
CreateProvisioningClaimResult & WithRequestId(RequestIdT &&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 & WithKeyPair(KeyPairT &&value)
CreateProvisioningClaimResult & WithExpiration(ExpirationT &&value)
CreateProvisioningClaimResult & WithCertificateId(CertificateIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue