AWS SDK for C++

AWS SDK for C++ Version 1.11.793

Loading...
Searching...
No Matches
GetApplicationResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/ApplicationStatus.h>
13#include <aws/qbusiness/model/AppliedAttachmentsConfiguration.h>
14#include <aws/qbusiness/model/AutoSubscriptionConfiguration.h>
15#include <aws/qbusiness/model/EncryptionConfiguration.h>
16#include <aws/qbusiness/model/ErrorDetail.h>
17#include <aws/qbusiness/model/IdentityType.h>
18#include <aws/qbusiness/model/PersonalizationConfiguration.h>
19#include <aws/qbusiness/model/QAppsConfiguration.h>
20#include <aws/qbusiness/model/QuickSightConfiguration.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace QBusiness {
34namespace Model {
36 public:
37 AWS_QBUSINESS_API GetApplicationResult() = default;
40
42
45 inline const Aws::String& GetDisplayName() const { return m_displayName; }
46 template <typename DisplayNameT = Aws::String>
48 m_displayNameHasBeenSet = true;
49 m_displayName = std::forward<DisplayNameT>(value);
50 }
51 template <typename DisplayNameT = Aws::String>
53 SetDisplayName(std::forward<DisplayNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
63 template <typename ApplicationIdT = Aws::String>
65 m_applicationIdHasBeenSet = true;
66 m_applicationId = std::forward<ApplicationIdT>(value);
67 }
68 template <typename ApplicationIdT = Aws::String>
70 SetApplicationId(std::forward<ApplicationIdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
80 template <typename ApplicationArnT = Aws::String>
82 m_applicationArnHasBeenSet = true;
83 m_applicationArn = std::forward<ApplicationArnT>(value);
84 }
85 template <typename ApplicationArnT = Aws::String>
87 SetApplicationArn(std::forward<ApplicationArnT>(value));
88 return *this;
89 }
91
93
96 inline IdentityType GetIdentityType() const { return m_identityType; }
97 inline void SetIdentityType(IdentityType value) {
98 m_identityTypeHasBeenSet = true;
99 m_identityType = value;
100 }
102 SetIdentityType(value);
103 return *this;
104 }
106
108
112 inline const Aws::String& GetIamIdentityProviderArn() const { return m_iamIdentityProviderArn; }
113 template <typename IamIdentityProviderArnT = Aws::String>
115 m_iamIdentityProviderArnHasBeenSet = true;
116 m_iamIdentityProviderArn = std::forward<IamIdentityProviderArnT>(value);
117 }
118 template <typename IamIdentityProviderArnT = Aws::String>
120 SetIamIdentityProviderArn(std::forward<IamIdentityProviderArnT>(value));
121 return *this;
122 }
124
126
130 inline const Aws::String& GetIdentityCenterApplicationArn() const { return m_identityCenterApplicationArn; }
131 template <typename IdentityCenterApplicationArnT = Aws::String>
133 m_identityCenterApplicationArnHasBeenSet = true;
134 m_identityCenterApplicationArn = std::forward<IdentityCenterApplicationArnT>(value);
135 }
136 template <typename IdentityCenterApplicationArnT = Aws::String>
138 SetIdentityCenterApplicationArn(std::forward<IdentityCenterApplicationArnT>(value));
139 return *this;
140 }
142
144
148 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
149 template <typename RoleArnT = Aws::String>
150 void SetRoleArn(RoleArnT&& value) {
151 m_roleArnHasBeenSet = true;
152 m_roleArn = std::forward<RoleArnT>(value);
153 }
154 template <typename RoleArnT = Aws::String>
156 SetRoleArn(std::forward<RoleArnT>(value));
157 return *this;
158 }
160
162
165 inline ApplicationStatus GetStatus() const { return m_status; }
166 inline void SetStatus(ApplicationStatus value) {
167 m_statusHasBeenSet = true;
168 m_status = value;
169 }
171 SetStatus(value);
172 return *this;
173 }
175
177
180 inline const Aws::String& GetDescription() const { return m_description; }
181 template <typename DescriptionT = Aws::String>
183 m_descriptionHasBeenSet = true;
184 m_description = std::forward<DescriptionT>(value);
185 }
186 template <typename DescriptionT = Aws::String>
188 SetDescription(std::forward<DescriptionT>(value));
189 return *this;
190 }
192
194
198 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
199 template <typename EncryptionConfigurationT = EncryptionConfiguration>
201 m_encryptionConfigurationHasBeenSet = true;
202 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
203 }
204 template <typename EncryptionConfigurationT = EncryptionConfiguration>
206 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
207 return *this;
208 }
210
212
216 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
217 template <typename CreatedAtT = Aws::Utils::DateTime>
218 void SetCreatedAt(CreatedAtT&& value) {
219 m_createdAtHasBeenSet = true;
220 m_createdAt = std::forward<CreatedAtT>(value);
221 }
222 template <typename CreatedAtT = Aws::Utils::DateTime>
224 SetCreatedAt(std::forward<CreatedAtT>(value));
225 return *this;
226 }
228
230
234 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
235 template <typename UpdatedAtT = Aws::Utils::DateTime>
236 void SetUpdatedAt(UpdatedAtT&& value) {
237 m_updatedAtHasBeenSet = true;
238 m_updatedAt = std::forward<UpdatedAtT>(value);
239 }
240 template <typename UpdatedAtT = Aws::Utils::DateTime>
242 SetUpdatedAt(std::forward<UpdatedAtT>(value));
243 return *this;
244 }
246
248
253 inline const ErrorDetail& GetError() const { return m_error; }
254 template <typename ErrorT = ErrorDetail>
255 void SetError(ErrorT&& value) {
256 m_errorHasBeenSet = true;
257 m_error = std::forward<ErrorT>(value);
258 }
259 template <typename ErrorT = ErrorDetail>
261 SetError(std::forward<ErrorT>(value));
262 return *this;
263 }
265
267
270 inline const AppliedAttachmentsConfiguration& GetAttachmentsConfiguration() const { return m_attachmentsConfiguration; }
271 template <typename AttachmentsConfigurationT = AppliedAttachmentsConfiguration>
273 m_attachmentsConfigurationHasBeenSet = true;
274 m_attachmentsConfiguration = std::forward<AttachmentsConfigurationT>(value);
275 }
276 template <typename AttachmentsConfigurationT = AppliedAttachmentsConfiguration>
278 SetAttachmentsConfiguration(std::forward<AttachmentsConfigurationT>(value));
279 return *this;
280 }
282
284
288 inline const QAppsConfiguration& GetQAppsConfiguration() const { return m_qAppsConfiguration; }
289 template <typename QAppsConfigurationT = QAppsConfiguration>
291 m_qAppsConfigurationHasBeenSet = true;
292 m_qAppsConfiguration = std::forward<QAppsConfigurationT>(value);
293 }
294 template <typename QAppsConfigurationT = QAppsConfiguration>
296 SetQAppsConfiguration(std::forward<QAppsConfigurationT>(value));
297 return *this;
298 }
300
302
308 inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const { return m_personalizationConfiguration; }
309 template <typename PersonalizationConfigurationT = PersonalizationConfiguration>
311 m_personalizationConfigurationHasBeenSet = true;
312 m_personalizationConfiguration = std::forward<PersonalizationConfigurationT>(value);
313 }
314 template <typename PersonalizationConfigurationT = PersonalizationConfiguration>
316 SetPersonalizationConfiguration(std::forward<PersonalizationConfigurationT>(value));
317 return *this;
318 }
320
322
326 inline const AutoSubscriptionConfiguration& GetAutoSubscriptionConfiguration() const { return m_autoSubscriptionConfiguration; }
327 template <typename AutoSubscriptionConfigurationT = AutoSubscriptionConfiguration>
329 m_autoSubscriptionConfigurationHasBeenSet = true;
330 m_autoSubscriptionConfiguration = std::forward<AutoSubscriptionConfigurationT>(value);
331 }
332 template <typename AutoSubscriptionConfigurationT = AutoSubscriptionConfiguration>
334 SetAutoSubscriptionConfiguration(std::forward<AutoSubscriptionConfigurationT>(value));
335 return *this;
336 }
338
340
343 inline const Aws::Vector<Aws::String>& GetClientIdsForOIDC() const { return m_clientIdsForOIDC; }
344 template <typename ClientIdsForOIDCT = Aws::Vector<Aws::String>>
346 m_clientIdsForOIDCHasBeenSet = true;
347 m_clientIdsForOIDC = std::forward<ClientIdsForOIDCT>(value);
348 }
349 template <typename ClientIdsForOIDCT = Aws::Vector<Aws::String>>
351 SetClientIdsForOIDC(std::forward<ClientIdsForOIDCT>(value));
352 return *this;
353 }
354 template <typename ClientIdsForOIDCT = Aws::String>
356 m_clientIdsForOIDCHasBeenSet = true;
357 m_clientIdsForOIDC.emplace_back(std::forward<ClientIdsForOIDCT>(value));
358 return *this;
359 }
361
363
367 inline const QuickSightConfiguration& GetQuickSightConfiguration() const { return m_quickSightConfiguration; }
368 template <typename QuickSightConfigurationT = QuickSightConfiguration>
370 m_quickSightConfigurationHasBeenSet = true;
371 m_quickSightConfiguration = std::forward<QuickSightConfigurationT>(value);
372 }
373 template <typename QuickSightConfigurationT = QuickSightConfiguration>
375 SetQuickSightConfiguration(std::forward<QuickSightConfigurationT>(value));
376 return *this;
377 }
379
381
382 inline const Aws::String& GetRequestId() const { return m_requestId; }
383 template <typename RequestIdT = Aws::String>
384 void SetRequestId(RequestIdT&& value) {
385 m_requestIdHasBeenSet = true;
386 m_requestId = std::forward<RequestIdT>(value);
387 }
388 template <typename RequestIdT = Aws::String>
390 SetRequestId(std::forward<RequestIdT>(value));
391 return *this;
392 }
394 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
395
396 private:
397 Aws::String m_displayName;
398
399 Aws::String m_applicationId;
400
401 Aws::String m_applicationArn;
402
403 IdentityType m_identityType{IdentityType::NOT_SET};
404
405 Aws::String m_iamIdentityProviderArn;
406
407 Aws::String m_identityCenterApplicationArn;
408
409 Aws::String m_roleArn;
410
412
413 Aws::String m_description;
414
415 EncryptionConfiguration m_encryptionConfiguration;
416
417 Aws::Utils::DateTime m_createdAt{};
418
419 Aws::Utils::DateTime m_updatedAt{};
420
421 ErrorDetail m_error;
422
423 AppliedAttachmentsConfiguration m_attachmentsConfiguration;
424
425 QAppsConfiguration m_qAppsConfiguration;
426
427 PersonalizationConfiguration m_personalizationConfiguration;
428
429 AutoSubscriptionConfiguration m_autoSubscriptionConfiguration;
430
431 Aws::Vector<Aws::String> m_clientIdsForOIDC;
432
433 QuickSightConfiguration m_quickSightConfiguration;
434
435 Aws::String m_requestId;
436 Aws::Http::HttpResponseCode m_HttpResponseCode;
437 bool m_displayNameHasBeenSet = false;
438 bool m_applicationIdHasBeenSet = false;
439 bool m_applicationArnHasBeenSet = false;
440 bool m_identityTypeHasBeenSet = false;
441 bool m_iamIdentityProviderArnHasBeenSet = false;
442 bool m_identityCenterApplicationArnHasBeenSet = false;
443 bool m_roleArnHasBeenSet = false;
444 bool m_statusHasBeenSet = false;
445 bool m_descriptionHasBeenSet = false;
446 bool m_encryptionConfigurationHasBeenSet = false;
447 bool m_createdAtHasBeenSet = false;
448 bool m_updatedAtHasBeenSet = false;
449 bool m_errorHasBeenSet = false;
450 bool m_attachmentsConfigurationHasBeenSet = false;
451 bool m_qAppsConfigurationHasBeenSet = false;
452 bool m_personalizationConfigurationHasBeenSet = false;
453 bool m_autoSubscriptionConfigurationHasBeenSet = false;
454 bool m_clientIdsForOIDCHasBeenSet = false;
455 bool m_quickSightConfigurationHasBeenSet = false;
456 bool m_requestIdHasBeenSet = false;
457};
458
459} // namespace Model
460} // namespace QBusiness
461} // namespace Aws
GetApplicationResult & WithApplicationArn(ApplicationArnT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
const PersonalizationConfiguration & GetPersonalizationConfiguration() const
const AutoSubscriptionConfiguration & GetAutoSubscriptionConfiguration() const
GetApplicationResult & WithDescription(DescriptionT &&value)
GetApplicationResult & WithError(ErrorT &&value)
GetApplicationResult & WithDisplayName(DisplayNameT &&value)
void SetAttachmentsConfiguration(AttachmentsConfigurationT &&value)
GetApplicationResult & WithAutoSubscriptionConfiguration(AutoSubscriptionConfigurationT &&value)
GetApplicationResult & WithRoleArn(RoleArnT &&value)
const AppliedAttachmentsConfiguration & GetAttachmentsConfiguration() const
GetApplicationResult & WithCreatedAt(CreatedAtT &&value)
const QuickSightConfiguration & GetQuickSightConfiguration() const
GetApplicationResult & WithApplicationId(ApplicationIdT &&value)
GetApplicationResult & WithPersonalizationConfiguration(PersonalizationConfigurationT &&value)
GetApplicationResult & WithClientIdsForOIDC(ClientIdsForOIDCT &&value)
void SetQAppsConfiguration(QAppsConfigurationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetApplicationResult & WithAttachmentsConfiguration(AttachmentsConfigurationT &&value)
GetApplicationResult & WithIdentityType(IdentityType value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
const Aws::String & GetIamIdentityProviderArn() const
void SetPersonalizationConfiguration(PersonalizationConfigurationT &&value)
void SetQuickSightConfiguration(QuickSightConfigurationT &&value)
GetApplicationResult & WithRequestId(RequestIdT &&value)
AWS_QBUSINESS_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApplicationArn(ApplicationArnT &&value)
GetApplicationResult & WithQuickSightConfiguration(QuickSightConfigurationT &&value)
void SetAutoSubscriptionConfiguration(AutoSubscriptionConfigurationT &&value)
GetApplicationResult & AddClientIdsForOIDC(ClientIdsForOIDCT &&value)
AWS_QBUSINESS_API GetApplicationResult()=default
const Aws::Vector< Aws::String > & GetClientIdsForOIDC() const
GetApplicationResult & WithUpdatedAt(UpdatedAtT &&value)
const QAppsConfiguration & GetQAppsConfiguration() const
const Aws::String & GetIdentityCenterApplicationArn() const
GetApplicationResult & WithQAppsConfiguration(QAppsConfigurationT &&value)
GetApplicationResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetClientIdsForOIDC(ClientIdsForOIDCT &&value)
AWS_QBUSINESS_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIamIdentityProviderArn(IamIdentityProviderArnT &&value)
GetApplicationResult & WithIamIdentityProviderArn(IamIdentityProviderArnT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
GetApplicationResult & WithIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
GetApplicationResult & WithStatus(ApplicationStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue