AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/IdentityType.h>
10#include <aws/qbusiness/model/ApplicationStatus.h>
11#include <aws/qbusiness/model/EncryptionConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/qbusiness/model/ErrorDetail.h>
14#include <aws/qbusiness/model/AppliedAttachmentsConfiguration.h>
15#include <aws/qbusiness/model/QAppsConfiguration.h>
16#include <aws/qbusiness/model/PersonalizationConfiguration.h>
17#include <aws/qbusiness/model/AutoSubscriptionConfiguration.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/qbusiness/model/QuickSightConfiguration.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace QBusiness
35{
36namespace Model
37{
39 {
40 public:
41 AWS_QBUSINESS_API GetApplicationResult() = default;
44
45
47
50 inline const Aws::String& GetDisplayName() const { return m_displayName; }
51 template<typename DisplayNameT = Aws::String>
52 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
53 template<typename DisplayNameT = Aws::String>
54 GetApplicationResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
62 template<typename ApplicationIdT = Aws::String>
63 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
64 template<typename ApplicationIdT = Aws::String>
65 GetApplicationResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
73 template<typename ApplicationArnT = Aws::String>
74 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::forward<ApplicationArnT>(value); }
75 template<typename ApplicationArnT = Aws::String>
76 GetApplicationResult& WithApplicationArn(ApplicationArnT&& value) { SetApplicationArn(std::forward<ApplicationArnT>(value)); return *this;}
78
80
83 inline IdentityType GetIdentityType() const { return m_identityType; }
84 inline void SetIdentityType(IdentityType value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
85 inline GetApplicationResult& WithIdentityType(IdentityType value) { SetIdentityType(value); return *this;}
87
89
93 inline const Aws::String& GetIamIdentityProviderArn() const { return m_iamIdentityProviderArn; }
94 template<typename IamIdentityProviderArnT = Aws::String>
95 void SetIamIdentityProviderArn(IamIdentityProviderArnT&& value) { m_iamIdentityProviderArnHasBeenSet = true; m_iamIdentityProviderArn = std::forward<IamIdentityProviderArnT>(value); }
96 template<typename IamIdentityProviderArnT = Aws::String>
97 GetApplicationResult& WithIamIdentityProviderArn(IamIdentityProviderArnT&& value) { SetIamIdentityProviderArn(std::forward<IamIdentityProviderArnT>(value)); return *this;}
99
101
105 inline const Aws::String& GetIdentityCenterApplicationArn() const { return m_identityCenterApplicationArn; }
106 template<typename IdentityCenterApplicationArnT = Aws::String>
107 void SetIdentityCenterApplicationArn(IdentityCenterApplicationArnT&& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = std::forward<IdentityCenterApplicationArnT>(value); }
108 template<typename IdentityCenterApplicationArnT = Aws::String>
109 GetApplicationResult& WithIdentityCenterApplicationArn(IdentityCenterApplicationArnT&& value) { SetIdentityCenterApplicationArn(std::forward<IdentityCenterApplicationArnT>(value)); return *this;}
111
113
117 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
118 template<typename RoleArnT = Aws::String>
119 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
120 template<typename RoleArnT = Aws::String>
121 GetApplicationResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
123
125
128 inline ApplicationStatus GetStatus() const { return m_status; }
129 inline void SetStatus(ApplicationStatus value) { m_statusHasBeenSet = true; m_status = value; }
130 inline GetApplicationResult& WithStatus(ApplicationStatus value) { SetStatus(value); return *this;}
132
134
137 inline const Aws::String& GetDescription() const { return m_description; }
138 template<typename DescriptionT = Aws::String>
139 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
140 template<typename DescriptionT = Aws::String>
141 GetApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
143
145
149 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
150 template<typename EncryptionConfigurationT = EncryptionConfiguration>
151 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
152 template<typename EncryptionConfigurationT = EncryptionConfiguration>
153 GetApplicationResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
155
157
161 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
162 template<typename CreatedAtT = Aws::Utils::DateTime>
163 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
164 template<typename CreatedAtT = Aws::Utils::DateTime>
165 GetApplicationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
167
169
173 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
174 template<typename UpdatedAtT = Aws::Utils::DateTime>
175 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
176 template<typename UpdatedAtT = Aws::Utils::DateTime>
177 GetApplicationResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
179
181
186 inline const ErrorDetail& GetError() const { return m_error; }
187 template<typename ErrorT = ErrorDetail>
188 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
189 template<typename ErrorT = ErrorDetail>
190 GetApplicationResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
192
194
197 inline const AppliedAttachmentsConfiguration& GetAttachmentsConfiguration() const { return m_attachmentsConfiguration; }
198 template<typename AttachmentsConfigurationT = AppliedAttachmentsConfiguration>
199 void SetAttachmentsConfiguration(AttachmentsConfigurationT&& value) { m_attachmentsConfigurationHasBeenSet = true; m_attachmentsConfiguration = std::forward<AttachmentsConfigurationT>(value); }
200 template<typename AttachmentsConfigurationT = AppliedAttachmentsConfiguration>
201 GetApplicationResult& WithAttachmentsConfiguration(AttachmentsConfigurationT&& value) { SetAttachmentsConfiguration(std::forward<AttachmentsConfigurationT>(value)); return *this;}
203
205
209 inline const QAppsConfiguration& GetQAppsConfiguration() const { return m_qAppsConfiguration; }
210 template<typename QAppsConfigurationT = QAppsConfiguration>
211 void SetQAppsConfiguration(QAppsConfigurationT&& value) { m_qAppsConfigurationHasBeenSet = true; m_qAppsConfiguration = std::forward<QAppsConfigurationT>(value); }
212 template<typename QAppsConfigurationT = QAppsConfiguration>
213 GetApplicationResult& WithQAppsConfiguration(QAppsConfigurationT&& value) { SetQAppsConfiguration(std::forward<QAppsConfigurationT>(value)); return *this;}
215
217
223 inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const { return m_personalizationConfiguration; }
224 template<typename PersonalizationConfigurationT = PersonalizationConfiguration>
225 void SetPersonalizationConfiguration(PersonalizationConfigurationT&& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = std::forward<PersonalizationConfigurationT>(value); }
226 template<typename PersonalizationConfigurationT = PersonalizationConfiguration>
227 GetApplicationResult& WithPersonalizationConfiguration(PersonalizationConfigurationT&& value) { SetPersonalizationConfiguration(std::forward<PersonalizationConfigurationT>(value)); return *this;}
229
231
235 inline const AutoSubscriptionConfiguration& GetAutoSubscriptionConfiguration() const { return m_autoSubscriptionConfiguration; }
236 template<typename AutoSubscriptionConfigurationT = AutoSubscriptionConfiguration>
237 void SetAutoSubscriptionConfiguration(AutoSubscriptionConfigurationT&& value) { m_autoSubscriptionConfigurationHasBeenSet = true; m_autoSubscriptionConfiguration = std::forward<AutoSubscriptionConfigurationT>(value); }
238 template<typename AutoSubscriptionConfigurationT = AutoSubscriptionConfiguration>
239 GetApplicationResult& WithAutoSubscriptionConfiguration(AutoSubscriptionConfigurationT&& value) { SetAutoSubscriptionConfiguration(std::forward<AutoSubscriptionConfigurationT>(value)); return *this;}
241
243
246 inline const Aws::Vector<Aws::String>& GetClientIdsForOIDC() const { return m_clientIdsForOIDC; }
247 template<typename ClientIdsForOIDCT = Aws::Vector<Aws::String>>
248 void SetClientIdsForOIDC(ClientIdsForOIDCT&& value) { m_clientIdsForOIDCHasBeenSet = true; m_clientIdsForOIDC = std::forward<ClientIdsForOIDCT>(value); }
249 template<typename ClientIdsForOIDCT = Aws::Vector<Aws::String>>
250 GetApplicationResult& WithClientIdsForOIDC(ClientIdsForOIDCT&& value) { SetClientIdsForOIDC(std::forward<ClientIdsForOIDCT>(value)); return *this;}
251 template<typename ClientIdsForOIDCT = Aws::String>
252 GetApplicationResult& AddClientIdsForOIDC(ClientIdsForOIDCT&& value) { m_clientIdsForOIDCHasBeenSet = true; m_clientIdsForOIDC.emplace_back(std::forward<ClientIdsForOIDCT>(value)); return *this; }
254
256
260 inline const QuickSightConfiguration& GetQuickSightConfiguration() const { return m_quickSightConfiguration; }
261 template<typename QuickSightConfigurationT = QuickSightConfiguration>
262 void SetQuickSightConfiguration(QuickSightConfigurationT&& value) { m_quickSightConfigurationHasBeenSet = true; m_quickSightConfiguration = std::forward<QuickSightConfigurationT>(value); }
263 template<typename QuickSightConfigurationT = QuickSightConfiguration>
264 GetApplicationResult& WithQuickSightConfiguration(QuickSightConfigurationT&& value) { SetQuickSightConfiguration(std::forward<QuickSightConfigurationT>(value)); return *this;}
266
268
269 inline const Aws::String& GetRequestId() const { return m_requestId; }
270 template<typename RequestIdT = Aws::String>
271 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
272 template<typename RequestIdT = Aws::String>
273 GetApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
275 private:
276
277 Aws::String m_displayName;
278 bool m_displayNameHasBeenSet = false;
279
280 Aws::String m_applicationId;
281 bool m_applicationIdHasBeenSet = false;
282
283 Aws::String m_applicationArn;
284 bool m_applicationArnHasBeenSet = false;
285
286 IdentityType m_identityType{IdentityType::NOT_SET};
287 bool m_identityTypeHasBeenSet = false;
288
289 Aws::String m_iamIdentityProviderArn;
290 bool m_iamIdentityProviderArnHasBeenSet = false;
291
292 Aws::String m_identityCenterApplicationArn;
293 bool m_identityCenterApplicationArnHasBeenSet = false;
294
295 Aws::String m_roleArn;
296 bool m_roleArnHasBeenSet = false;
297
299 bool m_statusHasBeenSet = false;
300
301 Aws::String m_description;
302 bool m_descriptionHasBeenSet = false;
303
304 EncryptionConfiguration m_encryptionConfiguration;
305 bool m_encryptionConfigurationHasBeenSet = false;
306
307 Aws::Utils::DateTime m_createdAt{};
308 bool m_createdAtHasBeenSet = false;
309
310 Aws::Utils::DateTime m_updatedAt{};
311 bool m_updatedAtHasBeenSet = false;
312
313 ErrorDetail m_error;
314 bool m_errorHasBeenSet = false;
315
316 AppliedAttachmentsConfiguration m_attachmentsConfiguration;
317 bool m_attachmentsConfigurationHasBeenSet = false;
318
319 QAppsConfiguration m_qAppsConfiguration;
320 bool m_qAppsConfigurationHasBeenSet = false;
321
322 PersonalizationConfiguration m_personalizationConfiguration;
323 bool m_personalizationConfigurationHasBeenSet = false;
324
325 AutoSubscriptionConfiguration m_autoSubscriptionConfiguration;
326 bool m_autoSubscriptionConfigurationHasBeenSet = false;
327
328 Aws::Vector<Aws::String> m_clientIdsForOIDC;
329 bool m_clientIdsForOIDCHasBeenSet = false;
330
331 QuickSightConfiguration m_quickSightConfiguration;
332 bool m_quickSightConfigurationHasBeenSet = false;
333
334 Aws::String m_requestId;
335 bool m_requestIdHasBeenSet = false;
336 };
337
338} // namespace Model
339} // namespace QBusiness
340} // 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