AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateBotLocaleResult.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/DateTime.h>
12#include <aws/lexv2-models/model/GenerativeAISettings.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELSV2_API CreateBotLocaleResult() = default;
37
38
40
43 inline const Aws::String& GetBotId() const { return m_botId; }
44 template<typename BotIdT = Aws::String>
45 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
46 template<typename BotIdT = Aws::String>
47 CreateBotLocaleResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
55 template<typename BotVersionT = Aws::String>
56 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
57 template<typename BotVersionT = Aws::String>
58 CreateBotLocaleResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
60
62
65 inline const Aws::String& GetLocaleName() const { return m_localeName; }
66 template<typename LocaleNameT = Aws::String>
67 void SetLocaleName(LocaleNameT&& value) { m_localeNameHasBeenSet = true; m_localeName = std::forward<LocaleNameT>(value); }
68 template<typename LocaleNameT = Aws::String>
69 CreateBotLocaleResult& WithLocaleName(LocaleNameT&& value) { SetLocaleName(std::forward<LocaleNameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetLocaleId() const { return m_localeId; }
77 template<typename LocaleIdT = Aws::String>
78 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
79 template<typename LocaleIdT = Aws::String>
80 CreateBotLocaleResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 CreateBotLocaleResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93
95
100 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
101 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
104
106
110 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
111 template<typename VoiceSettingsT = VoiceSettings>
112 void SetVoiceSettings(VoiceSettingsT&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::forward<VoiceSettingsT>(value); }
113 template<typename VoiceSettingsT = VoiceSettings>
114 CreateBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) { SetVoiceSettings(std::forward<VoiceSettingsT>(value)); return *this;}
116
118
128 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
129 inline void SetBotLocaleStatus(BotLocaleStatus value) { m_botLocaleStatusHasBeenSet = true; m_botLocaleStatus = value; }
132
134
137 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
138 template<typename CreationDateTimeT = Aws::Utils::DateTime>
139 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
140 template<typename CreationDateTimeT = Aws::Utils::DateTime>
141 CreateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
143
145
146 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
147 template<typename GenerativeAISettingsT = GenerativeAISettings>
148 void SetGenerativeAISettings(GenerativeAISettingsT&& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = std::forward<GenerativeAISettingsT>(value); }
149 template<typename GenerativeAISettingsT = GenerativeAISettings>
150 CreateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) { SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value)); return *this;}
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template<typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
158 template<typename RequestIdT = Aws::String>
159 CreateBotLocaleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
161 private:
162
163 Aws::String m_botId;
164 bool m_botIdHasBeenSet = false;
165
166 Aws::String m_botVersion;
167 bool m_botVersionHasBeenSet = false;
168
169 Aws::String m_localeName;
170 bool m_localeNameHasBeenSet = false;
171
172 Aws::String m_localeId;
173 bool m_localeIdHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 double m_nluIntentConfidenceThreshold{0.0};
179 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
180
181 VoiceSettings m_voiceSettings;
182 bool m_voiceSettingsHasBeenSet = false;
183
184 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
185 bool m_botLocaleStatusHasBeenSet = false;
186
187 Aws::Utils::DateTime m_creationDateTime{};
188 bool m_creationDateTimeHasBeenSet = false;
189
190 GenerativeAISettings m_generativeAISettings;
191 bool m_generativeAISettingsHasBeenSet = false;
192
193 Aws::String m_requestId;
194 bool m_requestIdHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace LexModelsV2
199} // namespace Aws
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateBotLocaleResult & WithLocaleName(LocaleNameT &&value)
CreateBotLocaleResult & WithDescription(DescriptionT &&value)
CreateBotLocaleResult & WithRequestId(RequestIdT &&value)
const GenerativeAISettings & GetGenerativeAISettings() const
CreateBotLocaleResult & WithCreationDateTime(CreationDateTimeT &&value)
CreateBotLocaleResult & WithBotId(BotIdT &&value)
CreateBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
CreateBotLocaleResult & WithGenerativeAISettings(GenerativeAISettingsT &&value)
CreateBotLocaleResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API CreateBotLocaleResult()=default
CreateBotLocaleResult & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API CreateBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotLocaleResult & WithVoiceSettings(VoiceSettingsT &&value)
AWS_LEXMODELSV2_API CreateBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
CreateBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue