AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
UpdateWebExperienceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/QBusinessRequest.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/BrowserExtensionConfiguration.h>
12#include <aws/qbusiness/model/CustomizationConfiguration.h>
13#include <aws/qbusiness/model/IdentityProviderConfiguration.h>
14#include <aws/qbusiness/model/WebExperienceSamplePromptsControlMode.h>
15
16#include <utility>
17
18namespace Aws {
19namespace QBusiness {
20namespace Model {
21
25 public:
26 AWS_QBUSINESS_API UpdateWebExperienceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateWebExperience"; }
33
34 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
35
37
41 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 template <typename ApplicationIdT = Aws::String>
45 m_applicationIdHasBeenSet = true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
47 }
48 template <typename ApplicationIdT = Aws::String>
50 SetApplicationId(std::forward<ApplicationIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetWebExperienceId() const { return m_webExperienceId; }
60 inline bool WebExperienceIdHasBeenSet() const { return m_webExperienceIdHasBeenSet; }
61 template <typename WebExperienceIdT = Aws::String>
63 m_webExperienceIdHasBeenSet = true;
64 m_webExperienceId = std::forward<WebExperienceIdT>(value);
65 }
66 template <typename WebExperienceIdT = Aws::String>
68 SetWebExperienceId(std::forward<WebExperienceIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
79 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
80 template <typename RoleArnT = Aws::String>
81 void SetRoleArn(RoleArnT&& value) {
82 m_roleArnHasBeenSet = true;
83 m_roleArn = std::forward<RoleArnT>(value);
84 }
85 template <typename RoleArnT = Aws::String>
87 SetRoleArn(std::forward<RoleArnT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetTitle() const { return m_title; }
97 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
98 template <typename TitleT = Aws::String>
99 void SetTitle(TitleT&& value) {
100 m_titleHasBeenSet = true;
101 m_title = std::forward<TitleT>(value);
102 }
103 template <typename TitleT = Aws::String>
105 SetTitle(std::forward<TitleT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetSubtitle() const { return m_subtitle; }
115 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
116 template <typename SubtitleT = Aws::String>
117 void SetSubtitle(SubtitleT&& value) {
118 m_subtitleHasBeenSet = true;
119 m_subtitle = std::forward<SubtitleT>(value);
120 }
121 template <typename SubtitleT = Aws::String>
123 SetSubtitle(std::forward<SubtitleT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetWelcomeMessage() const { return m_welcomeMessage; }
134 inline bool WelcomeMessageHasBeenSet() const { return m_welcomeMessageHasBeenSet; }
135 template <typename WelcomeMessageT = Aws::String>
137 m_welcomeMessageHasBeenSet = true;
138 m_welcomeMessage = std::forward<WelcomeMessageT>(value);
139 }
140 template <typename WelcomeMessageT = Aws::String>
142 SetWelcomeMessage(std::forward<WelcomeMessageT>(value));
143 return *this;
144 }
146
148
152 inline WebExperienceSamplePromptsControlMode GetSamplePromptsControlMode() const { return m_samplePromptsControlMode; }
153 inline bool SamplePromptsControlModeHasBeenSet() const { return m_samplePromptsControlModeHasBeenSet; }
155 m_samplePromptsControlModeHasBeenSet = true;
156 m_samplePromptsControlMode = value;
157 }
160 return *this;
161 }
163
165
169 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const { return m_identityProviderConfiguration; }
170 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
171 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
173 m_identityProviderConfigurationHasBeenSet = true;
174 m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value);
175 }
176 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
178 SetIdentityProviderConfiguration(std::forward<IdentityProviderConfigurationT>(value));
179 return *this;
180 }
182
184
194 inline const Aws::Vector<Aws::String>& GetOrigins() const { return m_origins; }
195 inline bool OriginsHasBeenSet() const { return m_originsHasBeenSet; }
196 template <typename OriginsT = Aws::Vector<Aws::String>>
197 void SetOrigins(OriginsT&& value) {
198 m_originsHasBeenSet = true;
199 m_origins = std::forward<OriginsT>(value);
200 }
201 template <typename OriginsT = Aws::Vector<Aws::String>>
203 SetOrigins(std::forward<OriginsT>(value));
204 return *this;
205 }
206 template <typename OriginsT = Aws::String>
208 m_originsHasBeenSet = true;
209 m_origins.emplace_back(std::forward<OriginsT>(value));
210 return *this;
211 }
213
215
224 inline const BrowserExtensionConfiguration& GetBrowserExtensionConfiguration() const { return m_browserExtensionConfiguration; }
225 inline bool BrowserExtensionConfigurationHasBeenSet() const { return m_browserExtensionConfigurationHasBeenSet; }
226 template <typename BrowserExtensionConfigurationT = BrowserExtensionConfiguration>
228 m_browserExtensionConfigurationHasBeenSet = true;
229 m_browserExtensionConfiguration = std::forward<BrowserExtensionConfigurationT>(value);
230 }
231 template <typename BrowserExtensionConfigurationT = BrowserExtensionConfiguration>
233 SetBrowserExtensionConfiguration(std::forward<BrowserExtensionConfigurationT>(value));
234 return *this;
235 }
237
239
243 inline const CustomizationConfiguration& GetCustomizationConfiguration() const { return m_customizationConfiguration; }
244 inline bool CustomizationConfigurationHasBeenSet() const { return m_customizationConfigurationHasBeenSet; }
245 template <typename CustomizationConfigurationT = CustomizationConfiguration>
247 m_customizationConfigurationHasBeenSet = true;
248 m_customizationConfiguration = std::forward<CustomizationConfigurationT>(value);
249 }
250 template <typename CustomizationConfigurationT = CustomizationConfiguration>
252 SetCustomizationConfiguration(std::forward<CustomizationConfigurationT>(value));
253 return *this;
254 }
256 private:
257 Aws::String m_applicationId;
258 bool m_applicationIdHasBeenSet = false;
259
260 Aws::String m_webExperienceId;
261 bool m_webExperienceIdHasBeenSet = false;
262
263 Aws::String m_roleArn;
264 bool m_roleArnHasBeenSet = false;
265
266 Aws::String m_title;
267 bool m_titleHasBeenSet = false;
268
269 Aws::String m_subtitle;
270 bool m_subtitleHasBeenSet = false;
271
272 Aws::String m_welcomeMessage;
273 bool m_welcomeMessageHasBeenSet = false;
274
276 bool m_samplePromptsControlModeHasBeenSet = false;
277
278 IdentityProviderConfiguration m_identityProviderConfiguration;
279 bool m_identityProviderConfigurationHasBeenSet = false;
280
281 Aws::Vector<Aws::String> m_origins;
282 bool m_originsHasBeenSet = false;
283
284 BrowserExtensionConfiguration m_browserExtensionConfiguration;
285 bool m_browserExtensionConfigurationHasBeenSet = false;
286
287 CustomizationConfiguration m_customizationConfiguration;
288 bool m_customizationConfigurationHasBeenSet = false;
289};
290
291} // namespace Model
292} // namespace QBusiness
293} // namespace Aws
void SetIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
UpdateWebExperienceRequest & WithRoleArn(RoleArnT &&value)
UpdateWebExperienceRequest & WithIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
UpdateWebExperienceRequest & WithTitle(TitleT &&value)
UpdateWebExperienceRequest & WithSamplePromptsControlMode(WebExperienceSamplePromptsControlMode value)
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
UpdateWebExperienceRequest & WithWebExperienceId(WebExperienceIdT &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
UpdateWebExperienceRequest & WithCustomizationConfiguration(CustomizationConfigurationT &&value)
UpdateWebExperienceRequest & WithBrowserExtensionConfiguration(BrowserExtensionConfigurationT &&value)
UpdateWebExperienceRequest & WithOrigins(OriginsT &&value)
const CustomizationConfiguration & GetCustomizationConfiguration() const
UpdateWebExperienceRequest & WithApplicationId(ApplicationIdT &&value)
WebExperienceSamplePromptsControlMode GetSamplePromptsControlMode() const
UpdateWebExperienceRequest & WithSubtitle(SubtitleT &&value)
UpdateWebExperienceRequest & WithWelcomeMessage(WelcomeMessageT &&value)
void SetCustomizationConfiguration(CustomizationConfigurationT &&value)
void SetBrowserExtensionConfiguration(BrowserExtensionConfigurationT &&value)
const Aws::Vector< Aws::String > & GetOrigins() const
virtual const char * GetServiceRequestName() const override
UpdateWebExperienceRequest & AddOrigins(OriginsT &&value)
void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode value)
AWS_QBUSINESS_API UpdateWebExperienceRequest()=default
const BrowserExtensionConfiguration & GetBrowserExtensionConfiguration() 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