AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWebExperienceRequest.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/core/utils/memory/stl/AWSVector.h>
12#include <aws/qbusiness/model/IdentityProviderConfiguration.h>
13#include <aws/qbusiness/model/Tag.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace QBusiness
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_QBUSINESS_API CreateWebExperienceRequest();
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 "CreateWebExperience"; }
36
37 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
45 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
47 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
48 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
49 inline CreateWebExperienceRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
50 inline CreateWebExperienceRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
51 inline CreateWebExperienceRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
53
55
58 inline const Aws::String& GetTitle() const{ return m_title; }
59 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
60 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
61 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
62 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
63 inline CreateWebExperienceRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
64 inline CreateWebExperienceRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
65 inline CreateWebExperienceRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
67
69
72 inline const Aws::String& GetSubtitle() const{ return m_subtitle; }
73 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
74 inline void SetSubtitle(const Aws::String& value) { m_subtitleHasBeenSet = true; m_subtitle = value; }
75 inline void SetSubtitle(Aws::String&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); }
76 inline void SetSubtitle(const char* value) { m_subtitleHasBeenSet = true; m_subtitle.assign(value); }
77 inline CreateWebExperienceRequest& WithSubtitle(const Aws::String& value) { SetSubtitle(value); return *this;}
78 inline CreateWebExperienceRequest& WithSubtitle(Aws::String&& value) { SetSubtitle(std::move(value)); return *this;}
79 inline CreateWebExperienceRequest& WithSubtitle(const char* value) { SetSubtitle(value); return *this;}
81
83
87 inline const Aws::String& GetWelcomeMessage() const{ return m_welcomeMessage; }
88 inline bool WelcomeMessageHasBeenSet() const { return m_welcomeMessageHasBeenSet; }
89 inline void SetWelcomeMessage(const Aws::String& value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage = value; }
90 inline void SetWelcomeMessage(Aws::String&& value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage = std::move(value); }
91 inline void SetWelcomeMessage(const char* value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage.assign(value); }
92 inline CreateWebExperienceRequest& WithWelcomeMessage(const Aws::String& value) { SetWelcomeMessage(value); return *this;}
93 inline CreateWebExperienceRequest& WithWelcomeMessage(Aws::String&& value) { SetWelcomeMessage(std::move(value)); return *this;}
94 inline CreateWebExperienceRequest& WithWelcomeMessage(const char* value) { SetWelcomeMessage(value); return *this;}
96
98
102 inline const WebExperienceSamplePromptsControlMode& GetSamplePromptsControlMode() const{ return m_samplePromptsControlMode; }
103 inline bool SamplePromptsControlModeHasBeenSet() const { return m_samplePromptsControlModeHasBeenSet; }
104 inline void SetSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode& value) { m_samplePromptsControlModeHasBeenSet = true; m_samplePromptsControlMode = value; }
105 inline void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode&& value) { m_samplePromptsControlModeHasBeenSet = true; m_samplePromptsControlMode = std::move(value); }
109
111
121 inline const Aws::Vector<Aws::String>& GetOrigins() const{ return m_origins; }
122 inline bool OriginsHasBeenSet() const { return m_originsHasBeenSet; }
123 inline void SetOrigins(const Aws::Vector<Aws::String>& value) { m_originsHasBeenSet = true; m_origins = value; }
124 inline void SetOrigins(Aws::Vector<Aws::String>&& value) { m_originsHasBeenSet = true; m_origins = std::move(value); }
125 inline CreateWebExperienceRequest& WithOrigins(const Aws::Vector<Aws::String>& value) { SetOrigins(value); return *this;}
126 inline CreateWebExperienceRequest& WithOrigins(Aws::Vector<Aws::String>&& value) { SetOrigins(std::move(value)); return *this;}
127 inline CreateWebExperienceRequest& AddOrigins(const Aws::String& value) { m_originsHasBeenSet = true; m_origins.push_back(value); return *this; }
128 inline CreateWebExperienceRequest& AddOrigins(Aws::String&& value) { m_originsHasBeenSet = true; m_origins.push_back(std::move(value)); return *this; }
129 inline CreateWebExperienceRequest& AddOrigins(const char* value) { m_originsHasBeenSet = true; m_origins.push_back(value); return *this; }
131
133
140 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
141 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
142 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
143 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
144 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
145 inline CreateWebExperienceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
146 inline CreateWebExperienceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
147 inline CreateWebExperienceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
149
151
157 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
158 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
159 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
160 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
161 inline CreateWebExperienceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
162 inline CreateWebExperienceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
163 inline CreateWebExperienceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
164 inline CreateWebExperienceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
166
168
172 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
173 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
174 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
175 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
176 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
177 inline CreateWebExperienceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
178 inline CreateWebExperienceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
179 inline CreateWebExperienceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
181
183
187 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const{ return m_identityProviderConfiguration; }
188 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
189 inline void SetIdentityProviderConfiguration(const IdentityProviderConfiguration& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = value; }
190 inline void SetIdentityProviderConfiguration(IdentityProviderConfiguration&& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = std::move(value); }
194 private:
195
196 Aws::String m_applicationId;
197 bool m_applicationIdHasBeenSet = false;
198
199 Aws::String m_title;
200 bool m_titleHasBeenSet = false;
201
202 Aws::String m_subtitle;
203 bool m_subtitleHasBeenSet = false;
204
205 Aws::String m_welcomeMessage;
206 bool m_welcomeMessageHasBeenSet = false;
207
208 WebExperienceSamplePromptsControlMode m_samplePromptsControlMode;
209 bool m_samplePromptsControlModeHasBeenSet = false;
210
211 Aws::Vector<Aws::String> m_origins;
212 bool m_originsHasBeenSet = false;
213
214 Aws::String m_roleArn;
215 bool m_roleArnHasBeenSet = false;
216
217 Aws::Vector<Tag> m_tags;
218 bool m_tagsHasBeenSet = false;
219
220 Aws::String m_clientToken;
221 bool m_clientTokenHasBeenSet = false;
222
223 IdentityProviderConfiguration m_identityProviderConfiguration;
224 bool m_identityProviderConfigurationHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace QBusiness
229} // namespace Aws
CreateWebExperienceRequest & WithSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode &value)
const WebExperienceSamplePromptsControlMode & GetSamplePromptsControlMode() const
CreateWebExperienceRequest & WithRoleArn(const Aws::String &value)
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
void SetIdentityProviderConfiguration(const IdentityProviderConfiguration &value)
void SetOrigins(Aws::Vector< Aws::String > &&value)
CreateWebExperienceRequest & WithSubtitle(Aws::String &&value)
CreateWebExperienceRequest & WithApplicationId(const Aws::String &value)
CreateWebExperienceRequest & WithTitle(Aws::String &&value)
CreateWebExperienceRequest & WithTags(Aws::Vector< Tag > &&value)
CreateWebExperienceRequest & WithApplicationId(const char *value)
CreateWebExperienceRequest & WithIdentityProviderConfiguration(IdentityProviderConfiguration &&value)
CreateWebExperienceRequest & WithTitle(const char *value)
CreateWebExperienceRequest & WithWelcomeMessage(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateWebExperienceRequest & WithOrigins(const Aws::Vector< Aws::String > &value)
CreateWebExperienceRequest & AddTags(const Tag &value)
CreateWebExperienceRequest & WithWelcomeMessage(Aws::String &&value)
CreateWebExperienceRequest & WithSamplePromptsControlMode(WebExperienceSamplePromptsControlMode &&value)
CreateWebExperienceRequest & WithRoleArn(Aws::String &&value)
CreateWebExperienceRequest & WithRoleArn(const char *value)
void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode &&value)
CreateWebExperienceRequest & WithApplicationId(Aws::String &&value)
CreateWebExperienceRequest & AddOrigins(const char *value)
CreateWebExperienceRequest & WithSubtitle(const char *value)
CreateWebExperienceRequest & AddOrigins(Aws::String &&value)
CreateWebExperienceRequest & AddOrigins(const Aws::String &value)
void SetSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode &value)
CreateWebExperienceRequest & WithTags(const Aws::Vector< Tag > &value)
CreateWebExperienceRequest & WithClientToken(Aws::String &&value)
void SetOrigins(const Aws::Vector< Aws::String > &value)
CreateWebExperienceRequest & WithClientToken(const Aws::String &value)
CreateWebExperienceRequest & WithClientToken(const char *value)
CreateWebExperienceRequest & WithWelcomeMessage(const char *value)
CreateWebExperienceRequest & WithIdentityProviderConfiguration(const IdentityProviderConfiguration &value)
void SetIdentityProviderConfiguration(IdentityProviderConfiguration &&value)
CreateWebExperienceRequest & WithOrigins(Aws::Vector< Aws::String > &&value)
CreateWebExperienceRequest & WithSubtitle(const Aws::String &value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
CreateWebExperienceRequest & AddTags(Tag &&value)
const Aws::Vector< Aws::String > & GetOrigins() const
CreateWebExperienceRequest & WithTitle(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector