AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBotVersionResult.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lex-models/model/Prompt.h>
11#include <aws/lex-models/model/Statement.h>
12#include <aws/lex-models/model/Status.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/lex-models/model/Locale.h>
15#include <aws/lex-models/model/Intent.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace LexModelBuildingService
31{
32namespace Model
33{
35 {
36 public:
37 AWS_LEXMODELBUILDINGSERVICE_API CreateBotVersionResult();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline void SetName(const Aws::String& value) { m_name = value; }
48 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
49 inline void SetName(const char* value) { m_name.assign(value); }
50 inline CreateBotVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreateBotVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreateBotVersionResult& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline void SetDescription(const Aws::String& value) { m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_description.assign(value); }
63 inline CreateBotVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateBotVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateBotVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
73 inline const Aws::Vector<Intent>& GetIntents() const{ return m_intents; }
74 inline void SetIntents(const Aws::Vector<Intent>& value) { m_intents = value; }
75 inline void SetIntents(Aws::Vector<Intent>&& value) { m_intents = std::move(value); }
76 inline CreateBotVersionResult& WithIntents(const Aws::Vector<Intent>& value) { SetIntents(value); return *this;}
77 inline CreateBotVersionResult& WithIntents(Aws::Vector<Intent>&& value) { SetIntents(std::move(value)); return *this;}
78 inline CreateBotVersionResult& AddIntents(const Intent& value) { m_intents.push_back(value); return *this; }
79 inline CreateBotVersionResult& AddIntents(Intent&& value) { m_intents.push_back(std::move(value)); return *this; }
81
83
87 inline const Prompt& GetClarificationPrompt() const{ return m_clarificationPrompt; }
88 inline void SetClarificationPrompt(const Prompt& value) { m_clarificationPrompt = value; }
89 inline void SetClarificationPrompt(Prompt&& value) { m_clarificationPrompt = std::move(value); }
90 inline CreateBotVersionResult& WithClarificationPrompt(const Prompt& value) { SetClarificationPrompt(value); return *this;}
91 inline CreateBotVersionResult& WithClarificationPrompt(Prompt&& value) { SetClarificationPrompt(std::move(value)); return *this;}
93
95
99 inline const Statement& GetAbortStatement() const{ return m_abortStatement; }
100 inline void SetAbortStatement(const Statement& value) { m_abortStatement = value; }
101 inline void SetAbortStatement(Statement&& value) { m_abortStatement = std::move(value); }
102 inline CreateBotVersionResult& WithAbortStatement(const Statement& value) { SetAbortStatement(value); return *this;}
103 inline CreateBotVersionResult& WithAbortStatement(Statement&& value) { SetAbortStatement(std::move(value)); return *this;}
105
107
115 inline const Status& GetStatus() const{ return m_status; }
116 inline void SetStatus(const Status& value) { m_status = value; }
117 inline void SetStatus(Status&& value) { m_status = std::move(value); }
118 inline CreateBotVersionResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
119 inline CreateBotVersionResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
121
123
127 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
128 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
129 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
130 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
131 inline CreateBotVersionResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
132 inline CreateBotVersionResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
133 inline CreateBotVersionResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
141 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
142 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
144 inline CreateBotVersionResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
152 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
153 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
154 inline CreateBotVersionResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
155 inline CreateBotVersionResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
157
159
163 inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; }
164 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSeconds = value; }
167
169
173 inline const Aws::String& GetVoiceId() const{ return m_voiceId; }
174 inline void SetVoiceId(const Aws::String& value) { m_voiceId = value; }
175 inline void SetVoiceId(Aws::String&& value) { m_voiceId = std::move(value); }
176 inline void SetVoiceId(const char* value) { m_voiceId.assign(value); }
177 inline CreateBotVersionResult& WithVoiceId(const Aws::String& value) { SetVoiceId(value); return *this;}
178 inline CreateBotVersionResult& WithVoiceId(Aws::String&& value) { SetVoiceId(std::move(value)); return *this;}
179 inline CreateBotVersionResult& WithVoiceId(const char* value) { SetVoiceId(value); return *this;}
181
183
186 inline const Aws::String& GetChecksum() const{ return m_checksum; }
187 inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
188 inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
189 inline void SetChecksum(const char* value) { m_checksum.assign(value); }
190 inline CreateBotVersionResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
191 inline CreateBotVersionResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
192 inline CreateBotVersionResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
194
196
199 inline const Aws::String& GetVersion() const{ return m_version; }
200 inline void SetVersion(const Aws::String& value) { m_version = value; }
201 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
202 inline void SetVersion(const char* value) { m_version.assign(value); }
203 inline CreateBotVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
204 inline CreateBotVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
205 inline CreateBotVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
207
209
212 inline const Locale& GetLocale() const{ return m_locale; }
213 inline void SetLocale(const Locale& value) { m_locale = value; }
214 inline void SetLocale(Locale&& value) { m_locale = std::move(value); }
215 inline CreateBotVersionResult& WithLocale(const Locale& value) { SetLocale(value); return *this;}
216 inline CreateBotVersionResult& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
218
220
245 inline bool GetChildDirected() const{ return m_childDirected; }
246 inline void SetChildDirected(bool value) { m_childDirected = value; }
247 inline CreateBotVersionResult& WithChildDirected(bool value) { SetChildDirected(value); return *this;}
249
251
256 inline bool GetEnableModelImprovements() const{ return m_enableModelImprovements; }
257 inline void SetEnableModelImprovements(bool value) { m_enableModelImprovements = value; }
260
262
266 inline bool GetDetectSentiment() const{ return m_detectSentiment; }
267 inline void SetDetectSentiment(bool value) { m_detectSentiment = value; }
268 inline CreateBotVersionResult& WithDetectSentiment(bool value) { SetDetectSentiment(value); return *this;}
270
272
273 inline const Aws::String& GetRequestId() const{ return m_requestId; }
274 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
275 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
276 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
277 inline CreateBotVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
278 inline CreateBotVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
279 inline CreateBotVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
281 private:
282
283 Aws::String m_name;
284
285 Aws::String m_description;
286
287 Aws::Vector<Intent> m_intents;
288
289 Prompt m_clarificationPrompt;
290
291 Statement m_abortStatement;
292
293 Status m_status;
294
295 Aws::String m_failureReason;
296
297 Aws::Utils::DateTime m_lastUpdatedDate;
298
299 Aws::Utils::DateTime m_createdDate;
300
301 int m_idleSessionTTLInSeconds;
302
303 Aws::String m_voiceId;
304
305 Aws::String m_checksum;
306
307 Aws::String m_version;
308
309 Locale m_locale;
310
311 bool m_childDirected;
312
313 bool m_enableModelImprovements;
314
315 bool m_detectSentiment;
316
317 Aws::String m_requestId;
318 };
319
320} // namespace Model
321} // namespace LexModelBuildingService
322} // namespace Aws
CreateBotVersionResult & WithRequestId(const Aws::String &value)
CreateBotVersionResult & WithName(const Aws::String &value)
CreateBotVersionResult & WithDescription(Aws::String &&value)
CreateBotVersionResult & WithRequestId(Aws::String &&value)
CreateBotVersionResult & WithIntents(const Aws::Vector< Intent > &value)
CreateBotVersionResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
CreateBotVersionResult & WithChecksum(const Aws::String &value)
CreateBotVersionResult & WithStatus(const Status &value)
CreateBotVersionResult & WithFailureReason(const Aws::String &value)
CreateBotVersionResult & WithVoiceId(Aws::String &&value)
CreateBotVersionResult & WithDescription(const char *value)
CreateBotVersionResult & WithAbortStatement(Statement &&value)
CreateBotVersionResult & WithFailureReason(const char *value)
CreateBotVersionResult & AddIntents(const Intent &value)
CreateBotVersionResult & WithIntents(Aws::Vector< Intent > &&value)
CreateBotVersionResult & WithVersion(const Aws::String &value)
CreateBotVersionResult & WithName(Aws::String &&value)
CreateBotVersionResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
AWS_LEXMODELBUILDINGSERVICE_API CreateBotVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotVersionResult & WithAbortStatement(const Statement &value)
CreateBotVersionResult & WithLocale(const Locale &value)
CreateBotVersionResult & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API CreateBotVersionResult()
CreateBotVersionResult & WithCreatedDate(Aws::Utils::DateTime &&value)
CreateBotVersionResult & WithVersion(Aws::String &&value)
CreateBotVersionResult & WithFailureReason(Aws::String &&value)
CreateBotVersionResult & WithRequestId(const char *value)
CreateBotVersionResult & WithVoiceId(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API CreateBotVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotVersionResult & WithClarificationPrompt(const Prompt &value)
CreateBotVersionResult & WithDescription(const Aws::String &value)
CreateBotVersionResult & WithChecksum(Aws::String &&value)
CreateBotVersionResult & WithClarificationPrompt(Prompt &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue