AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
GetCredentialProviderPoolResult.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/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
11#include <aws/credentialbroker-control/model/EncryptionConfiguration.h>
12#include <aws/credentialbroker-control/model/IdentityCenterConfiguration.h>
13#include <aws/credentialbroker-control/model/Status.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CredentialBrokerControl {
27namespace Model {
29 public:
30 AWS_CREDENTIALBROKERCONTROL_API GetCredentialProviderPoolResult() = default;
32 AWS_CREDENTIALBROKERCONTROL_API GetCredentialProviderPoolResult& operator=(
34
36
41 inline const Aws::String& GetCredentialProviderPoolArn() const { return m_credentialProviderPoolArn; }
42 template <typename CredentialProviderPoolArnT = Aws::String>
43 void SetCredentialProviderPoolArn(CredentialProviderPoolArnT&& value) {
44 m_credentialProviderPoolArnHasBeenSet = true;
45 m_credentialProviderPoolArn = std::forward<CredentialProviderPoolArnT>(value);
46 }
47 template <typename CredentialProviderPoolArnT = Aws::String>
49 SetCredentialProviderPoolArn(std::forward<CredentialProviderPoolArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetCredentialProviderPoolId() const { return m_credentialProviderPoolId; }
61 template <typename CredentialProviderPoolIdT = Aws::String>
62 void SetCredentialProviderPoolId(CredentialProviderPoolIdT&& value) {
63 m_credentialProviderPoolIdHasBeenSet = true;
64 m_credentialProviderPoolId = std::forward<CredentialProviderPoolIdT>(value);
65 }
66 template <typename CredentialProviderPoolIdT = Aws::String>
68 SetCredentialProviderPoolId(std::forward<CredentialProviderPoolIdT>(value));
69 return *this;
70 }
72
74
80 inline const Aws::String& GetName() const { return m_name; }
81 template <typename NameT = Aws::String>
82 void SetName(NameT&& value) {
83 m_nameHasBeenSet = true;
84 m_name = std::forward<NameT>(value);
85 }
86 template <typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
89 return *this;
90 }
92
94
102 inline Status GetStatus() const { return m_status; }
103 inline void SetStatus(Status value) {
104 m_statusHasBeenSet = true;
105 m_status = value;
106 }
108 SetStatus(value);
109 return *this;
110 }
112
114
119 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
120 template <typename EncryptionConfigurationT = EncryptionConfiguration>
121 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
122 m_encryptionConfigurationHasBeenSet = true;
123 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
124 }
125 template <typename EncryptionConfigurationT = EncryptionConfiguration>
127 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
128 return *this;
129 }
131
133
140 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
141 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
142 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
143 m_identityCenterConfigurationHasBeenSet = true;
144 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
145 }
146 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
148 SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value));
149 return *this;
150 }
152
154
161 inline const Aws::String& GetIdentityCenterApplicationArn() const { return m_identityCenterApplicationArn; }
162 template <typename IdentityCenterApplicationArnT = Aws::String>
163 void SetIdentityCenterApplicationArn(IdentityCenterApplicationArnT&& value) {
164 m_identityCenterApplicationArnHasBeenSet = true;
165 m_identityCenterApplicationArn = std::forward<IdentityCenterApplicationArnT>(value);
166 }
167 template <typename IdentityCenterApplicationArnT = Aws::String>
169 SetIdentityCenterApplicationArn(std::forward<IdentityCenterApplicationArnT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
179 template <typename StatusReasonT = Aws::String>
180 void SetStatusReason(StatusReasonT&& value) {
181 m_statusReasonHasBeenSet = true;
182 m_statusReason = std::forward<StatusReasonT>(value);
183 }
184 template <typename StatusReasonT = Aws::String>
186 SetStatusReason(std::forward<StatusReasonT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
196 template <typename CreatedAtT = Aws::Utils::DateTime>
197 void SetCreatedAt(CreatedAtT&& value) {
198 m_createdAtHasBeenSet = true;
199 m_createdAt = std::forward<CreatedAtT>(value);
200 }
201 template <typename CreatedAtT = Aws::Utils::DateTime>
203 SetCreatedAt(std::forward<CreatedAtT>(value));
204 return *this;
205 }
207
209
213 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
214 template <typename UpdatedAtT = Aws::Utils::DateTime>
215 void SetUpdatedAt(UpdatedAtT&& value) {
216 m_updatedAtHasBeenSet = true;
217 m_updatedAt = std::forward<UpdatedAtT>(value);
218 }
219 template <typename UpdatedAtT = Aws::Utils::DateTime>
221 SetUpdatedAt(std::forward<UpdatedAtT>(value));
222 return *this;
223 }
225
227
228 inline const Aws::String& GetRequestId() const { return m_requestId; }
229 template <typename RequestIdT = Aws::String>
230 void SetRequestId(RequestIdT&& value) {
231 m_requestIdHasBeenSet = true;
232 m_requestId = std::forward<RequestIdT>(value);
233 }
234 template <typename RequestIdT = Aws::String>
236 SetRequestId(std::forward<RequestIdT>(value));
237 return *this;
238 }
240 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
241
242 private:
243 Aws::String m_credentialProviderPoolArn;
244
245 Aws::String m_credentialProviderPoolId;
246
247 Aws::String m_name;
248
249 Status m_status{Status::NOT_SET};
250
251 EncryptionConfiguration m_encryptionConfiguration;
252
253 IdentityCenterConfiguration m_identityCenterConfiguration;
254
255 Aws::String m_identityCenterApplicationArn;
256
257 Aws::String m_statusReason;
258
259 Aws::Utils::DateTime m_createdAt{};
260
261 Aws::Utils::DateTime m_updatedAt{};
262
263 Aws::String m_requestId;
264 Aws::Http::HttpResponseCode m_HttpResponseCode;
265 bool m_credentialProviderPoolArnHasBeenSet = false;
266 bool m_credentialProviderPoolIdHasBeenSet = false;
267 bool m_nameHasBeenSet = false;
268 bool m_statusHasBeenSet = false;
269 bool m_encryptionConfigurationHasBeenSet = false;
270 bool m_identityCenterConfigurationHasBeenSet = false;
271 bool m_identityCenterApplicationArnHasBeenSet = false;
272 bool m_statusReasonHasBeenSet = false;
273 bool m_createdAtHasBeenSet = false;
274 bool m_updatedAtHasBeenSet = false;
275 bool m_requestIdHasBeenSet = false;
276};
277
278} // namespace Model
279} // namespace CredentialBrokerControl
280} // namespace Aws
GetCredentialProviderPoolResult & WithCredentialProviderPoolId(CredentialProviderPoolIdT &&value)
GetCredentialProviderPoolResult & WithCredentialProviderPoolArn(CredentialProviderPoolArnT &&value)
AWS_CREDENTIALBROKERCONTROL_API GetCredentialProviderPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCredentialProviderPoolResult & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
GetCredentialProviderPoolResult & WithIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
AWS_CREDENTIALBROKERCONTROL_API GetCredentialProviderPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCredentialProviderPoolResult & WithStatusReason(StatusReasonT &&value)
AWS_CREDENTIALBROKERCONTROL_API GetCredentialProviderPoolResult()=default
GetCredentialProviderPoolResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue