AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetWebExperienceResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/WebExperienceStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/qbusiness/model/WebExperienceSamplePromptsControlMode.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/qbusiness/model/IdentityProviderConfiguration.h>
14#include <aws/qbusiness/model/ErrorDetail.h>
15#include <aws/qbusiness/model/BrowserExtensionConfiguration.h>
16#include <aws/qbusiness/model/CustomizationConfiguration.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace QBusiness
32{
33namespace Model
34{
36 {
37 public:
38 AWS_QBUSINESS_API GetWebExperienceResult() = default;
41
42
44
48 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
49 template<typename ApplicationIdT = Aws::String>
50 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
51 template<typename ApplicationIdT = Aws::String>
52 GetWebExperienceResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetWebExperienceId() const { return m_webExperienceId; }
60 template<typename WebExperienceIdT = Aws::String>
61 void SetWebExperienceId(WebExperienceIdT&& value) { m_webExperienceIdHasBeenSet = true; m_webExperienceId = std::forward<WebExperienceIdT>(value); }
62 template<typename WebExperienceIdT = Aws::String>
63 GetWebExperienceResult& WithWebExperienceId(WebExperienceIdT&& value) { SetWebExperienceId(std::forward<WebExperienceIdT>(value)); return *this;}
65
67
71 inline const Aws::String& GetWebExperienceArn() const { return m_webExperienceArn; }
72 template<typename WebExperienceArnT = Aws::String>
73 void SetWebExperienceArn(WebExperienceArnT&& value) { m_webExperienceArnHasBeenSet = true; m_webExperienceArn = std::forward<WebExperienceArnT>(value); }
74 template<typename WebExperienceArnT = Aws::String>
75 GetWebExperienceResult& WithWebExperienceArn(WebExperienceArnT&& value) { SetWebExperienceArn(std::forward<WebExperienceArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDefaultEndpoint() const { return m_defaultEndpoint; }
83 template<typename DefaultEndpointT = Aws::String>
84 void SetDefaultEndpoint(DefaultEndpointT&& value) { m_defaultEndpointHasBeenSet = true; m_defaultEndpoint = std::forward<DefaultEndpointT>(value); }
85 template<typename DefaultEndpointT = Aws::String>
86 GetWebExperienceResult& WithDefaultEndpoint(DefaultEndpointT&& value) { SetDefaultEndpoint(std::forward<DefaultEndpointT>(value)); return *this;}
88
90
96 inline WebExperienceStatus GetStatus() const { return m_status; }
97 inline void SetStatus(WebExperienceStatus value) { m_statusHasBeenSet = true; m_status = value; }
98 inline GetWebExperienceResult& WithStatus(WebExperienceStatus value) { SetStatus(value); return *this;}
100
102
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 template<typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
109 template<typename CreatedAtT = Aws::Utils::DateTime>
110 GetWebExperienceResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
112
114
118 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
119 template<typename UpdatedAtT = Aws::Utils::DateTime>
120 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
121 template<typename UpdatedAtT = Aws::Utils::DateTime>
122 GetWebExperienceResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
124
126
129 inline const Aws::String& GetTitle() const { return m_title; }
130 template<typename TitleT = Aws::String>
131 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
132 template<typename TitleT = Aws::String>
133 GetWebExperienceResult& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
135
137
140 inline const Aws::String& GetSubtitle() const { return m_subtitle; }
141 template<typename SubtitleT = Aws::String>
142 void SetSubtitle(SubtitleT&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::forward<SubtitleT>(value); }
143 template<typename SubtitleT = Aws::String>
144 GetWebExperienceResult& WithSubtitle(SubtitleT&& value) { SetSubtitle(std::forward<SubtitleT>(value)); return *this;}
146
148
152 inline const Aws::String& GetWelcomeMessage() const { return m_welcomeMessage; }
153 template<typename WelcomeMessageT = Aws::String>
154 void SetWelcomeMessage(WelcomeMessageT&& value) { m_welcomeMessageHasBeenSet = true; m_welcomeMessage = std::forward<WelcomeMessageT>(value); }
155 template<typename WelcomeMessageT = Aws::String>
156 GetWebExperienceResult& WithWelcomeMessage(WelcomeMessageT&& value) { SetWelcomeMessage(std::forward<WelcomeMessageT>(value)); return *this;}
158
160
164 inline WebExperienceSamplePromptsControlMode GetSamplePromptsControlMode() const { return m_samplePromptsControlMode; }
165 inline void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode value) { m_samplePromptsControlModeHasBeenSet = true; m_samplePromptsControlMode = value; }
168
170
176 inline const Aws::Vector<Aws::String>& GetOrigins() const { return m_origins; }
177 template<typename OriginsT = Aws::Vector<Aws::String>>
178 void SetOrigins(OriginsT&& value) { m_originsHasBeenSet = true; m_origins = std::forward<OriginsT>(value); }
179 template<typename OriginsT = Aws::Vector<Aws::String>>
180 GetWebExperienceResult& WithOrigins(OriginsT&& value) { SetOrigins(std::forward<OriginsT>(value)); return *this;}
181 template<typename OriginsT = Aws::String>
182 GetWebExperienceResult& AddOrigins(OriginsT&& value) { m_originsHasBeenSet = true; m_origins.emplace_back(std::forward<OriginsT>(value)); return *this; }
184
186
190 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
191 template<typename RoleArnT = Aws::String>
192 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
193 template<typename RoleArnT = Aws::String>
194 GetWebExperienceResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
196
198
202 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const { return m_identityProviderConfiguration; }
203 template<typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
204 void SetIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value); }
205 template<typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
206 GetWebExperienceResult& WithIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) { SetIdentityProviderConfiguration(std::forward<IdentityProviderConfigurationT>(value)); return *this;}
208
210
215 inline const ErrorDetail& GetError() const { return m_error; }
216 template<typename ErrorT = ErrorDetail>
217 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
218 template<typename ErrorT = ErrorDetail>
219 GetWebExperienceResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
221
223
227 inline const BrowserExtensionConfiguration& GetBrowserExtensionConfiguration() const { return m_browserExtensionConfiguration; }
228 template<typename BrowserExtensionConfigurationT = BrowserExtensionConfiguration>
229 void SetBrowserExtensionConfiguration(BrowserExtensionConfigurationT&& value) { m_browserExtensionConfigurationHasBeenSet = true; m_browserExtensionConfiguration = std::forward<BrowserExtensionConfigurationT>(value); }
230 template<typename BrowserExtensionConfigurationT = BrowserExtensionConfiguration>
231 GetWebExperienceResult& WithBrowserExtensionConfiguration(BrowserExtensionConfigurationT&& value) { SetBrowserExtensionConfiguration(std::forward<BrowserExtensionConfigurationT>(value)); return *this;}
233
235
239 inline const CustomizationConfiguration& GetCustomizationConfiguration() const { return m_customizationConfiguration; }
240 template<typename CustomizationConfigurationT = CustomizationConfiguration>
241 void SetCustomizationConfiguration(CustomizationConfigurationT&& value) { m_customizationConfigurationHasBeenSet = true; m_customizationConfiguration = std::forward<CustomizationConfigurationT>(value); }
242 template<typename CustomizationConfigurationT = CustomizationConfiguration>
243 GetWebExperienceResult& WithCustomizationConfiguration(CustomizationConfigurationT&& value) { SetCustomizationConfiguration(std::forward<CustomizationConfigurationT>(value)); return *this;}
245
247
248 inline const Aws::String& GetRequestId() const { return m_requestId; }
249 template<typename RequestIdT = Aws::String>
250 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
251 template<typename RequestIdT = Aws::String>
252 GetWebExperienceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
254 private:
255
256 Aws::String m_applicationId;
257 bool m_applicationIdHasBeenSet = false;
258
259 Aws::String m_webExperienceId;
260 bool m_webExperienceIdHasBeenSet = false;
261
262 Aws::String m_webExperienceArn;
263 bool m_webExperienceArnHasBeenSet = false;
264
265 Aws::String m_defaultEndpoint;
266 bool m_defaultEndpointHasBeenSet = false;
267
269 bool m_statusHasBeenSet = false;
270
271 Aws::Utils::DateTime m_createdAt{};
272 bool m_createdAtHasBeenSet = false;
273
274 Aws::Utils::DateTime m_updatedAt{};
275 bool m_updatedAtHasBeenSet = false;
276
277 Aws::String m_title;
278 bool m_titleHasBeenSet = false;
279
280 Aws::String m_subtitle;
281 bool m_subtitleHasBeenSet = false;
282
283 Aws::String m_welcomeMessage;
284 bool m_welcomeMessageHasBeenSet = false;
285
287 bool m_samplePromptsControlModeHasBeenSet = false;
288
289 Aws::Vector<Aws::String> m_origins;
290 bool m_originsHasBeenSet = false;
291
292 Aws::String m_roleArn;
293 bool m_roleArnHasBeenSet = false;
294
295 IdentityProviderConfiguration m_identityProviderConfiguration;
296 bool m_identityProviderConfigurationHasBeenSet = false;
297
298 ErrorDetail m_error;
299 bool m_errorHasBeenSet = false;
300
301 BrowserExtensionConfiguration m_browserExtensionConfiguration;
302 bool m_browserExtensionConfigurationHasBeenSet = false;
303
304 CustomizationConfiguration m_customizationConfiguration;
305 bool m_customizationConfigurationHasBeenSet = false;
306
307 Aws::String m_requestId;
308 bool m_requestIdHasBeenSet = false;
309 };
310
311} // namespace Model
312} // namespace QBusiness
313} // namespace Aws
GetWebExperienceResult & WithOrigins(OriginsT &&value)
GetWebExperienceResult & WithRoleArn(RoleArnT &&value)
WebExperienceSamplePromptsControlMode GetSamplePromptsControlMode() const
void SetCustomizationConfiguration(CustomizationConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_QBUSINESS_API GetWebExperienceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWebExperienceResult & WithWelcomeMessage(WelcomeMessageT &&value)
AWS_QBUSINESS_API GetWebExperienceResult()=default
GetWebExperienceResult & WithSubtitle(SubtitleT &&value)
GetWebExperienceResult & WithWebExperienceId(WebExperienceIdT &&value)
const BrowserExtensionConfiguration & GetBrowserExtensionConfiguration() const
GetWebExperienceResult & WithBrowserExtensionConfiguration(BrowserExtensionConfigurationT &&value)
void SetWebExperienceArn(WebExperienceArnT &&value)
const Aws::Vector< Aws::String > & GetOrigins() const
GetWebExperienceResult & WithSamplePromptsControlMode(WebExperienceSamplePromptsControlMode value)
GetWebExperienceResult & WithStatus(WebExperienceStatus value)
GetWebExperienceResult & WithError(ErrorT &&value)
void SetIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
void SetBrowserExtensionConfiguration(BrowserExtensionConfigurationT &&value)
GetWebExperienceResult & WithRequestId(RequestIdT &&value)
GetWebExperienceResult & WithCreatedAt(CreatedAtT &&value)
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
GetWebExperienceResult & WithWebExperienceArn(WebExperienceArnT &&value)
const CustomizationConfiguration & GetCustomizationConfiguration() const
GetWebExperienceResult & WithTitle(TitleT &&value)
GetWebExperienceResult & WithCustomizationConfiguration(CustomizationConfigurationT &&value)
void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode value)
AWS_QBUSINESS_API GetWebExperienceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWebExperienceResult & WithDefaultEndpoint(DefaultEndpointT &&value)
GetWebExperienceResult & WithUpdatedAt(UpdatedAtT &&value)
GetWebExperienceResult & WithIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
GetWebExperienceResult & AddOrigins(OriginsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetWebExperienceResult & WithApplicationId(ApplicationIdT &&value)
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
Aws::Utils::Json::JsonValue JsonValue