AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/ApplicationStatus.h>
12#include <aws/qbusiness/model/AppliedAttachmentsConfiguration.h>
13#include <aws/qbusiness/model/AutoSubscriptionConfiguration.h>
14#include <aws/qbusiness/model/EncryptionConfiguration.h>
15#include <aws/qbusiness/model/ErrorDetail.h>
16#include <aws/qbusiness/model/IdentityType.h>
17#include <aws/qbusiness/model/PersonalizationConfiguration.h>
18#include <aws/qbusiness/model/QAppsConfiguration.h>
19#include <aws/qbusiness/model/QuickSightConfiguration.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace QBusiness {
33namespace Model {
35 public:
36 AWS_QBUSINESS_API GetApplicationResult() = default;
39
41
44 inline const Aws::String& GetDisplayName() const { return m_displayName; }
45 template <typename DisplayNameT = Aws::String>
47 m_displayNameHasBeenSet = true;
48 m_displayName = std::forward<DisplayNameT>(value);
49 }
50 template <typename DisplayNameT = Aws::String>
52 SetDisplayName(std::forward<DisplayNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
62 template <typename ApplicationIdT = Aws::String>
64 m_applicationIdHasBeenSet = true;
65 m_applicationId = std::forward<ApplicationIdT>(value);
66 }
67 template <typename ApplicationIdT = Aws::String>
69 SetApplicationId(std::forward<ApplicationIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
79 template <typename ApplicationArnT = Aws::String>
81 m_applicationArnHasBeenSet = true;
82 m_applicationArn = std::forward<ApplicationArnT>(value);
83 }
84 template <typename ApplicationArnT = Aws::String>
86 SetApplicationArn(std::forward<ApplicationArnT>(value));
87 return *this;
88 }
90
92
95 inline IdentityType GetIdentityType() const { return m_identityType; }
96 inline void SetIdentityType(IdentityType value) {
97 m_identityTypeHasBeenSet = true;
98 m_identityType = value;
99 }
101 SetIdentityType(value);
102 return *this;
103 }
105
107
111 inline const Aws::String& GetIamIdentityProviderArn() const { return m_iamIdentityProviderArn; }
112 template <typename IamIdentityProviderArnT = Aws::String>
114 m_iamIdentityProviderArnHasBeenSet = true;
115 m_iamIdentityProviderArn = std::forward<IamIdentityProviderArnT>(value);
116 }
117 template <typename IamIdentityProviderArnT = Aws::String>
119 SetIamIdentityProviderArn(std::forward<IamIdentityProviderArnT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::String& GetIdentityCenterApplicationArn() const { return m_identityCenterApplicationArn; }
130 template <typename IdentityCenterApplicationArnT = Aws::String>
132 m_identityCenterApplicationArnHasBeenSet = true;
133 m_identityCenterApplicationArn = std::forward<IdentityCenterApplicationArnT>(value);
134 }
135 template <typename IdentityCenterApplicationArnT = Aws::String>
137 SetIdentityCenterApplicationArn(std::forward<IdentityCenterApplicationArnT>(value));
138 return *this;
139 }
141
143
147 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
148 template <typename RoleArnT = Aws::String>
149 void SetRoleArn(RoleArnT&& value) {
150 m_roleArnHasBeenSet = true;
151 m_roleArn = std::forward<RoleArnT>(value);
152 }
153 template <typename RoleArnT = Aws::String>
155 SetRoleArn(std::forward<RoleArnT>(value));
156 return *this;
157 }
159
161
164 inline ApplicationStatus GetStatus() const { return m_status; }
165 inline void SetStatus(ApplicationStatus value) {
166 m_statusHasBeenSet = true;
167 m_status = value;
168 }
170 SetStatus(value);
171 return *this;
172 }
174
176
179 inline const Aws::String& GetDescription() const { return m_description; }
180 template <typename DescriptionT = Aws::String>
182 m_descriptionHasBeenSet = true;
183 m_description = std::forward<DescriptionT>(value);
184 }
185 template <typename DescriptionT = Aws::String>
187 SetDescription(std::forward<DescriptionT>(value));
188 return *this;
189 }
191
193
197 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
198 template <typename EncryptionConfigurationT = EncryptionConfiguration>
200 m_encryptionConfigurationHasBeenSet = true;
201 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
202 }
203 template <typename EncryptionConfigurationT = EncryptionConfiguration>
205 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
206 return *this;
207 }
209
211
215 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
216 template <typename CreatedAtT = Aws::Utils::DateTime>
217 void SetCreatedAt(CreatedAtT&& value) {
218 m_createdAtHasBeenSet = true;
219 m_createdAt = std::forward<CreatedAtT>(value);
220 }
221 template <typename CreatedAtT = Aws::Utils::DateTime>
223 SetCreatedAt(std::forward<CreatedAtT>(value));
224 return *this;
225 }
227
229
233 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
234 template <typename UpdatedAtT = Aws::Utils::DateTime>
235 void SetUpdatedAt(UpdatedAtT&& value) {
236 m_updatedAtHasBeenSet = true;
237 m_updatedAt = std::forward<UpdatedAtT>(value);
238 }
239 template <typename UpdatedAtT = Aws::Utils::DateTime>
241 SetUpdatedAt(std::forward<UpdatedAtT>(value));
242 return *this;
243 }
245
247
252 inline const ErrorDetail& GetError() const { return m_error; }
253 template <typename ErrorT = ErrorDetail>
254 void SetError(ErrorT&& value) {
255 m_errorHasBeenSet = true;
256 m_error = std::forward<ErrorT>(value);
257 }
258 template <typename ErrorT = ErrorDetail>
260 SetError(std::forward<ErrorT>(value));
261 return *this;
262 }
264
266
269 inline const AppliedAttachmentsConfiguration& GetAttachmentsConfiguration() const { return m_attachmentsConfiguration; }
270 template <typename AttachmentsConfigurationT = AppliedAttachmentsConfiguration>
272 m_attachmentsConfigurationHasBeenSet = true;
273 m_attachmentsConfiguration = std::forward<AttachmentsConfigurationT>(value);
274 }
275 template <typename AttachmentsConfigurationT = AppliedAttachmentsConfiguration>
277 SetAttachmentsConfiguration(std::forward<AttachmentsConfigurationT>(value));
278 return *this;
279 }
281
283
287 inline const QAppsConfiguration& GetQAppsConfiguration() const { return m_qAppsConfiguration; }
288 template <typename QAppsConfigurationT = QAppsConfiguration>
290 m_qAppsConfigurationHasBeenSet = true;
291 m_qAppsConfiguration = std::forward<QAppsConfigurationT>(value);
292 }
293 template <typename QAppsConfigurationT = QAppsConfiguration>
295 SetQAppsConfiguration(std::forward<QAppsConfigurationT>(value));
296 return *this;
297 }
299
301
307 inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const { return m_personalizationConfiguration; }
308 template <typename PersonalizationConfigurationT = PersonalizationConfiguration>
310 m_personalizationConfigurationHasBeenSet = true;
311 m_personalizationConfiguration = std::forward<PersonalizationConfigurationT>(value);
312 }
313 template <typename PersonalizationConfigurationT = PersonalizationConfiguration>
315 SetPersonalizationConfiguration(std::forward<PersonalizationConfigurationT>(value));
316 return *this;
317 }
319
321
325 inline const AutoSubscriptionConfiguration& GetAutoSubscriptionConfiguration() const { return m_autoSubscriptionConfiguration; }
326 template <typename AutoSubscriptionConfigurationT = AutoSubscriptionConfiguration>
328 m_autoSubscriptionConfigurationHasBeenSet = true;
329 m_autoSubscriptionConfiguration = std::forward<AutoSubscriptionConfigurationT>(value);
330 }
331 template <typename AutoSubscriptionConfigurationT = AutoSubscriptionConfiguration>
333 SetAutoSubscriptionConfiguration(std::forward<AutoSubscriptionConfigurationT>(value));
334 return *this;
335 }
337
339
342 inline const Aws::Vector<Aws::String>& GetClientIdsForOIDC() const { return m_clientIdsForOIDC; }
343 template <typename ClientIdsForOIDCT = Aws::Vector<Aws::String>>
345 m_clientIdsForOIDCHasBeenSet = true;
346 m_clientIdsForOIDC = std::forward<ClientIdsForOIDCT>(value);
347 }
348 template <typename ClientIdsForOIDCT = Aws::Vector<Aws::String>>
350 SetClientIdsForOIDC(std::forward<ClientIdsForOIDCT>(value));
351 return *this;
352 }
353 template <typename ClientIdsForOIDCT = Aws::String>
355 m_clientIdsForOIDCHasBeenSet = true;
356 m_clientIdsForOIDC.emplace_back(std::forward<ClientIdsForOIDCT>(value));
357 return *this;
358 }
360
362
366 inline const QuickSightConfiguration& GetQuickSightConfiguration() const { return m_quickSightConfiguration; }
367 template <typename QuickSightConfigurationT = QuickSightConfiguration>
369 m_quickSightConfigurationHasBeenSet = true;
370 m_quickSightConfiguration = std::forward<QuickSightConfigurationT>(value);
371 }
372 template <typename QuickSightConfigurationT = QuickSightConfiguration>
374 SetQuickSightConfiguration(std::forward<QuickSightConfigurationT>(value));
375 return *this;
376 }
378
380
381 inline const Aws::String& GetRequestId() const { return m_requestId; }
382 template <typename RequestIdT = Aws::String>
383 void SetRequestId(RequestIdT&& value) {
384 m_requestIdHasBeenSet = true;
385 m_requestId = std::forward<RequestIdT>(value);
386 }
387 template <typename RequestIdT = Aws::String>
389 SetRequestId(std::forward<RequestIdT>(value));
390 return *this;
391 }
393 private:
394 Aws::String m_displayName;
395
396 Aws::String m_applicationId;
397
398 Aws::String m_applicationArn;
399
400 IdentityType m_identityType{IdentityType::NOT_SET};
401
402 Aws::String m_iamIdentityProviderArn;
403
404 Aws::String m_identityCenterApplicationArn;
405
406 Aws::String m_roleArn;
407
409
410 Aws::String m_description;
411
412 EncryptionConfiguration m_encryptionConfiguration;
413
414 Aws::Utils::DateTime m_createdAt{};
415
416 Aws::Utils::DateTime m_updatedAt{};
417
418 ErrorDetail m_error;
419
420 AppliedAttachmentsConfiguration m_attachmentsConfiguration;
421
422 QAppsConfiguration m_qAppsConfiguration;
423
424 PersonalizationConfiguration m_personalizationConfiguration;
425
426 AutoSubscriptionConfiguration m_autoSubscriptionConfiguration;
427
428 Aws::Vector<Aws::String> m_clientIdsForOIDC;
429
430 QuickSightConfiguration m_quickSightConfiguration;
431
432 Aws::String m_requestId;
433 bool m_displayNameHasBeenSet = false;
434 bool m_applicationIdHasBeenSet = false;
435 bool m_applicationArnHasBeenSet = false;
436 bool m_identityTypeHasBeenSet = false;
437 bool m_iamIdentityProviderArnHasBeenSet = false;
438 bool m_identityCenterApplicationArnHasBeenSet = false;
439 bool m_roleArnHasBeenSet = false;
440 bool m_statusHasBeenSet = false;
441 bool m_descriptionHasBeenSet = false;
442 bool m_encryptionConfigurationHasBeenSet = false;
443 bool m_createdAtHasBeenSet = false;
444 bool m_updatedAtHasBeenSet = false;
445 bool m_errorHasBeenSet = false;
446 bool m_attachmentsConfigurationHasBeenSet = false;
447 bool m_qAppsConfigurationHasBeenSet = false;
448 bool m_personalizationConfigurationHasBeenSet = false;
449 bool m_autoSubscriptionConfigurationHasBeenSet = false;
450 bool m_clientIdsForOIDCHasBeenSet = false;
451 bool m_quickSightConfigurationHasBeenSet = false;
452 bool m_requestIdHasBeenSet = false;
453};
454
455} // namespace Model
456} // namespace QBusiness
457} // 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)
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