AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetBotId() const{ return m_botId; }
45 inline void SetBotId(const Aws::String& value) { m_botId = value; }
46 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
47 inline void SetBotId(const char* value) { m_botId.assign(value); }
48 inline UpdateBotLocaleResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
49 inline UpdateBotLocaleResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
50 inline UpdateBotLocaleResult& WithBotId(const char* value) { SetBotId(value); return *this;}
52
54
57 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
58 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
59 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
60 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
61 inline UpdateBotLocaleResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
62 inline UpdateBotLocaleResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
63 inline UpdateBotLocaleResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
65
67
70 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
71 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
72 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
73 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
74 inline UpdateBotLocaleResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
75 inline UpdateBotLocaleResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
76 inline UpdateBotLocaleResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
78
80
83 inline const Aws::String& GetLocaleName() const{ return m_localeName; }
84 inline void SetLocaleName(const Aws::String& value) { m_localeName = value; }
85 inline void SetLocaleName(Aws::String&& value) { m_localeName = std::move(value); }
86 inline void SetLocaleName(const char* value) { m_localeName.assign(value); }
87 inline UpdateBotLocaleResult& WithLocaleName(const Aws::String& value) { SetLocaleName(value); return *this;}
88 inline UpdateBotLocaleResult& WithLocaleName(Aws::String&& value) { SetLocaleName(std::move(value)); return *this;}
89 inline UpdateBotLocaleResult& WithLocaleName(const char* value) { SetLocaleName(value); return *this;}
91
93
96 inline const Aws::String& GetDescription() const{ return m_description; }
97 inline void SetDescription(const Aws::String& value) { m_description = value; }
98 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
99 inline void SetDescription(const char* value) { m_description.assign(value); }
100 inline UpdateBotLocaleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
101 inline UpdateBotLocaleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
102 inline UpdateBotLocaleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
104
106
111 inline double GetNluIntentConfidenceThreshold() const{ return m_nluIntentConfidenceThreshold; }
112 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThreshold = value; }
115
117
121 inline const VoiceSettings& GetVoiceSettings() const{ return m_voiceSettings; }
122 inline void SetVoiceSettings(const VoiceSettings& value) { m_voiceSettings = value; }
123 inline void SetVoiceSettings(VoiceSettings&& value) { m_voiceSettings = std::move(value); }
124 inline UpdateBotLocaleResult& WithVoiceSettings(const VoiceSettings& value) { SetVoiceSettings(value); return *this;}
125 inline UpdateBotLocaleResult& WithVoiceSettings(VoiceSettings&& value) { SetVoiceSettings(std::move(value)); return *this;}
127
129
133 inline const BotLocaleStatus& GetBotLocaleStatus() const{ return m_botLocaleStatus; }
134 inline void SetBotLocaleStatus(const BotLocaleStatus& value) { m_botLocaleStatus = value; }
135 inline void SetBotLocaleStatus(BotLocaleStatus&& value) { m_botLocaleStatus = std::move(value); }
137 inline UpdateBotLocaleResult& WithBotLocaleStatus(BotLocaleStatus&& value) { SetBotLocaleStatus(std::move(value)); return *this;}
139
141
146 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
147 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
148 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
150 inline UpdateBotLocaleResult& WithFailureReasons(Aws::Vector<Aws::String>&& value) { SetFailureReasons(std::move(value)); return *this;}
151 inline UpdateBotLocaleResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
152 inline UpdateBotLocaleResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
153 inline UpdateBotLocaleResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
155
157
160 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
161 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
162 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
164 inline UpdateBotLocaleResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
172 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
173 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
177
179
183 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const{ return m_recommendedActions; }
184 inline void SetRecommendedActions(const Aws::Vector<Aws::String>& value) { m_recommendedActions = value; }
185 inline void SetRecommendedActions(Aws::Vector<Aws::String>&& value) { m_recommendedActions = std::move(value); }
188 inline UpdateBotLocaleResult& AddRecommendedActions(const Aws::String& value) { m_recommendedActions.push_back(value); return *this; }
189 inline UpdateBotLocaleResult& AddRecommendedActions(Aws::String&& value) { m_recommendedActions.push_back(std::move(value)); return *this; }
190 inline UpdateBotLocaleResult& AddRecommendedActions(const char* value) { m_recommendedActions.push_back(value); return *this; }
192
194
198 inline const GenerativeAISettings& GetGenerativeAISettings() const{ return m_generativeAISettings; }
199 inline void SetGenerativeAISettings(const GenerativeAISettings& value) { m_generativeAISettings = value; }
200 inline void SetGenerativeAISettings(GenerativeAISettings&& value) { m_generativeAISettings = std::move(value); }
204
206
207 inline const Aws::String& GetRequestId() const{ return m_requestId; }
208 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
209 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
210 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
211 inline UpdateBotLocaleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
212 inline UpdateBotLocaleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
213 inline UpdateBotLocaleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
215 private:
216
217 Aws::String m_botId;
218
219 Aws::String m_botVersion;
220
221 Aws::String m_localeId;
222
223 Aws::String m_localeName;
224
225 Aws::String m_description;
226
227 double m_nluIntentConfidenceThreshold;
228
229 VoiceSettings m_voiceSettings;
230
231 BotLocaleStatus m_botLocaleStatus;
232
233 Aws::Vector<Aws::String> m_failureReasons;
234
235 Aws::Utils::DateTime m_creationDateTime;
236
237 Aws::Utils::DateTime m_lastUpdatedDateTime;
238
239 Aws::Vector<Aws::String> m_recommendedActions;
240
241 GenerativeAISettings m_generativeAISettings;
242
243 Aws::String m_requestId;
244 };
245
246} // namespace Model
247} // namespace LexModelsV2
248} // namespace Aws
UpdateBotLocaleResult & WithLocaleId(Aws::String &&value)
UpdateBotLocaleResult & AddFailureReasons(const char *value)
UpdateBotLocaleResult & WithRequestId(Aws::String &&value)
UpdateBotLocaleResult & WithRequestId(const Aws::String &value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
UpdateBotLocaleResult & WithBotId(Aws::String &&value)
UpdateBotLocaleResult & AddRecommendedActions(const Aws::String &value)
UpdateBotLocaleResult & WithLocaleName(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
UpdateBotLocaleResult & WithRecommendedActions(const Aws::Vector< Aws::String > &value)
UpdateBotLocaleResult & WithBotId(const char *value)
UpdateBotLocaleResult & WithRecommendedActions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
UpdateBotLocaleResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
const GenerativeAISettings & GetGenerativeAISettings() const
UpdateBotLocaleResult & WithBotVersion(Aws::String &&value)
UpdateBotLocaleResult & WithLocaleName(Aws::String &&value)
UpdateBotLocaleResult & WithDescription(Aws::String &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
UpdateBotLocaleResult & WithLocaleId(const char *value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
UpdateBotLocaleResult & WithLocaleName(const Aws::String &value)
void SetRecommendedActions(Aws::Vector< Aws::String > &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetGenerativeAISettings(const GenerativeAISettings &value)
UpdateBotLocaleResult & WithBotVersion(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
UpdateBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus &&value)
void SetBotLocaleStatus(const BotLocaleStatus &value)
UpdateBotLocaleResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
UpdateBotLocaleResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
UpdateBotLocaleResult & AddRecommendedActions(Aws::String &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRecommendedActions(const Aws::Vector< Aws::String > &value)
UpdateBotLocaleResult & WithRequestId(const char *value)
UpdateBotLocaleResult & WithGenerativeAISettings(const GenerativeAISettings &value)
UpdateBotLocaleResult & WithGenerativeAISettings(GenerativeAISettings &&value)
UpdateBotLocaleResult & AddFailureReasons(Aws::String &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotLocaleResult & WithVoiceSettings(const VoiceSettings &value)
UpdateBotLocaleResult & WithVoiceSettings(VoiceSettings &&value)
UpdateBotLocaleResult & WithBotVersion(const Aws::String &value)
UpdateBotLocaleResult & WithLocaleId(const Aws::String &value)
void SetGenerativeAISettings(GenerativeAISettings &&value)
UpdateBotLocaleResult & WithDescription(const Aws::String &value)
UpdateBotLocaleResult & WithBotId(const Aws::String &value)
UpdateBotLocaleResult & AddFailureReasons(const Aws::String &value)
UpdateBotLocaleResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
UpdateBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
UpdateBotLocaleResult & WithBotLocaleStatus(const BotLocaleStatus &value)
UpdateBotLocaleResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
UpdateBotLocaleResult & AddRecommendedActions(const char *value)
UpdateBotLocaleResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
UpdateBotLocaleResult & WithDescription(const char *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