AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateProvisioningProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/ProvisioningProfileStatus.h>
11#include <aws/iot-managed-integrations/model/ProvisioningType.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 IoTManagedIntegrations {
25namespace Model {
27 public:
28 AWS_IOTMANAGEDINTEGRATIONS_API CreateProvisioningProfileResult() = default;
30 AWS_IOTMANAGEDINTEGRATIONS_API CreateProvisioningProfileResult& operator=(
32
34
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
72 inline ProvisioningType GetProvisioningType() const { return m_provisioningType; }
74 m_provisioningTypeHasBeenSet = true;
75 m_provisioningType = value;
76 }
82
84
87 inline const Aws::String& GetId() const { return m_id; }
88 template <typename IdT = Aws::String>
89 void SetId(IdT&& value) {
90 m_idHasBeenSet = true;
91 m_id = std::forward<IdT>(value);
92 }
93 template <typename IdT = Aws::String>
95 SetId(std::forward<IdT>(value));
96 return *this;
97 }
99
101
104 inline ProvisioningProfileStatus GetStatus() const { return m_status; }
106 m_statusHasBeenSet = true;
107 m_status = value;
108 }
110 SetStatus(value);
111 return *this;
112 }
114
116
119 inline const Aws::String& GetClaimCertificate() const { return m_claimCertificate; }
120 template <typename ClaimCertificateT = Aws::String>
121 void SetClaimCertificate(ClaimCertificateT&& value) {
122 m_claimCertificateHasBeenSet = true;
123 m_claimCertificate = std::forward<ClaimCertificateT>(value);
124 }
125 template <typename ClaimCertificateT = Aws::String>
127 SetClaimCertificate(std::forward<ClaimCertificateT>(value));
128 return *this;
129 }
131
133
138 inline const Aws::String& GetClaimCertificatePrivateKey() const { return m_claimCertificatePrivateKey; }
139 template <typename ClaimCertificatePrivateKeyT = Aws::String>
140 void SetClaimCertificatePrivateKey(ClaimCertificatePrivateKeyT&& value) {
141 m_claimCertificatePrivateKeyHasBeenSet = true;
142 m_claimCertificatePrivateKey = std::forward<ClaimCertificatePrivateKeyT>(value);
143 }
144 template <typename ClaimCertificatePrivateKeyT = Aws::String>
146 SetClaimCertificatePrivateKey(std::forward<ClaimCertificatePrivateKeyT>(value));
147 return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template <typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) {
156 m_requestIdHasBeenSet = true;
157 m_requestId = std::forward<RequestIdT>(value);
158 }
159 template <typename RequestIdT = Aws::String>
161 SetRequestId(std::forward<RequestIdT>(value));
162 return *this;
163 }
165 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
166
167 private:
168 Aws::String m_arn;
169
170 Aws::String m_name;
171
173
174 Aws::String m_id;
175
177
178 Aws::String m_claimCertificate;
179
180 Aws::String m_claimCertificatePrivateKey;
181
182 Aws::String m_requestId;
183 Aws::Http::HttpResponseCode m_HttpResponseCode;
184 bool m_arnHasBeenSet = false;
185 bool m_nameHasBeenSet = false;
186 bool m_provisioningTypeHasBeenSet = false;
187 bool m_idHasBeenSet = false;
188 bool m_statusHasBeenSet = false;
189 bool m_claimCertificateHasBeenSet = false;
190 bool m_claimCertificatePrivateKeyHasBeenSet = false;
191 bool m_requestIdHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace IoTManagedIntegrations
196} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API CreateProvisioningProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProvisioningProfileResult & WithStatus(ProvisioningProfileStatus value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateProvisioningProfileResult()=default
CreateProvisioningProfileResult & WithClaimCertificate(ClaimCertificateT &&value)
CreateProvisioningProfileResult & WithClaimCertificatePrivateKey(ClaimCertificatePrivateKeyT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateProvisioningProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProvisioningProfileResult & WithProvisioningType(ProvisioningType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue