AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
14
15namespace Aws
16{
17namespace QBusiness
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QBUSINESS_API UpdateWebExperienceRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateWebExperience"; }
34
35 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
36
37
39
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 UpdateWebExperienceRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
49 inline UpdateWebExperienceRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
50 inline UpdateWebExperienceRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
52
54
57 inline const Aws::String& GetWebExperienceId() const{ return m_webExperienceId; }
58 inline bool WebExperienceIdHasBeenSet() const { return m_webExperienceIdHasBeenSet; }
59 inline void SetWebExperienceId(const Aws::String& value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId = value; }
60 inline void SetWebExperienceId(Aws::String&& value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId = std::move(value); }
61 inline void SetWebExperienceId(const char* value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId.assign(value); }
63 inline UpdateWebExperienceRequest& WithWebExperienceId(Aws::String&& value) { SetWebExperienceId(std::move(value)); return *this;}
64 inline UpdateWebExperienceRequest& WithWebExperienceId(const char* value) { SetWebExperienceId(value); return *this;}
66
68
72 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
73 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
74 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
75 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
76 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
77 inline UpdateWebExperienceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
78 inline UpdateWebExperienceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
79 inline UpdateWebExperienceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
81
83
86 inline const Aws::String& GetTitle() const{ return m_title; }
87 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
88 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
89 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
90 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
91 inline UpdateWebExperienceRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
92 inline UpdateWebExperienceRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
93 inline UpdateWebExperienceRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
95
97
100 inline const Aws::String& GetSubtitle() const{ return m_subtitle; }
101 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
102 inline void SetSubtitle(const Aws::String& value) { m_subtitleHasBeenSet = true; m_subtitle = value; }
103 inline void SetSubtitle(Aws::String&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); }
104 inline void SetSubtitle(const char* value) { m_subtitleHasBeenSet = true; m_subtitle.assign(value); }
105 inline UpdateWebExperienceRequest& WithSubtitle(const Aws::String& value) { SetSubtitle(value); return *this;}
106 inline UpdateWebExperienceRequest& WithSubtitle(Aws::String&& value) { SetSubtitle(std::move(value)); return *this;}
107 inline UpdateWebExperienceRequest& WithSubtitle(const char* value) { SetSubtitle(value); return *this;}
109
111
115 inline const Aws::String& GetWelcomeMessage() const{ return m_welcomeMessage; }
116 inline bool WelcomeMessageHasBeenSet() const { return m_welcomeMessageHasBeenSet; }
117 inline void SetWelcomeMessage(const Aws::String& value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage = value; }
118 inline void SetWelcomeMessage(Aws::String&& value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage = std::move(value); }
119 inline void SetWelcomeMessage(const char* value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage.assign(value); }
120 inline UpdateWebExperienceRequest& WithWelcomeMessage(const Aws::String& value) { SetWelcomeMessage(value); return *this;}
121 inline UpdateWebExperienceRequest& WithWelcomeMessage(Aws::String&& value) { SetWelcomeMessage(std::move(value)); return *this;}
122 inline UpdateWebExperienceRequest& WithWelcomeMessage(const char* value) { SetWelcomeMessage(value); return *this;}
124
126
130 inline const WebExperienceSamplePromptsControlMode& GetSamplePromptsControlMode() const{ return m_samplePromptsControlMode; }
131 inline bool SamplePromptsControlModeHasBeenSet() const { return m_samplePromptsControlModeHasBeenSet; }
132 inline void SetSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode& value) { m_samplePromptsControlModeHasBeenSet = true; m_samplePromptsControlMode = value; }
133 inline void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode&& value) { m_samplePromptsControlModeHasBeenSet = true; m_samplePromptsControlMode = std::move(value); }
137
139
143 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const{ return m_identityProviderConfiguration; }
144 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
145 inline void SetIdentityProviderConfiguration(const IdentityProviderConfiguration& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = value; }
146 inline void SetIdentityProviderConfiguration(IdentityProviderConfiguration&& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = std::move(value); }
150
152
164 inline const Aws::Vector<Aws::String>& GetOrigins() const{ return m_origins; }
165 inline bool OriginsHasBeenSet() const { return m_originsHasBeenSet; }
166 inline void SetOrigins(const Aws::Vector<Aws::String>& value) { m_originsHasBeenSet = true; m_origins = value; }
167 inline void SetOrigins(Aws::Vector<Aws::String>&& value) { m_originsHasBeenSet = true; m_origins = std::move(value); }
168 inline UpdateWebExperienceRequest& WithOrigins(const Aws::Vector<Aws::String>& value) { SetOrigins(value); return *this;}
169 inline UpdateWebExperienceRequest& WithOrigins(Aws::Vector<Aws::String>&& value) { SetOrigins(std::move(value)); return *this;}
170 inline UpdateWebExperienceRequest& AddOrigins(const Aws::String& value) { m_originsHasBeenSet = true; m_origins.push_back(value); return *this; }
171 inline UpdateWebExperienceRequest& AddOrigins(Aws::String&& value) { m_originsHasBeenSet = true; m_origins.push_back(std::move(value)); return *this; }
172 inline UpdateWebExperienceRequest& AddOrigins(const char* value) { m_originsHasBeenSet = true; m_origins.push_back(value); return *this; }
174 private:
175
176 Aws::String m_applicationId;
177 bool m_applicationIdHasBeenSet = false;
178
179 Aws::String m_webExperienceId;
180 bool m_webExperienceIdHasBeenSet = false;
181
182 Aws::String m_roleArn;
183 bool m_roleArnHasBeenSet = false;
184
185 Aws::String m_title;
186 bool m_titleHasBeenSet = false;
187
188 Aws::String m_subtitle;
189 bool m_subtitleHasBeenSet = false;
190
191 Aws::String m_welcomeMessage;
192 bool m_welcomeMessageHasBeenSet = false;
193
194 WebExperienceSamplePromptsControlMode m_samplePromptsControlMode;
195 bool m_samplePromptsControlModeHasBeenSet = false;
196
197 IdentityProviderConfiguration m_identityProviderConfiguration;
198 bool m_identityProviderConfigurationHasBeenSet = false;
199
200 Aws::Vector<Aws::String> m_origins;
201 bool m_originsHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace QBusiness
206} // namespace Aws
const WebExperienceSamplePromptsControlMode & GetSamplePromptsControlMode() const
UpdateWebExperienceRequest & WithWelcomeMessage(Aws::String &&value)
UpdateWebExperienceRequest & WithOrigins(const Aws::Vector< Aws::String > &value)
UpdateWebExperienceRequest & WithOrigins(Aws::Vector< Aws::String > &&value)
UpdateWebExperienceRequest & WithSamplePromptsControlMode(WebExperienceSamplePromptsControlMode &&value)
void SetOrigins(Aws::Vector< Aws::String > &&value)
UpdateWebExperienceRequest & WithApplicationId(Aws::String &&value)
UpdateWebExperienceRequest & WithIdentityProviderConfiguration(const IdentityProviderConfiguration &value)
void SetSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode &value)
UpdateWebExperienceRequest & WithWebExperienceId(const char *value)
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
UpdateWebExperienceRequest & WithWelcomeMessage(const char *value)
UpdateWebExperienceRequest & WithApplicationId(const char *value)
void SetIdentityProviderConfiguration(IdentityProviderConfiguration &&value)
void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode &&value)
void SetOrigins(const Aws::Vector< Aws::String > &value)
UpdateWebExperienceRequest & WithWebExperienceId(Aws::String &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetIdentityProviderConfiguration(const IdentityProviderConfiguration &value)
UpdateWebExperienceRequest & WithWebExperienceId(const Aws::String &value)
UpdateWebExperienceRequest & AddOrigins(Aws::String &&value)
UpdateWebExperienceRequest & WithWelcomeMessage(const Aws::String &value)
UpdateWebExperienceRequest & WithSubtitle(Aws::String &&value)
UpdateWebExperienceRequest & WithIdentityProviderConfiguration(IdentityProviderConfiguration &&value)
UpdateWebExperienceRequest & WithApplicationId(const Aws::String &value)
UpdateWebExperienceRequest & AddOrigins(const Aws::String &value)
UpdateWebExperienceRequest & WithTitle(const char *value)
UpdateWebExperienceRequest & WithTitle(Aws::String &&value)
UpdateWebExperienceRequest & WithRoleArn(const Aws::String &value)
UpdateWebExperienceRequest & WithSubtitle(const Aws::String &value)
const Aws::Vector< Aws::String > & GetOrigins() const
UpdateWebExperienceRequest & WithRoleArn(Aws::String &&value)
UpdateWebExperienceRequest & WithTitle(const Aws::String &value)
UpdateWebExperienceRequest & AddOrigins(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateWebExperienceRequest & WithSubtitle(const char *value)
UpdateWebExperienceRequest & WithSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode &value)
UpdateWebExperienceRequest & WithRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector