AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace QBusiness
34{
35namespace Model
36{
38 {
39 public:
40 AWS_QBUSINESS_API GetApplicationResult();
43
44
46
49 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
50 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
51 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
52 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
53 inline GetApplicationResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
54 inline GetApplicationResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
55 inline GetApplicationResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
57
59
62 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
63 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
64 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
65 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
66 inline GetApplicationResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
67 inline GetApplicationResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
68 inline GetApplicationResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
70
72
75 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
76 inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
77 inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
78 inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
79 inline GetApplicationResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
80 inline GetApplicationResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
81 inline GetApplicationResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
83
85
88 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
89 inline void SetIdentityType(const IdentityType& value) { m_identityType = value; }
90 inline void SetIdentityType(IdentityType&& value) { m_identityType = std::move(value); }
91 inline GetApplicationResult& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
92 inline GetApplicationResult& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetIamIdentityProviderArn() const{ return m_iamIdentityProviderArn; }
101 inline void SetIamIdentityProviderArn(const Aws::String& value) { m_iamIdentityProviderArn = value; }
102 inline void SetIamIdentityProviderArn(Aws::String&& value) { m_iamIdentityProviderArn = std::move(value); }
103 inline void SetIamIdentityProviderArn(const char* value) { m_iamIdentityProviderArn.assign(value); }
106 inline GetApplicationResult& WithIamIdentityProviderArn(const char* value) { SetIamIdentityProviderArn(value); return *this;}
108
110
114 inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; }
115 inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArn = value; }
116 inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArn = std::move(value); }
117 inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArn.assign(value); }
122
124
128 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
129 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
130 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
131 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
132 inline GetApplicationResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
133 inline GetApplicationResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
134 inline GetApplicationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
136
138
141 inline const ApplicationStatus& GetStatus() const{ return m_status; }
142 inline void SetStatus(const ApplicationStatus& value) { m_status = value; }
143 inline void SetStatus(ApplicationStatus&& value) { m_status = std::move(value); }
144 inline GetApplicationResult& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;}
145 inline GetApplicationResult& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
147
149
152 inline const Aws::String& GetDescription() const{ return m_description; }
153 inline void SetDescription(const Aws::String& value) { m_description = value; }
154 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
155 inline void SetDescription(const char* value) { m_description.assign(value); }
156 inline GetApplicationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
157 inline GetApplicationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 inline GetApplicationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
160
162
166 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
167 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfiguration = value; }
168 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfiguration = std::move(value); }
172
174
178 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
179 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
180 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
181 inline GetApplicationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
182 inline GetApplicationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
184
186
190 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
191 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
192 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
193 inline GetApplicationResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
194 inline GetApplicationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
196
198
203 inline const ErrorDetail& GetError() const{ return m_error; }
204 inline void SetError(const ErrorDetail& value) { m_error = value; }
205 inline void SetError(ErrorDetail&& value) { m_error = std::move(value); }
206 inline GetApplicationResult& WithError(const ErrorDetail& value) { SetError(value); return *this;}
207 inline GetApplicationResult& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
209
211
214 inline const AppliedAttachmentsConfiguration& GetAttachmentsConfiguration() const{ return m_attachmentsConfiguration; }
215 inline void SetAttachmentsConfiguration(const AppliedAttachmentsConfiguration& value) { m_attachmentsConfiguration = value; }
216 inline void SetAttachmentsConfiguration(AppliedAttachmentsConfiguration&& value) { m_attachmentsConfiguration = std::move(value); }
220
222
226 inline const QAppsConfiguration& GetQAppsConfiguration() const{ return m_qAppsConfiguration; }
227 inline void SetQAppsConfiguration(const QAppsConfiguration& value) { m_qAppsConfiguration = value; }
228 inline void SetQAppsConfiguration(QAppsConfiguration&& value) { m_qAppsConfiguration = std::move(value); }
230 inline GetApplicationResult& WithQAppsConfiguration(QAppsConfiguration&& value) { SetQAppsConfiguration(std::move(value)); return *this;}
232
234
240 inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const{ return m_personalizationConfiguration; }
241 inline void SetPersonalizationConfiguration(const PersonalizationConfiguration& value) { m_personalizationConfiguration = value; }
242 inline void SetPersonalizationConfiguration(PersonalizationConfiguration&& value) { m_personalizationConfiguration = std::move(value); }
246
248
252 inline const AutoSubscriptionConfiguration& GetAutoSubscriptionConfiguration() const{ return m_autoSubscriptionConfiguration; }
253 inline void SetAutoSubscriptionConfiguration(const AutoSubscriptionConfiguration& value) { m_autoSubscriptionConfiguration = value; }
254 inline void SetAutoSubscriptionConfiguration(AutoSubscriptionConfiguration&& value) { m_autoSubscriptionConfiguration = std::move(value); }
258
260
263 inline const Aws::Vector<Aws::String>& GetClientIdsForOIDC() const{ return m_clientIdsForOIDC; }
264 inline void SetClientIdsForOIDC(const Aws::Vector<Aws::String>& value) { m_clientIdsForOIDC = value; }
265 inline void SetClientIdsForOIDC(Aws::Vector<Aws::String>&& value) { m_clientIdsForOIDC = std::move(value); }
268 inline GetApplicationResult& AddClientIdsForOIDC(const Aws::String& value) { m_clientIdsForOIDC.push_back(value); return *this; }
269 inline GetApplicationResult& AddClientIdsForOIDC(Aws::String&& value) { m_clientIdsForOIDC.push_back(std::move(value)); return *this; }
270 inline GetApplicationResult& AddClientIdsForOIDC(const char* value) { m_clientIdsForOIDC.push_back(value); return *this; }
272
274
275 inline const Aws::String& GetRequestId() const{ return m_requestId; }
276 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
277 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
278 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
279 inline GetApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
280 inline GetApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
281 inline GetApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
283 private:
284
285 Aws::String m_displayName;
286
287 Aws::String m_applicationId;
288
289 Aws::String m_applicationArn;
290
291 IdentityType m_identityType;
292
293 Aws::String m_iamIdentityProviderArn;
294
295 Aws::String m_identityCenterApplicationArn;
296
297 Aws::String m_roleArn;
298
299 ApplicationStatus m_status;
300
301 Aws::String m_description;
302
303 EncryptionConfiguration m_encryptionConfiguration;
304
305 Aws::Utils::DateTime m_createdAt;
306
307 Aws::Utils::DateTime m_updatedAt;
308
309 ErrorDetail m_error;
310
311 AppliedAttachmentsConfiguration m_attachmentsConfiguration;
312
313 QAppsConfiguration m_qAppsConfiguration;
314
315 PersonalizationConfiguration m_personalizationConfiguration;
316
317 AutoSubscriptionConfiguration m_autoSubscriptionConfiguration;
318
319 Aws::Vector<Aws::String> m_clientIdsForOIDC;
320
321 Aws::String m_requestId;
322 };
323
324} // namespace Model
325} // namespace QBusiness
326} // namespace Aws
GetApplicationResult & WithPersonalizationConfiguration(PersonalizationConfiguration &&value)
GetApplicationResult & WithIamIdentityProviderArn(Aws::String &&value)
void SetPersonalizationConfiguration(PersonalizationConfiguration &&value)
GetApplicationResult & WithAttachmentsConfiguration(const AppliedAttachmentsConfiguration &value)
void SetIdentityCenterApplicationArn(const Aws::String &value)
GetApplicationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
const PersonalizationConfiguration & GetPersonalizationConfiguration() const
GetApplicationResult & WithIamIdentityProviderArn(const Aws::String &value)
const AutoSubscriptionConfiguration & GetAutoSubscriptionConfiguration() const
GetApplicationResult & WithError(ErrorDetail &&value)
GetApplicationResult & WithApplicationId(const char *value)
void SetApplicationArn(const Aws::String &value)
void SetIdentityCenterApplicationArn(Aws::String &&value)
void SetAutoSubscriptionConfiguration(AutoSubscriptionConfiguration &&value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
const ApplicationStatus & GetStatus() const
GetApplicationResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetApplicationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetApplicationResult & WithIdentityCenterApplicationArn(Aws::String &&value)
GetApplicationResult & WithError(const ErrorDetail &value)
GetApplicationResult & WithClientIdsForOIDC(Aws::Vector< Aws::String > &&value)
GetApplicationResult & WithIdentityCenterApplicationArn(const char *value)
GetApplicationResult & WithRoleArn(const char *value)
void SetAttachmentsConfiguration(const AppliedAttachmentsConfiguration &value)
GetApplicationResult & WithQAppsConfiguration(const QAppsConfiguration &value)
const AppliedAttachmentsConfiguration & GetAttachmentsConfiguration() const
GetApplicationResult & WithApplicationArn(const char *value)
GetApplicationResult & WithIdentityType(const IdentityType &value)
void SetQAppsConfiguration(QAppsConfiguration &&value)
void SetPersonalizationConfiguration(const PersonalizationConfiguration &value)
GetApplicationResult & WithIamIdentityProviderArn(const char *value)
GetApplicationResult & WithStatus(const ApplicationStatus &value)
GetApplicationResult & AddClientIdsForOIDC(const Aws::String &value)
GetApplicationResult & WithRequestId(const Aws::String &value)
void SetApplicationId(const Aws::String &value)
GetApplicationResult & WithRequestId(const char *value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
GetApplicationResult & WithRoleArn(Aws::String &&value)
GetApplicationResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetApplicationResult & WithIdentityCenterApplicationArn(const Aws::String &value)
GetApplicationResult & WithApplicationId(Aws::String &&value)
GetApplicationResult & WithDescription(const char *value)
void SetIamIdentityProviderArn(const Aws::String &value)
GetApplicationResult & WithDisplayName(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetApplicationResult & WithIdentityType(IdentityType &&value)
const Aws::String & GetIamIdentityProviderArn() const
GetApplicationResult & WithQAppsConfiguration(QAppsConfiguration &&value)
GetApplicationResult & WithPersonalizationConfiguration(const PersonalizationConfiguration &value)
void SetClientIdsForOIDC(Aws::Vector< Aws::String > &&value)
GetApplicationResult & WithRoleArn(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetStatus(const ApplicationStatus &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_QBUSINESS_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDisplayName(const Aws::String &value)
GetApplicationResult & WithAutoSubscriptionConfiguration(AutoSubscriptionConfiguration &&value)
void SetAutoSubscriptionConfiguration(const AutoSubscriptionConfiguration &value)
GetApplicationResult & WithAttachmentsConfiguration(AppliedAttachmentsConfiguration &&value)
GetApplicationResult & WithClientIdsForOIDC(const Aws::Vector< Aws::String > &value)
GetApplicationResult & WithDisplayName(Aws::String &&value)
GetApplicationResult & WithStatus(ApplicationStatus &&value)
const Aws::Vector< Aws::String > & GetClientIdsForOIDC() const
GetApplicationResult & WithEncryptionConfiguration(const EncryptionConfiguration &value)
GetApplicationResult & WithApplicationId(const Aws::String &value)
const QAppsConfiguration & GetQAppsConfiguration() const
GetApplicationResult & WithApplicationArn(Aws::String &&value)
const Aws::String & GetIdentityCenterApplicationArn() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetApplicationResult & WithDisplayName(const Aws::String &value)
void SetAttachmentsConfiguration(AppliedAttachmentsConfiguration &&value)
void SetClientIdsForOIDC(const Aws::Vector< Aws::String > &value)
GetApplicationResult & WithAutoSubscriptionConfiguration(const AutoSubscriptionConfiguration &value)
GetApplicationResult & AddClientIdsForOIDC(const char *value)
GetApplicationResult & WithEncryptionConfiguration(EncryptionConfiguration &&value)
AWS_QBUSINESS_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithDescription(const Aws::String &value)
GetApplicationResult & AddClientIdsForOIDC(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetApplicationResult & WithRequestId(Aws::String &&value)
GetApplicationResult & WithApplicationArn(const Aws::String &value)
void SetIdentityType(const IdentityType &value)
void SetQAppsConfiguration(const QAppsConfiguration &value)
GetApplicationResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue