AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateWebExperienceRequest.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/WebExperienceSamplePromptsControlMode.h>
11#include <aws/qbusiness/model/IdentityProviderConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/qbusiness/model/BrowserExtensionConfiguration.h>
14#include <aws/qbusiness/model/CustomizationConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19namespace QBusiness
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_QBUSINESS_API UpdateWebExperienceRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateWebExperience"; }
36
37 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
46 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 template<typename ApplicationIdT = Aws::String>
48 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
49 template<typename ApplicationIdT = Aws::String>
50 UpdateWebExperienceRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetWebExperienceId() const { return m_webExperienceId; }
58 inline bool WebExperienceIdHasBeenSet() const { return m_webExperienceIdHasBeenSet; }
59 template<typename WebExperienceIdT = Aws::String>
60 void SetWebExperienceId(WebExperienceIdT&& value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId = std::forward<WebExperienceIdT>(value); }
61 template<typename WebExperienceIdT = Aws::String>
62 UpdateWebExperienceRequest& WithWebExperienceId(WebExperienceIdT&& value) { SetWebExperienceId(std::forward<WebExperienceIdT>(value)); return *this;}
64
66
70 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
71 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
72 template<typename RoleArnT = Aws::String>
73 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
74 template<typename RoleArnT = Aws::String>
75 UpdateWebExperienceRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetTitle() const { return m_title; }
83 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
84 template<typename TitleT = Aws::String>
85 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
86 template<typename TitleT = Aws::String>
87 UpdateWebExperienceRequest& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
89
91
94 inline const Aws::String& GetSubtitle() const { return m_subtitle; }
95 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
96 template<typename SubtitleT = Aws::String>
97 void SetSubtitle(SubtitleT&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::forward<SubtitleT>(value); }
98 template<typename SubtitleT = Aws::String>
99 UpdateWebExperienceRequest& WithSubtitle(SubtitleT&& value) { SetSubtitle(std::forward<SubtitleT>(value)); return *this;}
101
103
107 inline const Aws::String& GetWelcomeMessage() const { return m_welcomeMessage; }
108 inline bool WelcomeMessageHasBeenSet() const { return m_welcomeMessageHasBeenSet; }
109 template<typename WelcomeMessageT = Aws::String>
110 void SetWelcomeMessage(WelcomeMessageT&& value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage = std::forward<WelcomeMessageT>(value); }
111 template<typename WelcomeMessageT = Aws::String>
112 UpdateWebExperienceRequest& WithWelcomeMessage(WelcomeMessageT&& value) { SetWelcomeMessage(std::forward<WelcomeMessageT>(value)); return *this;}
114
116
120 inline WebExperienceSamplePromptsControlMode GetSamplePromptsControlMode() const { return m_samplePromptsControlMode; }
121 inline bool SamplePromptsControlModeHasBeenSet() const { return m_samplePromptsControlModeHasBeenSet; }
122 inline void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode value) { m_samplePromptsControlModeHasBeenSet = true; m_samplePromptsControlMode = value; }
125
127
131 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const { return m_identityProviderConfiguration; }
132 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
133 template<typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
134 void SetIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value); }
135 template<typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
136 UpdateWebExperienceRequest& WithIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) { SetIdentityProviderConfiguration(std::forward<IdentityProviderConfigurationT>(value)); return *this;}
138
140
150 inline const Aws::Vector<Aws::String>& GetOrigins() const { return m_origins; }
151 inline bool OriginsHasBeenSet() const { return m_originsHasBeenSet; }
152 template<typename OriginsT = Aws::Vector<Aws::String>>
153 void SetOrigins(OriginsT&& value) { m_originsHasBeenSet = true; m_origins = std::forward<OriginsT>(value); }
154 template<typename OriginsT = Aws::Vector<Aws::String>>
155 UpdateWebExperienceRequest& WithOrigins(OriginsT&& value) { SetOrigins(std::forward<OriginsT>(value)); return *this;}
156 template<typename OriginsT = Aws::String>
157 UpdateWebExperienceRequest& AddOrigins(OriginsT&& value) { m_originsHasBeenSet = true; m_origins.emplace_back(std::forward<OriginsT>(value)); return *this; }
159
161
170 inline const BrowserExtensionConfiguration& GetBrowserExtensionConfiguration() const { return m_browserExtensionConfiguration; }
171 inline bool BrowserExtensionConfigurationHasBeenSet() const { return m_browserExtensionConfigurationHasBeenSet; }
172 template<typename BrowserExtensionConfigurationT = BrowserExtensionConfiguration>
173 void SetBrowserExtensionConfiguration(BrowserExtensionConfigurationT&& value) { m_browserExtensionConfigurationHasBeenSet = true; m_browserExtensionConfiguration = std::forward<BrowserExtensionConfigurationT>(value); }
174 template<typename BrowserExtensionConfigurationT = BrowserExtensionConfiguration>
175 UpdateWebExperienceRequest& WithBrowserExtensionConfiguration(BrowserExtensionConfigurationT&& value) { SetBrowserExtensionConfiguration(std::forward<BrowserExtensionConfigurationT>(value)); return *this;}
177
179
183 inline const CustomizationConfiguration& GetCustomizationConfiguration() const { return m_customizationConfiguration; }
184 inline bool CustomizationConfigurationHasBeenSet() const { return m_customizationConfigurationHasBeenSet; }
185 template<typename CustomizationConfigurationT = CustomizationConfiguration>
186 void SetCustomizationConfiguration(CustomizationConfigurationT&& value) { m_customizationConfigurationHasBeenSet = true; m_customizationConfiguration = std::forward<CustomizationConfigurationT>(value); }
187 template<typename CustomizationConfigurationT = CustomizationConfiguration>
188 UpdateWebExperienceRequest& WithCustomizationConfiguration(CustomizationConfigurationT&& value) { SetCustomizationConfiguration(std::forward<CustomizationConfigurationT>(value)); return *this;}
190 private:
191
192 Aws::String m_applicationId;
193 bool m_applicationIdHasBeenSet = false;
194
195 Aws::String m_webExperienceId;
196 bool m_webExperienceIdHasBeenSet = false;
197
198 Aws::String m_roleArn;
199 bool m_roleArnHasBeenSet = false;
200
201 Aws::String m_title;
202 bool m_titleHasBeenSet = false;
203
204 Aws::String m_subtitle;
205 bool m_subtitleHasBeenSet = false;
206
207 Aws::String m_welcomeMessage;
208 bool m_welcomeMessageHasBeenSet = false;
209
211 bool m_samplePromptsControlModeHasBeenSet = false;
212
213 IdentityProviderConfiguration m_identityProviderConfiguration;
214 bool m_identityProviderConfigurationHasBeenSet = false;
215
216 Aws::Vector<Aws::String> m_origins;
217 bool m_originsHasBeenSet = false;
218
219 BrowserExtensionConfiguration m_browserExtensionConfiguration;
220 bool m_browserExtensionConfigurationHasBeenSet = false;
221
222 CustomizationConfiguration m_customizationConfiguration;
223 bool m_customizationConfigurationHasBeenSet = false;
224 };
225
226} // namespace Model
227} // namespace QBusiness
228} // 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