AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationRequest.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/AttachmentsConfiguration.h>
11#include <aws/qbusiness/model/QAppsConfiguration.h>
12#include <aws/qbusiness/model/PersonalizationConfiguration.h>
13#include <aws/qbusiness/model/AutoSubscriptionConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace QBusiness
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QBUSINESS_API UpdateApplicationRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
35
36 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
44 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
45 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
46 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
47 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
48 inline UpdateApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
49 inline UpdateApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
50 inline UpdateApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
52
54
58 inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; }
59 inline bool IdentityCenterInstanceArnHasBeenSet() const { return m_identityCenterInstanceArnHasBeenSet; }
60 inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = value; }
61 inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = std::move(value); }
62 inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn.assign(value); }
67
69
72 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
73 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
74 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
75 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
76 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
77 inline UpdateApplicationRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
78 inline UpdateApplicationRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
79 inline UpdateApplicationRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
101 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
102 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
103 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
104 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
105 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
106 inline UpdateApplicationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
107 inline UpdateApplicationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
108 inline UpdateApplicationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
110
112
115 inline const AttachmentsConfiguration& GetAttachmentsConfiguration() const{ return m_attachmentsConfiguration; }
116 inline bool AttachmentsConfigurationHasBeenSet() const { return m_attachmentsConfigurationHasBeenSet; }
117 inline void SetAttachmentsConfiguration(const AttachmentsConfiguration& value) { m_attachmentsConfigurationHasBeenSet = true; m_attachmentsConfiguration = value; }
118 inline void SetAttachmentsConfiguration(AttachmentsConfiguration&& value) { m_attachmentsConfigurationHasBeenSet = true; m_attachmentsConfiguration = std::move(value); }
122
124
128 inline const QAppsConfiguration& GetQAppsConfiguration() const{ return m_qAppsConfiguration; }
129 inline bool QAppsConfigurationHasBeenSet() const { return m_qAppsConfigurationHasBeenSet; }
130 inline void SetQAppsConfiguration(const QAppsConfiguration& value) { m_qAppsConfigurationHasBeenSet = true; m_qAppsConfiguration = value; }
131 inline void SetQAppsConfiguration(QAppsConfiguration&& value) { m_qAppsConfigurationHasBeenSet = true; m_qAppsConfiguration = std::move(value); }
135
137
143 inline const PersonalizationConfiguration& GetPersonalizationConfiguration() const{ return m_personalizationConfiguration; }
144 inline bool PersonalizationConfigurationHasBeenSet() const { return m_personalizationConfigurationHasBeenSet; }
145 inline void SetPersonalizationConfiguration(const PersonalizationConfiguration& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = value; }
146 inline void SetPersonalizationConfiguration(PersonalizationConfiguration&& value) { m_personalizationConfigurationHasBeenSet = true; m_personalizationConfiguration = std::move(value); }
150
152
157 inline const AutoSubscriptionConfiguration& GetAutoSubscriptionConfiguration() const{ return m_autoSubscriptionConfiguration; }
158 inline bool AutoSubscriptionConfigurationHasBeenSet() const { return m_autoSubscriptionConfigurationHasBeenSet; }
159 inline void SetAutoSubscriptionConfiguration(const AutoSubscriptionConfiguration& value) { m_autoSubscriptionConfigurationHasBeenSet = true; m_autoSubscriptionConfiguration = value; }
160 inline void SetAutoSubscriptionConfiguration(AutoSubscriptionConfiguration&& value) { m_autoSubscriptionConfigurationHasBeenSet = true; m_autoSubscriptionConfiguration = std::move(value); }
164 private:
165
166 Aws::String m_applicationId;
167 bool m_applicationIdHasBeenSet = false;
168
169 Aws::String m_identityCenterInstanceArn;
170 bool m_identityCenterInstanceArnHasBeenSet = false;
171
172 Aws::String m_displayName;
173 bool m_displayNameHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::String m_roleArn;
179 bool m_roleArnHasBeenSet = false;
180
181 AttachmentsConfiguration m_attachmentsConfiguration;
182 bool m_attachmentsConfigurationHasBeenSet = false;
183
184 QAppsConfiguration m_qAppsConfiguration;
185 bool m_qAppsConfigurationHasBeenSet = false;
186
187 PersonalizationConfiguration m_personalizationConfiguration;
188 bool m_personalizationConfigurationHasBeenSet = false;
189
190 AutoSubscriptionConfiguration m_autoSubscriptionConfiguration;
191 bool m_autoSubscriptionConfigurationHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace QBusiness
196} // namespace Aws
UpdateApplicationRequest & WithDescription(const Aws::String &value)
UpdateApplicationRequest & WithIdentityCenterInstanceArn(Aws::String &&value)
UpdateApplicationRequest & WithDisplayName(const char *value)
void SetAttachmentsConfiguration(AttachmentsConfiguration &&value)
UpdateApplicationRequest & WithAttachmentsConfiguration(const AttachmentsConfiguration &value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetQAppsConfiguration(const QAppsConfiguration &value)
UpdateApplicationRequest & WithQAppsConfiguration(const QAppsConfiguration &value)
UpdateApplicationRequest & WithDisplayName(Aws::String &&value)
UpdateApplicationRequest & WithIdentityCenterInstanceArn(const char *value)
UpdateApplicationRequest & WithAutoSubscriptionConfiguration(AutoSubscriptionConfiguration &&value)
UpdateApplicationRequest & WithIdentityCenterInstanceArn(const Aws::String &value)
void SetAutoSubscriptionConfiguration(const AutoSubscriptionConfiguration &value)
void SetAttachmentsConfiguration(const AttachmentsConfiguration &value)
UpdateApplicationRequest & WithDescription(Aws::String &&value)
const PersonalizationConfiguration & GetPersonalizationConfiguration() const
UpdateApplicationRequest & WithApplicationId(Aws::String &&value)
UpdateApplicationRequest & WithPersonalizationConfiguration(PersonalizationConfiguration &&value)
UpdateApplicationRequest & WithAutoSubscriptionConfiguration(const AutoSubscriptionConfiguration &value)
void SetAutoSubscriptionConfiguration(AutoSubscriptionConfiguration &&value)
UpdateApplicationRequest & WithQAppsConfiguration(QAppsConfiguration &&value)
UpdateApplicationRequest & WithApplicationId(const Aws::String &value)
UpdateApplicationRequest & WithApplicationId(const char *value)
const AutoSubscriptionConfiguration & GetAutoSubscriptionConfiguration() const
UpdateApplicationRequest & WithDescription(const char *value)
UpdateApplicationRequest & WithRoleArn(const Aws::String &value)
UpdateApplicationRequest & WithAttachmentsConfiguration(AttachmentsConfiguration &&value)
void SetPersonalizationConfiguration(const PersonalizationConfiguration &value)
UpdateApplicationRequest & WithRoleArn(const char *value)
UpdateApplicationRequest & WithRoleArn(Aws::String &&value)
UpdateApplicationRequest & WithDisplayName(const Aws::String &value)
void SetPersonalizationConfiguration(PersonalizationConfiguration &&value)
UpdateApplicationRequest & WithPersonalizationConfiguration(const PersonalizationConfiguration &value)
const AttachmentsConfiguration & GetAttachmentsConfiguration() const
const QAppsConfiguration & GetQAppsConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String