AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBotLocaleResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/VoiceSettings.h>
10#include <aws/lexv2-models/model/BotLocaleStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/lexv2-models/model/GenerativeAISettings.h>
14#include <aws/lexv2-models/model/BotLocaleHistoryEvent.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 LexModelsV2
30{
31namespace Model
32{
34 {
35 public:
36 AWS_LEXMODELSV2_API DescribeBotLocaleResult();
39
40
42
45 inline const Aws::String& GetBotId() const{ return m_botId; }
46 inline void SetBotId(const Aws::String& value) { m_botId = value; }
47 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
48 inline void SetBotId(const char* value) { m_botId.assign(value); }
49 inline DescribeBotLocaleResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
50 inline DescribeBotLocaleResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
51 inline DescribeBotLocaleResult& WithBotId(const char* value) { SetBotId(value); return *this;}
53
55
58 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
59 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
60 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
61 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
62 inline DescribeBotLocaleResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
63 inline DescribeBotLocaleResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
64 inline DescribeBotLocaleResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
66
68
71 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
72 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
73 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
74 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
75 inline DescribeBotLocaleResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
76 inline DescribeBotLocaleResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
77 inline DescribeBotLocaleResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
79
81
84 inline const Aws::String& GetLocaleName() const{ return m_localeName; }
85 inline void SetLocaleName(const Aws::String& value) { m_localeName = value; }
86 inline void SetLocaleName(Aws::String&& value) { m_localeName = std::move(value); }
87 inline void SetLocaleName(const char* value) { m_localeName.assign(value); }
88 inline DescribeBotLocaleResult& WithLocaleName(const Aws::String& value) { SetLocaleName(value); return *this;}
89 inline DescribeBotLocaleResult& WithLocaleName(Aws::String&& value) { SetLocaleName(std::move(value)); return *this;}
90 inline DescribeBotLocaleResult& WithLocaleName(const char* value) { SetLocaleName(value); return *this;}
92
94
97 inline const Aws::String& GetDescription() const{ return m_description; }
98 inline void SetDescription(const Aws::String& value) { m_description = value; }
99 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
100 inline void SetDescription(const char* value) { m_description.assign(value); }
101 inline DescribeBotLocaleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
102 inline DescribeBotLocaleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
103 inline DescribeBotLocaleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
105
107
112 inline double GetNluIntentConfidenceThreshold() const{ return m_nluIntentConfidenceThreshold; }
113 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThreshold = value; }
116
118
122 inline const VoiceSettings& GetVoiceSettings() const{ return m_voiceSettings; }
123 inline void SetVoiceSettings(const VoiceSettings& value) { m_voiceSettings = value; }
124 inline void SetVoiceSettings(VoiceSettings&& value) { m_voiceSettings = std::move(value); }
125 inline DescribeBotLocaleResult& WithVoiceSettings(const VoiceSettings& value) { SetVoiceSettings(value); return *this;}
126 inline DescribeBotLocaleResult& WithVoiceSettings(VoiceSettings&& value) { SetVoiceSettings(std::move(value)); return *this;}
128
130
133 inline int GetIntentsCount() const{ return m_intentsCount; }
134 inline void SetIntentsCount(int value) { m_intentsCount = value; }
135 inline DescribeBotLocaleResult& WithIntentsCount(int value) { SetIntentsCount(value); return *this;}
137
139
142 inline int GetSlotTypesCount() const{ return m_slotTypesCount; }
143 inline void SetSlotTypesCount(int value) { m_slotTypesCount = value; }
144 inline DescribeBotLocaleResult& WithSlotTypesCount(int value) { SetSlotTypesCount(value); return *this;}
146
148
152 inline const BotLocaleStatus& GetBotLocaleStatus() const{ return m_botLocaleStatus; }
153 inline void SetBotLocaleStatus(const BotLocaleStatus& value) { m_botLocaleStatus = value; }
154 inline void SetBotLocaleStatus(BotLocaleStatus&& value) { m_botLocaleStatus = std::move(value); }
156 inline DescribeBotLocaleResult& WithBotLocaleStatus(BotLocaleStatus&& value) { SetBotLocaleStatus(std::move(value)); return *this;}
158
160
164 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
165 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
166 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
169 inline DescribeBotLocaleResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
170 inline DescribeBotLocaleResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
171 inline DescribeBotLocaleResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
173
175
178 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
179 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
180 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
184
186
189 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
190 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
191 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
195
197
200 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const{ return m_lastBuildSubmittedDateTime; }
201 inline void SetLastBuildSubmittedDateTime(const Aws::Utils::DateTime& value) { m_lastBuildSubmittedDateTime = value; }
202 inline void SetLastBuildSubmittedDateTime(Aws::Utils::DateTime&& value) { m_lastBuildSubmittedDateTime = std::move(value); }
206
208
212 inline const Aws::Vector<BotLocaleHistoryEvent>& GetBotLocaleHistoryEvents() const{ return m_botLocaleHistoryEvents; }
213 inline void SetBotLocaleHistoryEvents(const Aws::Vector<BotLocaleHistoryEvent>& value) { m_botLocaleHistoryEvents = value; }
214 inline void SetBotLocaleHistoryEvents(Aws::Vector<BotLocaleHistoryEvent>&& value) { m_botLocaleHistoryEvents = std::move(value); }
217 inline DescribeBotLocaleResult& AddBotLocaleHistoryEvents(const BotLocaleHistoryEvent& value) { m_botLocaleHistoryEvents.push_back(value); return *this; }
218 inline DescribeBotLocaleResult& AddBotLocaleHistoryEvents(BotLocaleHistoryEvent&& value) { m_botLocaleHistoryEvents.push_back(std::move(value)); return *this; }
220
222
226 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const{ return m_recommendedActions; }
227 inline void SetRecommendedActions(const Aws::Vector<Aws::String>& value) { m_recommendedActions = value; }
228 inline void SetRecommendedActions(Aws::Vector<Aws::String>&& value) { m_recommendedActions = std::move(value); }
231 inline DescribeBotLocaleResult& AddRecommendedActions(const Aws::String& value) { m_recommendedActions.push_back(value); return *this; }
232 inline DescribeBotLocaleResult& AddRecommendedActions(Aws::String&& value) { m_recommendedActions.push_back(std::move(value)); return *this; }
233 inline DescribeBotLocaleResult& AddRecommendedActions(const char* value) { m_recommendedActions.push_back(value); return *this; }
235
237
241 inline const GenerativeAISettings& GetGenerativeAISettings() const{ return m_generativeAISettings; }
242 inline void SetGenerativeAISettings(const GenerativeAISettings& value) { m_generativeAISettings = value; }
243 inline void SetGenerativeAISettings(GenerativeAISettings&& value) { m_generativeAISettings = std::move(value); }
247
249
250 inline const Aws::String& GetRequestId() const{ return m_requestId; }
251 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
252 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
253 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
254 inline DescribeBotLocaleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
255 inline DescribeBotLocaleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
256 inline DescribeBotLocaleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
258 private:
259
260 Aws::String m_botId;
261
262 Aws::String m_botVersion;
263
264 Aws::String m_localeId;
265
266 Aws::String m_localeName;
267
268 Aws::String m_description;
269
270 double m_nluIntentConfidenceThreshold;
271
272 VoiceSettings m_voiceSettings;
273
274 int m_intentsCount;
275
276 int m_slotTypesCount;
277
278 BotLocaleStatus m_botLocaleStatus;
279
280 Aws::Vector<Aws::String> m_failureReasons;
281
282 Aws::Utils::DateTime m_creationDateTime;
283
284 Aws::Utils::DateTime m_lastUpdatedDateTime;
285
286 Aws::Utils::DateTime m_lastBuildSubmittedDateTime;
287
288 Aws::Vector<BotLocaleHistoryEvent> m_botLocaleHistoryEvents;
289
290 Aws::Vector<Aws::String> m_recommendedActions;
291
292 GenerativeAISettings m_generativeAISettings;
293
294 Aws::String m_requestId;
295 };
296
297} // namespace Model
298} // namespace LexModelsV2
299} // namespace Aws
DescribeBotLocaleResult & WithGenerativeAISettings(GenerativeAISettings &&value)
DescribeBotLocaleResult & WithLastBuildSubmittedDateTime(const Aws::Utils::DateTime &value)
void SetBotLocaleHistoryEvents(Aws::Vector< BotLocaleHistoryEvent > &&value)
DescribeBotLocaleResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotLocaleResult & WithSlotTypesCount(int value)
DescribeBotLocaleResult & AddBotLocaleHistoryEvents(BotLocaleHistoryEvent &&value)
DescribeBotLocaleResult & WithRecommendedActions(Aws::Vector< Aws::String > &&value)
DescribeBotLocaleResult & WithLocaleName(const char *value)
DescribeBotLocaleResult & WithBotVersion(Aws::String &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotLocaleResult & WithBotLocaleStatus(const BotLocaleStatus &value)
DescribeBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
const GenerativeAISettings & GetGenerativeAISettings() const
const Aws::Vector< Aws::String > & GetRecommendedActions() const
DescribeBotLocaleResult & WithRequestId(Aws::String &&value)
void SetLastBuildSubmittedDateTime(const Aws::Utils::DateTime &value)
DescribeBotLocaleResult & WithBotId(const Aws::String &value)
DescribeBotLocaleResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeBotLocaleResult & WithDescription(const Aws::String &value)
DescribeBotLocaleResult & WithBotId(const char *value)
void SetBotLocaleHistoryEvents(const Aws::Vector< BotLocaleHistoryEvent > &value)
DescribeBotLocaleResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotLocaleResult & AddFailureReasons(const char *value)
AWS_LEXMODELSV2_API DescribeBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotLocaleResult & WithRequestId(const char *value)
DescribeBotLocaleResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeBotLocaleResult & WithLocaleName(Aws::String &&value)
DescribeBotLocaleResult & WithBotLocaleHistoryEvents(Aws::Vector< BotLocaleHistoryEvent > &&value)
DescribeBotLocaleResult & AddFailureReasons(const Aws::String &value)
void SetRecommendedActions(Aws::Vector< Aws::String > &&value)
void SetLastBuildSubmittedDateTime(Aws::Utils::DateTime &&value)
DescribeBotLocaleResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotLocaleResult & WithVoiceSettings(const VoiceSettings &value)
DescribeBotLocaleResult & WithBotLocaleHistoryEvents(const Aws::Vector< BotLocaleHistoryEvent > &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeBotLocaleResult & AddRecommendedActions(Aws::String &&value)
DescribeBotLocaleResult & WithBotVersion(const Aws::String &value)
DescribeBotLocaleResult & AddBotLocaleHistoryEvents(const BotLocaleHistoryEvent &value)
DescribeBotLocaleResult & WithRecommendedActions(const Aws::Vector< Aws::String > &value)
DescribeBotLocaleResult & WithLocaleId(const Aws::String &value)
const Aws::Vector< BotLocaleHistoryEvent > & GetBotLocaleHistoryEvents() const
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetLastBuildSubmittedDateTime() const
DescribeBotLocaleResult & WithLocaleId(Aws::String &&value)
DescribeBotLocaleResult & WithGenerativeAISettings(const GenerativeAISettings &value)
DescribeBotLocaleResult & WithDescription(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeBotLocaleResult & WithVoiceSettings(VoiceSettings &&value)
DescribeBotLocaleResult & AddFailureReasons(Aws::String &&value)
DescribeBotLocaleResult & AddRecommendedActions(const Aws::String &value)
AWS_LEXMODELSV2_API DescribeBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotLocaleResult & WithBotVersion(const char *value)
void SetRecommendedActions(const Aws::Vector< Aws::String > &value)
DescribeBotLocaleResult & WithBotId(Aws::String &&value)
void SetGenerativeAISettings(GenerativeAISettings &&value)
DescribeBotLocaleResult & WithLastBuildSubmittedDateTime(Aws::Utils::DateTime &&value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotLocaleResult & WithLocaleName(const Aws::String &value)
DescribeBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus &&value)
DescribeBotLocaleResult & WithIntentsCount(int value)
DescribeBotLocaleResult & WithLocaleId(const char *value)
DescribeBotLocaleResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeBotLocaleResult & AddRecommendedActions(const char *value)
void SetGenerativeAISettings(const GenerativeAISettings &value)
DescribeBotLocaleResult & WithRequestId(const Aws::String &value)
DescribeBotLocaleResult & WithDescription(const char *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