AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApplicationRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/IdentityType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/qbusiness/model/EncryptionConfiguration.h>
13#include <aws/qbusiness/model/AttachmentsConfiguration.h>
14#include <aws/qbusiness/model/QAppsConfiguration.h>
15#include <aws/qbusiness/model/PersonalizationConfiguration.h>
16#include <aws/qbusiness/model/Tag.h>
17#include <utility>
18#include <aws/core/utils/UUID.h>
19
20namespace Aws
21{
22namespace QBusiness
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_QBUSINESS_API CreateApplicationRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateApplication"; }
39
40 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
41
42
44
47 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
48 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
49 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
50 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
51 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
52 inline CreateApplicationRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
53 inline CreateApplicationRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
54 inline CreateApplicationRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
56
58
65 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
66 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
67 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
68 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
69 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
70 inline CreateApplicationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
71 inline CreateApplicationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
72 inline CreateApplicationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
74
76
79 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
80 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
81 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
82 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
83 inline CreateApplicationRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
84 inline CreateApplicationRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
86
88
92 inline const Aws::String& GetIamIdentityProviderArn() const{ return m_iamIdentityProviderArn; }
93 inline bool IamIdentityProviderArnHasBeenSet() const { return m_iamIdentityProviderArnHasBeenSet; }
94 inline void SetIamIdentityProviderArn(const Aws::String& value) { m_iamIdentityProviderArnHasBeenSet = true; m_iamIdentityProviderArn = value; }
95 inline void SetIamIdentityProviderArn(Aws::String&& value) { m_iamIdentityProviderArnHasBeenSet = true; m_iamIdentityProviderArn = std::move(value); }
96 inline void SetIamIdentityProviderArn(const char* value) { m_iamIdentityProviderArnHasBeenSet = true; m_iamIdentityProviderArn.assign(value); }
99 inline CreateApplicationRequest& WithIamIdentityProviderArn(const char* value) { SetIamIdentityProviderArn(value); return *this;}
101
103
107 inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; }
108 inline bool IdentityCenterInstanceArnHasBeenSet() const { return m_identityCenterInstanceArnHasBeenSet; }
109 inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = value; }
110 inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = std::move(value); }
111 inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn.assign(value); }
116
118
121 inline const Aws::Vector<Aws::String>& GetClientIdsForOIDC() const{ return m_clientIdsForOIDC; }
122 inline bool ClientIdsForOIDCHasBeenSet() const { return m_clientIdsForOIDCHasBeenSet; }
123 inline void SetClientIdsForOIDC(const Aws::Vector<Aws::String>& value) { m_clientIdsForOIDCHasBeenSet = true; m_clientIdsForOIDC = value; }
124 inline void SetClientIdsForOIDC(Aws::Vector<Aws::String>&& value) { m_clientIdsForOIDCHasBeenSet = true; m_clientIdsForOIDC = std::move(value); }
127 inline CreateApplicationRequest& AddClientIdsForOIDC(const Aws::String& value) { m_clientIdsForOIDCHasBeenSet = true; m_clientIdsForOIDC.push_back(value); return *this; }
128 inline CreateApplicationRequest& AddClientIdsForOIDC(Aws::String&& value) { m_clientIdsForOIDCHasBeenSet = true; m_clientIdsForOIDC.push_back(std::move(value)); return *this; }
129 inline CreateApplicationRequest& AddClientIdsForOIDC(const char* value) { m_clientIdsForOIDCHasBeenSet = true; m_clientIdsForOIDC.push_back(value); return *this; }
131
133
136 inline const Aws::String& GetDescription() const{ return m_description; }
137 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
139 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
140 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
141 inline CreateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
142 inline CreateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
143 inline CreateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
145
147
151 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
152 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
153 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
154 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
158
160
166 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
167 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
168 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
169 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
170 inline CreateApplicationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
171 inline CreateApplicationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
172 inline CreateApplicationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
173 inline CreateApplicationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
175
177
181 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
182 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
183 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
184 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
185 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
186 inline CreateApplicationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
187 inline CreateApplicationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
188 inline CreateApplicationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
190
192
195 inline const AttachmentsConfiguration& GetAttachmentsConfiguration() const{ return m_attachmentsConfiguration; }
196 inline bool AttachmentsConfigurationHasBeenSet() const { return m_attachmentsConfigurationHasBeenSet; }
197 inline void SetAttachmentsConfiguration(const AttachmentsConfiguration& value) { m_attachmentsConfigurationHasBeenSet = true; m_attachmentsConfiguration = value; }
198 inline void SetAttachmentsConfiguration(AttachmentsConfiguration&& value) { m_attachmentsConfigurationHasBeenSet = true; m_attachmentsConfiguration = std::move(value); }
202
204
208 inline const QAppsConfiguration& GetQAppsConfiguration() const{ return m_qAppsConfiguration; }
209 inline bool QAppsConfigurationHasBeenSet() const { return m_qAppsConfigurationHasBeenSet; }
210 inline void SetQAppsConfiguration(const QAppsConfiguration& value) { m_qAppsConfigurationHasBeenSet = true; m_qAppsConfiguration = value; }
211 inline void SetQAppsConfiguration(QAppsConfiguration&& value) { m_qAppsConfigurationHasBeenSet = true; m_qAppsConfiguration = std::move(value); }
215
217
223 inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const{ return m_personalizationConfiguration; }
224 inline bool PersonalizationConfigurationHasBeenSet() const { return m_personalizationConfigurationHasBeenSet; }
225 inline void SetPersonalizationConfiguration(const PersonalizationConfiguration& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = value; }
226 inline void SetPersonalizationConfiguration(PersonalizationConfiguration&& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = std::move(value); }
230 private:
231
232 Aws::String m_displayName;
233 bool m_displayNameHasBeenSet = false;
234
235 Aws::String m_roleArn;
236 bool m_roleArnHasBeenSet = false;
237
238 IdentityType m_identityType;
239 bool m_identityTypeHasBeenSet = false;
240
241 Aws::String m_iamIdentityProviderArn;
242 bool m_iamIdentityProviderArnHasBeenSet = false;
243
244 Aws::String m_identityCenterInstanceArn;
245 bool m_identityCenterInstanceArnHasBeenSet = false;
246
247 Aws::Vector<Aws::String> m_clientIdsForOIDC;
248 bool m_clientIdsForOIDCHasBeenSet = false;
249
250 Aws::String m_description;
251 bool m_descriptionHasBeenSet = false;
252
253 EncryptionConfiguration m_encryptionConfiguration;
254 bool m_encryptionConfigurationHasBeenSet = false;
255
256 Aws::Vector<Tag> m_tags;
257 bool m_tagsHasBeenSet = false;
258
259 Aws::String m_clientToken;
260 bool m_clientTokenHasBeenSet = false;
261
262 AttachmentsConfiguration m_attachmentsConfiguration;
263 bool m_attachmentsConfigurationHasBeenSet = false;
264
265 QAppsConfiguration m_qAppsConfiguration;
266 bool m_qAppsConfigurationHasBeenSet = false;
267
268 PersonalizationConfiguration m_personalizationConfiguration;
269 bool m_personalizationConfigurationHasBeenSet = false;
270 };
271
272} // namespace Model
273} // namespace QBusiness
274} // namespace Aws
CreateApplicationRequest & WithIdentityCenterInstanceArn(const Aws::String &value)
CreateApplicationRequest & WithIdentityCenterInstanceArn(Aws::String &&value)
void SetClientIdsForOIDC(Aws::Vector< Aws::String > &&value)
void SetAttachmentsConfiguration(const AttachmentsConfiguration &value)
CreateApplicationRequest & AddClientIdsForOIDC(const Aws::String &value)
const QAppsConfiguration & GetQAppsConfiguration() const
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
CreateApplicationRequest & WithEncryptionConfiguration(const EncryptionConfiguration &value)
const Aws::Vector< Aws::String > & GetClientIdsForOIDC() const
CreateApplicationRequest & WithClientToken(Aws::String &&value)
CreateApplicationRequest & WithDisplayName(const Aws::String &value)
CreateApplicationRequest & WithDescription(Aws::String &&value)
CreateApplicationRequest & WithPersonalizationConfiguration(const PersonalizationConfiguration &value)
void SetPersonalizationConfiguration(PersonalizationConfiguration &&value)
CreateApplicationRequest & AddTags(const Tag &value)
CreateApplicationRequest & WithDisplayName(Aws::String &&value)
void SetPersonalizationConfiguration(const PersonalizationConfiguration &value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
CreateApplicationRequest & WithPersonalizationConfiguration(PersonalizationConfiguration &&value)
CreateApplicationRequest & WithIamIdentityProviderArn(Aws::String &&value)
CreateApplicationRequest & WithClientIdsForOIDC(Aws::Vector< Aws::String > &&value)
CreateApplicationRequest & WithAttachmentsConfiguration(const AttachmentsConfiguration &value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
CreateApplicationRequest & WithIamIdentityProviderArn(const char *value)
CreateApplicationRequest & WithIdentityType(IdentityType &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
CreateApplicationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateApplicationRequest & WithClientIdsForOIDC(const Aws::Vector< Aws::String > &value)
const AttachmentsConfiguration & GetAttachmentsConfiguration() const
CreateApplicationRequest & WithDisplayName(const char *value)
CreateApplicationRequest & WithEncryptionConfiguration(EncryptionConfiguration &&value)
CreateApplicationRequest & WithIdentityType(const IdentityType &value)
CreateApplicationRequest & WithRoleArn(const Aws::String &value)
CreateApplicationRequest & WithRoleArn(const char *value)
void SetClientIdsForOIDC(const Aws::Vector< Aws::String > &value)
CreateApplicationRequest & WithQAppsConfiguration(const QAppsConfiguration &value)
CreateApplicationRequest & AddClientIdsForOIDC(const char *value)
virtual const char * GetServiceRequestName() const override
const PersonalizationConfiguration & GetPersonalizationConfiguration() const
CreateApplicationRequest & AddTags(Tag &&value)
CreateApplicationRequest & WithIdentityCenterInstanceArn(const char *value)
CreateApplicationRequest & WithDescription(const Aws::String &value)
void SetAttachmentsConfiguration(AttachmentsConfiguration &&value)
void SetQAppsConfiguration(const QAppsConfiguration &value)
CreateApplicationRequest & WithClientToken(const char *value)
CreateApplicationRequest & WithRoleArn(Aws::String &&value)
CreateApplicationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateApplicationRequest & WithDescription(const char *value)
CreateApplicationRequest & WithAttachmentsConfiguration(AttachmentsConfiguration &&value)
CreateApplicationRequest & WithIamIdentityProviderArn(const Aws::String &value)
CreateApplicationRequest & WithQAppsConfiguration(QAppsConfiguration &&value)
CreateApplicationRequest & AddClientIdsForOIDC(Aws::String &&value)
CreateApplicationRequest & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector