AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetBotId() const { return m_botId; }
46 template<typename BotIdT = Aws::String>
47 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
48 template<typename BotIdT = Aws::String>
49 DescribeBotLocaleResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
57 template<typename BotVersionT = Aws::String>
58 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
59 template<typename BotVersionT = Aws::String>
60 DescribeBotLocaleResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
62
64
67 inline const Aws::String& GetLocaleId() const { return m_localeId; }
68 template<typename LocaleIdT = Aws::String>
69 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
70 template<typename LocaleIdT = Aws::String>
71 DescribeBotLocaleResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetLocaleName() const { return m_localeName; }
79 template<typename LocaleNameT = Aws::String>
80 void SetLocaleName(LocaleNameT&& value) { m_localeNameHasBeenSet = true; m_localeName = std::forward<LocaleNameT>(value); }
81 template<typename LocaleNameT = Aws::String>
82 DescribeBotLocaleResult& WithLocaleName(LocaleNameT&& value) { SetLocaleName(std::forward<LocaleNameT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template<typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
92 template<typename DescriptionT = Aws::String>
93 DescribeBotLocaleResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
95
97
102 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
103 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
106
108
112 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
113 template<typename VoiceSettingsT = VoiceSettings>
114 void SetVoiceSettings(VoiceSettingsT&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::forward<VoiceSettingsT>(value); }
115 template<typename VoiceSettingsT = VoiceSettings>
116 DescribeBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) { SetVoiceSettings(std::forward<VoiceSettingsT>(value)); return *this;}
118
120
123 inline int GetIntentsCount() const { return m_intentsCount; }
124 inline void SetIntentsCount(int value) { m_intentsCountHasBeenSet = true; m_intentsCount = value; }
125 inline DescribeBotLocaleResult& WithIntentsCount(int value) { SetIntentsCount(value); return *this;}
127
129
132 inline int GetSlotTypesCount() const { return m_slotTypesCount; }
133 inline void SetSlotTypesCount(int value) { m_slotTypesCountHasBeenSet = true; m_slotTypesCount = value; }
134 inline DescribeBotLocaleResult& WithSlotTypesCount(int value) { SetSlotTypesCount(value); return *this;}
136
138
142 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
143 inline void SetBotLocaleStatus(BotLocaleStatus value) { m_botLocaleStatusHasBeenSet = true; m_botLocaleStatus = value; }
146
148
152 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
153 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
154 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
155 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
156 DescribeBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
157 template<typename FailureReasonsT = Aws::String>
158 DescribeBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
160
162
165 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
166 template<typename CreationDateTimeT = Aws::Utils::DateTime>
167 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
168 template<typename CreationDateTimeT = Aws::Utils::DateTime>
169 DescribeBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
171
173
176 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
177 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
178 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
179 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
180 DescribeBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
182
184
187 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
188 template<typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
189 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) { m_lastBuildSubmittedDateTimeHasBeenSet = true; m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value); }
190 template<typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
191 DescribeBotLocaleResult& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) { SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value)); return *this;}
193
195
199 inline const Aws::Vector<BotLocaleHistoryEvent>& GetBotLocaleHistoryEvents() const { return m_botLocaleHistoryEvents; }
200 template<typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
201 void SetBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) { m_botLocaleHistoryEventsHasBeenSet = true; m_botLocaleHistoryEvents = std::forward<BotLocaleHistoryEventsT>(value); }
202 template<typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
203 DescribeBotLocaleResult& WithBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) { SetBotLocaleHistoryEvents(std::forward<BotLocaleHistoryEventsT>(value)); return *this;}
204 template<typename BotLocaleHistoryEventsT = BotLocaleHistoryEvent>
205 DescribeBotLocaleResult& AddBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) { m_botLocaleHistoryEventsHasBeenSet = true; m_botLocaleHistoryEvents.emplace_back(std::forward<BotLocaleHistoryEventsT>(value)); return *this; }
207
209
213 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
214 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
215 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
216 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
217 DescribeBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) { SetRecommendedActions(std::forward<RecommendedActionsT>(value)); return *this;}
218 template<typename RecommendedActionsT = Aws::String>
219 DescribeBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value)); return *this; }
221
223
227 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
228 template<typename GenerativeAISettingsT = GenerativeAISettings>
229 void SetGenerativeAISettings(GenerativeAISettingsT&& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = std::forward<GenerativeAISettingsT>(value); }
230 template<typename GenerativeAISettingsT = GenerativeAISettings>
231 DescribeBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) { SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value)); return *this;}
233
235
236 inline const Aws::String& GetRequestId() const { return m_requestId; }
237 template<typename RequestIdT = Aws::String>
238 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
239 template<typename RequestIdT = Aws::String>
240 DescribeBotLocaleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
242 private:
243
244 Aws::String m_botId;
245 bool m_botIdHasBeenSet = false;
246
247 Aws::String m_botVersion;
248 bool m_botVersionHasBeenSet = false;
249
250 Aws::String m_localeId;
251 bool m_localeIdHasBeenSet = false;
252
253 Aws::String m_localeName;
254 bool m_localeNameHasBeenSet = false;
255
256 Aws::String m_description;
257 bool m_descriptionHasBeenSet = false;
258
259 double m_nluIntentConfidenceThreshold{0.0};
260 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
261
262 VoiceSettings m_voiceSettings;
263 bool m_voiceSettingsHasBeenSet = false;
264
265 int m_intentsCount{0};
266 bool m_intentsCountHasBeenSet = false;
267
268 int m_slotTypesCount{0};
269 bool m_slotTypesCountHasBeenSet = false;
270
271 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
272 bool m_botLocaleStatusHasBeenSet = false;
273
274 Aws::Vector<Aws::String> m_failureReasons;
275 bool m_failureReasonsHasBeenSet = false;
276
277 Aws::Utils::DateTime m_creationDateTime{};
278 bool m_creationDateTimeHasBeenSet = false;
279
280 Aws::Utils::DateTime m_lastUpdatedDateTime{};
281 bool m_lastUpdatedDateTimeHasBeenSet = false;
282
283 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
284 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
285
286 Aws::Vector<BotLocaleHistoryEvent> m_botLocaleHistoryEvents;
287 bool m_botLocaleHistoryEventsHasBeenSet = false;
288
289 Aws::Vector<Aws::String> m_recommendedActions;
290 bool m_recommendedActionsHasBeenSet = false;
291
292 GenerativeAISettings m_generativeAISettings;
293 bool m_generativeAISettingsHasBeenSet = false;
294
295 Aws::String m_requestId;
296 bool m_requestIdHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace LexModelsV2
301} // namespace Aws
DescribeBotLocaleResult & WithLocaleName(LocaleNameT &&value)
DescribeBotLocaleResult & WithRecommendedActions(RecommendedActionsT &&value)
DescribeBotLocaleResult & WithSlotTypesCount(int value)
DescribeBotLocaleResult & WithRequestId(RequestIdT &&value)
DescribeBotLocaleResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
const GenerativeAISettings & GetGenerativeAISettings() const
const Aws::Vector< Aws::String > & GetRecommendedActions() const
DescribeBotLocaleResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeBotLocaleResult & WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
DescribeBotLocaleResult & WithFailureReasons(FailureReasonsT &&value)
DescribeBotLocaleResult & WithVoiceSettings(VoiceSettingsT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
const Aws::Vector< BotLocaleHistoryEvent > & GetBotLocaleHistoryEvents() const
DescribeBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
DescribeBotLocaleResult & WithGenerativeAISettings(GenerativeAISettingsT &&value)
const Aws::Utils::DateTime & GetLastBuildSubmittedDateTime() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DescribeBotLocaleResult & WithLocaleId(LocaleIdT &&value)
void SetBotLocaleHistoryEvents(BotLocaleHistoryEventsT &&value)
void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeBotLocaleResult()=default
AWS_LEXMODELSV2_API DescribeBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotLocaleResult & WithDescription(DescriptionT &&value)
DescribeBotLocaleResult & AddRecommendedActions(RecommendedActionsT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotLocaleResult & WithBotId(BotIdT &&value)
DescribeBotLocaleResult & WithBotVersion(BotVersionT &&value)
DescribeBotLocaleResult & AddFailureReasons(FailureReasonsT &&value)
DescribeBotLocaleResult & WithBotLocaleHistoryEvents(BotLocaleHistoryEventsT &&value)
DescribeBotLocaleResult & WithIntentsCount(int value)
DescribeBotLocaleResult & AddBotLocaleHistoryEvents(BotLocaleHistoryEventsT &&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