AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace QBusiness
30{
31namespace Model
32{
34 {
35 public:
36 AWS_QBUSINESS_API GetWebExperienceResult();
39
40
42
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
48 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
49 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
50 inline GetWebExperienceResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
51 inline GetWebExperienceResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
52 inline GetWebExperienceResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
54
56
59 inline const Aws::String& GetWebExperienceId() const{ return m_webExperienceId; }
60 inline void SetWebExperienceId(const Aws::String& value) { m_webExperienceId = value; }
61 inline void SetWebExperienceId(Aws::String&& value) { m_webExperienceId = std::move(value); }
62 inline void SetWebExperienceId(const char* value) { m_webExperienceId.assign(value); }
63 inline GetWebExperienceResult& WithWebExperienceId(const Aws::String& value) { SetWebExperienceId(value); return *this;}
64 inline GetWebExperienceResult& WithWebExperienceId(Aws::String&& value) { SetWebExperienceId(std::move(value)); return *this;}
65 inline GetWebExperienceResult& WithWebExperienceId(const char* value) { SetWebExperienceId(value); return *this;}
67
69
73 inline const Aws::String& GetWebExperienceArn() const{ return m_webExperienceArn; }
74 inline void SetWebExperienceArn(const Aws::String& value) { m_webExperienceArn = value; }
75 inline void SetWebExperienceArn(Aws::String&& value) { m_webExperienceArn = std::move(value); }
76 inline void SetWebExperienceArn(const char* value) { m_webExperienceArn.assign(value); }
77 inline GetWebExperienceResult& WithWebExperienceArn(const Aws::String& value) { SetWebExperienceArn(value); return *this;}
78 inline GetWebExperienceResult& WithWebExperienceArn(Aws::String&& value) { SetWebExperienceArn(std::move(value)); return *this;}
79 inline GetWebExperienceResult& WithWebExperienceArn(const char* value) { SetWebExperienceArn(value); return *this;}
81
83
86 inline const Aws::String& GetDefaultEndpoint() const{ return m_defaultEndpoint; }
87 inline void SetDefaultEndpoint(const Aws::String& value) { m_defaultEndpoint = value; }
88 inline void SetDefaultEndpoint(Aws::String&& value) { m_defaultEndpoint = std::move(value); }
89 inline void SetDefaultEndpoint(const char* value) { m_defaultEndpoint.assign(value); }
90 inline GetWebExperienceResult& WithDefaultEndpoint(const Aws::String& value) { SetDefaultEndpoint(value); return *this;}
91 inline GetWebExperienceResult& WithDefaultEndpoint(Aws::String&& value) { SetDefaultEndpoint(std::move(value)); return *this;}
92 inline GetWebExperienceResult& WithDefaultEndpoint(const char* value) { SetDefaultEndpoint(value); return *this;}
94
96
102 inline const WebExperienceStatus& GetStatus() const{ return m_status; }
103 inline void SetStatus(const WebExperienceStatus& value) { m_status = value; }
104 inline void SetStatus(WebExperienceStatus&& value) { m_status = std::move(value); }
105 inline GetWebExperienceResult& WithStatus(const WebExperienceStatus& value) { SetStatus(value); return *this;}
106 inline GetWebExperienceResult& WithStatus(WebExperienceStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
115 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
116 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
117 inline GetWebExperienceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
118 inline GetWebExperienceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
120
122
126 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
127 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
128 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
129 inline GetWebExperienceResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
130 inline GetWebExperienceResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetTitle() const{ return m_title; }
138 inline void SetTitle(const Aws::String& value) { m_title = value; }
139 inline void SetTitle(Aws::String&& value) { m_title = std::move(value); }
140 inline void SetTitle(const char* value) { m_title.assign(value); }
141 inline GetWebExperienceResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
142 inline GetWebExperienceResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
143 inline GetWebExperienceResult& WithTitle(const char* value) { SetTitle(value); return *this;}
145
147
150 inline const Aws::String& GetSubtitle() const{ return m_subtitle; }
151 inline void SetSubtitle(const Aws::String& value) { m_subtitle = value; }
152 inline void SetSubtitle(Aws::String&& value) { m_subtitle = std::move(value); }
153 inline void SetSubtitle(const char* value) { m_subtitle.assign(value); }
154 inline GetWebExperienceResult& WithSubtitle(const Aws::String& value) { SetSubtitle(value); return *this;}
155 inline GetWebExperienceResult& WithSubtitle(Aws::String&& value) { SetSubtitle(std::move(value)); return *this;}
156 inline GetWebExperienceResult& WithSubtitle(const char* value) { SetSubtitle(value); return *this;}
158
160
164 inline const Aws::String& GetWelcomeMessage() const{ return m_welcomeMessage; }
165 inline void SetWelcomeMessage(const Aws::String& value) { m_welcomeMessage = value; }
166 inline void SetWelcomeMessage(Aws::String&& value) { m_welcomeMessage = std::move(value); }
167 inline void SetWelcomeMessage(const char* value) { m_welcomeMessage.assign(value); }
168 inline GetWebExperienceResult& WithWelcomeMessage(const Aws::String& value) { SetWelcomeMessage(value); return *this;}
169 inline GetWebExperienceResult& WithWelcomeMessage(Aws::String&& value) { SetWelcomeMessage(std::move(value)); return *this;}
170 inline GetWebExperienceResult& WithWelcomeMessage(const char* value) { SetWelcomeMessage(value); return *this;}
172
174
178 inline const WebExperienceSamplePromptsControlMode& GetSamplePromptsControlMode() const{ return m_samplePromptsControlMode; }
179 inline void SetSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode& value) { m_samplePromptsControlMode = value; }
180 inline void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode&& value) { m_samplePromptsControlMode = std::move(value); }
184
186
193 inline const Aws::Vector<Aws::String>& GetOrigins() const{ return m_origins; }
194 inline void SetOrigins(const Aws::Vector<Aws::String>& value) { m_origins = value; }
195 inline void SetOrigins(Aws::Vector<Aws::String>&& value) { m_origins = std::move(value); }
196 inline GetWebExperienceResult& WithOrigins(const Aws::Vector<Aws::String>& value) { SetOrigins(value); return *this;}
197 inline GetWebExperienceResult& WithOrigins(Aws::Vector<Aws::String>&& value) { SetOrigins(std::move(value)); return *this;}
198 inline GetWebExperienceResult& AddOrigins(const Aws::String& value) { m_origins.push_back(value); return *this; }
199 inline GetWebExperienceResult& AddOrigins(Aws::String&& value) { m_origins.push_back(std::move(value)); return *this; }
200 inline GetWebExperienceResult& AddOrigins(const char* value) { m_origins.push_back(value); return *this; }
202
204
208 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
209 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
210 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
211 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
212 inline GetWebExperienceResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
213 inline GetWebExperienceResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
214 inline GetWebExperienceResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
216
218
222 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const{ return m_identityProviderConfiguration; }
223 inline void SetIdentityProviderConfiguration(const IdentityProviderConfiguration& value) { m_identityProviderConfiguration = value; }
224 inline void SetIdentityProviderConfiguration(IdentityProviderConfiguration&& value) { m_identityProviderConfiguration = std::move(value); }
228
230
235 inline const ErrorDetail& GetError() const{ return m_error; }
236 inline void SetError(const ErrorDetail& value) { m_error = value; }
237 inline void SetError(ErrorDetail&& value) { m_error = std::move(value); }
238 inline GetWebExperienceResult& WithError(const ErrorDetail& value) { SetError(value); return *this;}
239 inline GetWebExperienceResult& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
241
243
244 inline const Aws::String& GetRequestId() const{ return m_requestId; }
245 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
246 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
247 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
248 inline GetWebExperienceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
249 inline GetWebExperienceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
250 inline GetWebExperienceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
252 private:
253
254 Aws::String m_applicationId;
255
256 Aws::String m_webExperienceId;
257
258 Aws::String m_webExperienceArn;
259
260 Aws::String m_defaultEndpoint;
261
262 WebExperienceStatus m_status;
263
264 Aws::Utils::DateTime m_createdAt;
265
266 Aws::Utils::DateTime m_updatedAt;
267
268 Aws::String m_title;
269
270 Aws::String m_subtitle;
271
272 Aws::String m_welcomeMessage;
273
274 WebExperienceSamplePromptsControlMode m_samplePromptsControlMode;
275
276 Aws::Vector<Aws::String> m_origins;
277
278 Aws::String m_roleArn;
279
280 IdentityProviderConfiguration m_identityProviderConfiguration;
281
282 ErrorDetail m_error;
283
284 Aws::String m_requestId;
285 };
286
287} // namespace Model
288} // namespace QBusiness
289} // namespace Aws
GetWebExperienceResult & WithDefaultEndpoint(Aws::String &&value)
GetWebExperienceResult & WithTitle(const char *value)
const WebExperienceSamplePromptsControlMode & GetSamplePromptsControlMode() const
void SetOrigins(const Aws::Vector< Aws::String > &value)
void SetStatus(const WebExperienceStatus &value)
GetWebExperienceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetOrigins(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetWebExperienceResult & AddOrigins(const Aws::String &value)
GetWebExperienceResult & WithDefaultEndpoint(const Aws::String &value)
GetWebExperienceResult & AddOrigins(Aws::String &&value)
GetWebExperienceResult & WithRoleArn(const char *value)
AWS_QBUSINESS_API GetWebExperienceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetWebExperienceResult & WithStatus(WebExperienceStatus &&value)
GetWebExperienceResult & WithSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode &value)
GetWebExperienceResult & WithWebExperienceId(Aws::String &&value)
GetWebExperienceResult & WithApplicationId(Aws::String &&value)
GetWebExperienceResult & WithSubtitle(const Aws::String &value)
const Aws::Vector< Aws::String > & GetOrigins() const
void SetSamplePromptsControlMode(const WebExperienceSamplePromptsControlMode &value)
GetWebExperienceResult & WithWebExperienceId(const char *value)
void SetSamplePromptsControlMode(WebExperienceSamplePromptsControlMode &&value)
GetWebExperienceResult & WithWebExperienceId(const Aws::String &value)
GetWebExperienceResult & WithWebExperienceArn(Aws::String &&value)
GetWebExperienceResult & WithSubtitle(Aws::String &&value)
GetWebExperienceResult & WithIdentityProviderConfiguration(const IdentityProviderConfiguration &value)
GetWebExperienceResult & WithRequestId(const Aws::String &value)
GetWebExperienceResult & WithTitle(const Aws::String &value)
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
GetWebExperienceResult & WithWelcomeMessage(Aws::String &&value)
GetWebExperienceResult & WithSubtitle(const char *value)
GetWebExperienceResult & WithWebExperienceArn(const Aws::String &value)
GetWebExperienceResult & WithWelcomeMessage(const Aws::String &value)
GetWebExperienceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetWebExperienceResult & WithError(const ErrorDetail &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetWebExperienceResult & AddOrigins(const char *value)
GetWebExperienceResult & WithDefaultEndpoint(const char *value)
AWS_QBUSINESS_API GetWebExperienceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWebExperienceResult & WithOrigins(const Aws::Vector< Aws::String > &value)
GetWebExperienceResult & WithWelcomeMessage(const char *value)
GetWebExperienceResult & WithRequestId(Aws::String &&value)
GetWebExperienceResult & WithRequestId(const char *value)
const WebExperienceStatus & GetStatus() const
GetWebExperienceResult & WithRoleArn(Aws::String &&value)
GetWebExperienceResult & WithStatus(const WebExperienceStatus &value)
void SetIdentityProviderConfiguration(IdentityProviderConfiguration &&value)
GetWebExperienceResult & WithOrigins(Aws::Vector< Aws::String > &&value)
GetWebExperienceResult & WithWebExperienceArn(const char *value)
GetWebExperienceResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetWebExperienceResult & WithSamplePromptsControlMode(WebExperienceSamplePromptsControlMode &&value)
GetWebExperienceResult & WithError(ErrorDetail &&value)
GetWebExperienceResult & WithIdentityProviderConfiguration(IdentityProviderConfiguration &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetIdentityProviderConfiguration(const IdentityProviderConfiguration &value)
GetWebExperienceResult & WithApplicationId(const Aws::String &value)
GetWebExperienceResult & WithApplicationId(const char *value)
GetWebExperienceResult & WithTitle(Aws::String &&value)
GetWebExperienceResult & WithRoleArn(const Aws::String &value)
GetWebExperienceResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue