AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateBotLocaleResult.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 <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace LexModelsV2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_LEXMODELSV2_API UpdateBotLocaleResult() = default;
38
39
41
44 inline const Aws::String& GetBotId() const { return m_botId; }
45 template<typename BotIdT = Aws::String>
46 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
47 template<typename BotIdT = Aws::String>
48 UpdateBotLocaleResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
56 template<typename BotVersionT = Aws::String>
57 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
58 template<typename BotVersionT = Aws::String>
59 UpdateBotLocaleResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
61
63
66 inline const Aws::String& GetLocaleId() const { return m_localeId; }
67 template<typename LocaleIdT = Aws::String>
68 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
69 template<typename LocaleIdT = Aws::String>
70 UpdateBotLocaleResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetLocaleName() const { return m_localeName; }
78 template<typename LocaleNameT = Aws::String>
79 void SetLocaleName(LocaleNameT&& value) { m_localeNameHasBeenSet = true; m_localeName = std::forward<LocaleNameT>(value); }
80 template<typename LocaleNameT = Aws::String>
81 UpdateBotLocaleResult& WithLocaleName(LocaleNameT&& value) { SetLocaleName(std::forward<LocaleNameT>(value)); return *this;}
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template<typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
91 template<typename DescriptionT = Aws::String>
92 UpdateBotLocaleResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
94
96
101 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
102 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
105
107
111 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
112 template<typename VoiceSettingsT = VoiceSettings>
113 void SetVoiceSettings(VoiceSettingsT&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::forward<VoiceSettingsT>(value); }
114 template<typename VoiceSettingsT = VoiceSettings>
115 UpdateBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) { SetVoiceSettings(std::forward<VoiceSettingsT>(value)); return *this;}
117
119
123 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
124 inline void SetBotLocaleStatus(BotLocaleStatus value) { m_botLocaleStatusHasBeenSet = true; m_botLocaleStatus = value; }
127
129
134 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
135 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
136 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
137 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
138 UpdateBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
139 template<typename FailureReasonsT = Aws::String>
140 UpdateBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
142
144
147 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
148 template<typename CreationDateTimeT = Aws::Utils::DateTime>
149 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
150 template<typename CreationDateTimeT = Aws::Utils::DateTime>
151 UpdateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
159 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
160 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
161 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
162 UpdateBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
164
166
170 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
171 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
172 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
173 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
174 UpdateBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) { SetRecommendedActions(std::forward<RecommendedActionsT>(value)); return *this;}
175 template<typename RecommendedActionsT = Aws::String>
176 UpdateBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value)); return *this; }
178
180
184 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
185 template<typename GenerativeAISettingsT = GenerativeAISettings>
186 void SetGenerativeAISettings(GenerativeAISettingsT&& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = std::forward<GenerativeAISettingsT>(value); }
187 template<typename GenerativeAISettingsT = GenerativeAISettings>
188 UpdateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) { SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value)); return *this;}
190
192
193 inline const Aws::String& GetRequestId() const { return m_requestId; }
194 template<typename RequestIdT = Aws::String>
195 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
196 template<typename RequestIdT = Aws::String>
197 UpdateBotLocaleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
199 private:
200
201 Aws::String m_botId;
202 bool m_botIdHasBeenSet = false;
203
204 Aws::String m_botVersion;
205 bool m_botVersionHasBeenSet = false;
206
207 Aws::String m_localeId;
208 bool m_localeIdHasBeenSet = false;
209
210 Aws::String m_localeName;
211 bool m_localeNameHasBeenSet = false;
212
213 Aws::String m_description;
214 bool m_descriptionHasBeenSet = false;
215
216 double m_nluIntentConfidenceThreshold{0.0};
217 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
218
219 VoiceSettings m_voiceSettings;
220 bool m_voiceSettingsHasBeenSet = false;
221
222 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
223 bool m_botLocaleStatusHasBeenSet = false;
224
225 Aws::Vector<Aws::String> m_failureReasons;
226 bool m_failureReasonsHasBeenSet = false;
227
228 Aws::Utils::DateTime m_creationDateTime{};
229 bool m_creationDateTimeHasBeenSet = false;
230
231 Aws::Utils::DateTime m_lastUpdatedDateTime{};
232 bool m_lastUpdatedDateTimeHasBeenSet = false;
233
234 Aws::Vector<Aws::String> m_recommendedActions;
235 bool m_recommendedActionsHasBeenSet = false;
236
237 GenerativeAISettings m_generativeAISettings;
238 bool m_generativeAISettingsHasBeenSet = false;
239
240 Aws::String m_requestId;
241 bool m_requestIdHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace LexModelsV2
246} // namespace Aws
UpdateBotLocaleResult & WithCreationDateTime(CreationDateTimeT &&value)
UpdateBotLocaleResult & AddFailureReasons(FailureReasonsT &&value)
UpdateBotLocaleResult & WithLocaleName(LocaleNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
const GenerativeAISettings & GetGenerativeAISettings() const
UpdateBotLocaleResult & WithBotVersion(BotVersionT &&value)
void SetRecommendedActions(RecommendedActionsT &&value)
UpdateBotLocaleResult & WithFailureReasons(FailureReasonsT &&value)
UpdateBotLocaleResult & WithRecommendedActions(RecommendedActionsT &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult()=default
UpdateBotLocaleResult & WithBotId(BotIdT &&value)
UpdateBotLocaleResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
UpdateBotLocaleResult & WithVoiceSettings(VoiceSettingsT &&value)
UpdateBotLocaleResult & WithGenerativeAISettings(GenerativeAISettingsT &&value)
UpdateBotLocaleResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotLocaleResult & AddRecommendedActions(RecommendedActionsT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
UpdateBotLocaleResult & WithDescription(DescriptionT &&value)
UpdateBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
UpdateBotLocaleResult & WithLocaleId(LocaleIdT &&value)
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
const Aws::Vector< Aws::String > & GetRecommendedActions() 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