AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetProvisioningProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/ProvisioningProfileStatus.h>
12#include <aws/iot-managed-integrations/model/ProvisioningType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTManagedIntegrations {
26namespace Model {
28 public:
29 AWS_IOTMANAGEDINTEGRATIONS_API GetProvisioningProfileResult() = default;
31 AWS_IOTMANAGEDINTEGRATIONS_API GetProvisioningProfileResult& operator=(
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
73 inline ProvisioningType GetProvisioningType() const { return m_provisioningType; }
75 m_provisioningTypeHasBeenSet = true;
76 m_provisioningType = value;
77 }
83
85
88 inline const Aws::String& GetId() const { return m_id; }
89 template <typename IdT = Aws::String>
90 void SetId(IdT&& value) {
91 m_idHasBeenSet = true;
92 m_id = std::forward<IdT>(value);
93 }
94 template <typename IdT = Aws::String>
96 SetId(std::forward<IdT>(value));
97 return *this;
98 }
100
102
105 inline ProvisioningProfileStatus GetStatus() const { return m_status; }
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::String& GetClaimCertificate() const { return m_claimCertificate; }
121 template <typename ClaimCertificateT = Aws::String>
122 void SetClaimCertificate(ClaimCertificateT&& value) {
123 m_claimCertificateHasBeenSet = true;
124 m_claimCertificate = std::forward<ClaimCertificateT>(value);
125 }
126 template <typename ClaimCertificateT = Aws::String>
128 SetClaimCertificate(std::forward<ClaimCertificateT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
139 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 void SetTags(TagsT&& value) {
141 m_tagsHasBeenSet = true;
142 m_tags = std::forward<TagsT>(value);
143 }
144 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 SetTags(std::forward<TagsT>(value));
147 return *this;
148 }
149 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
150 GetProvisioningProfileResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
151 m_tagsHasBeenSet = true;
152 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
153 return *this;
154 }
156
158
159 inline const Aws::String& GetRequestId() const { return m_requestId; }
160 template <typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) {
162 m_requestIdHasBeenSet = true;
163 m_requestId = std::forward<RequestIdT>(value);
164 }
165 template <typename RequestIdT = Aws::String>
167 SetRequestId(std::forward<RequestIdT>(value));
168 return *this;
169 }
171 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
172
173 private:
174 Aws::String m_arn;
175
176 Aws::String m_name;
177
179
180 Aws::String m_id;
181
183
184 Aws::String m_claimCertificate;
185
187
188 Aws::String m_requestId;
189 Aws::Http::HttpResponseCode m_HttpResponseCode;
190 bool m_arnHasBeenSet = false;
191 bool m_nameHasBeenSet = false;
192 bool m_provisioningTypeHasBeenSet = false;
193 bool m_idHasBeenSet = false;
194 bool m_statusHasBeenSet = false;
195 bool m_claimCertificateHasBeenSet = false;
196 bool m_tagsHasBeenSet = false;
197 bool m_requestIdHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace IoTManagedIntegrations
202} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetProvisioningProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProvisioningProfileResult & WithStatus(ProvisioningProfileStatus value)
GetProvisioningProfileResult & WithClaimCertificate(ClaimCertificateT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetProvisioningProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProvisioningProfileResult & WithProvisioningType(ProvisioningType value)
AWS_IOTMANAGEDINTEGRATIONS_API GetProvisioningProfileResult()=default
GetProvisioningProfileResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue