AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeBotRecommendationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/BotRecommendationResults.h>
13#include <aws/lexv2-models/model/BotRecommendationStatus.h>
14#include <aws/lexv2-models/model/EncryptionSetting.h>
15#include <aws/lexv2-models/model/TranscriptSourceSetting.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace LexModelsV2 {
29namespace Model {
31 public:
32 AWS_LEXMODELSV2_API DescribeBotRecommendationResult() = default;
35
37
40 inline const Aws::String& GetBotId() const { return m_botId; }
41 template <typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) {
43 m_botIdHasBeenSet = true;
44 m_botId = std::forward<BotIdT>(value);
45 }
46 template <typename BotIdT = Aws::String>
48 SetBotId(std::forward<BotIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
58 template <typename BotVersionT = Aws::String>
59 void SetBotVersion(BotVersionT&& value) {
60 m_botVersionHasBeenSet = true;
61 m_botVersion = std::forward<BotVersionT>(value);
62 }
63 template <typename BotVersionT = Aws::String>
65 SetBotVersion(std::forward<BotVersionT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetLocaleId() const { return m_localeId; }
76 template <typename LocaleIdT = Aws::String>
77 void SetLocaleId(LocaleIdT&& value) {
78 m_localeIdHasBeenSet = true;
79 m_localeId = std::forward<LocaleIdT>(value);
80 }
81 template <typename LocaleIdT = Aws::String>
83 SetLocaleId(std::forward<LocaleIdT>(value));
84 return *this;
85 }
87
89
93 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
95 m_botRecommendationStatusHasBeenSet = true;
96 m_botRecommendationStatus = value;
97 }
100 return *this;
101 }
103
105
108 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
109 template <typename BotRecommendationIdT = Aws::String>
110 void SetBotRecommendationId(BotRecommendationIdT&& value) {
111 m_botRecommendationIdHasBeenSet = true;
112 m_botRecommendationId = std::forward<BotRecommendationIdT>(value);
113 }
114 template <typename BotRecommendationIdT = Aws::String>
116 SetBotRecommendationId(std::forward<BotRecommendationIdT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
126 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
127 void SetFailureReasons(FailureReasonsT&& value) {
128 m_failureReasonsHasBeenSet = true;
129 m_failureReasons = std::forward<FailureReasonsT>(value);
130 }
131 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
133 SetFailureReasons(std::forward<FailureReasonsT>(value));
134 return *this;
135 }
136 template <typename FailureReasonsT = Aws::String>
138 m_failureReasonsHasBeenSet = true;
139 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
149 template <typename CreationDateTimeT = Aws::Utils::DateTime>
150 void SetCreationDateTime(CreationDateTimeT&& value) {
151 m_creationDateTimeHasBeenSet = true;
152 m_creationDateTime = std::forward<CreationDateTimeT>(value);
153 }
154 template <typename CreationDateTimeT = Aws::Utils::DateTime>
156 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
166 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
167 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
168 m_lastUpdatedDateTimeHasBeenSet = true;
169 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
170 }
171 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
173 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
174 return *this;
175 }
177
179
183 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const { return m_transcriptSourceSetting; }
184 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
185 void SetTranscriptSourceSetting(TranscriptSourceSettingT&& value) {
186 m_transcriptSourceSettingHasBeenSet = true;
187 m_transcriptSourceSetting = std::forward<TranscriptSourceSettingT>(value);
188 }
189 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
191 SetTranscriptSourceSetting(std::forward<TranscriptSourceSettingT>(value));
192 return *this;
193 }
195
197
202 inline const EncryptionSetting& GetEncryptionSetting() const { return m_encryptionSetting; }
203 template <typename EncryptionSettingT = EncryptionSetting>
204 void SetEncryptionSetting(EncryptionSettingT&& value) {
205 m_encryptionSettingHasBeenSet = true;
206 m_encryptionSetting = std::forward<EncryptionSettingT>(value);
207 }
208 template <typename EncryptionSettingT = EncryptionSetting>
210 SetEncryptionSetting(std::forward<EncryptionSettingT>(value));
211 return *this;
212 }
214
216
221 inline const BotRecommendationResults& GetBotRecommendationResults() const { return m_botRecommendationResults; }
222 template <typename BotRecommendationResultsT = BotRecommendationResults>
223 void SetBotRecommendationResults(BotRecommendationResultsT&& value) {
224 m_botRecommendationResultsHasBeenSet = true;
225 m_botRecommendationResults = std::forward<BotRecommendationResultsT>(value);
226 }
227 template <typename BotRecommendationResultsT = BotRecommendationResults>
229 SetBotRecommendationResults(std::forward<BotRecommendationResultsT>(value));
230 return *this;
231 }
233
235
236 inline const Aws::String& GetRequestId() const { return m_requestId; }
237 template <typename RequestIdT = Aws::String>
238 void SetRequestId(RequestIdT&& value) {
239 m_requestIdHasBeenSet = true;
240 m_requestId = std::forward<RequestIdT>(value);
241 }
242 template <typename RequestIdT = Aws::String>
244 SetRequestId(std::forward<RequestIdT>(value));
245 return *this;
246 }
248 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
249
250 private:
251 Aws::String m_botId;
252
253 Aws::String m_botVersion;
254
255 Aws::String m_localeId;
256
258
259 Aws::String m_botRecommendationId;
260
261 Aws::Vector<Aws::String> m_failureReasons;
262
263 Aws::Utils::DateTime m_creationDateTime{};
264
265 Aws::Utils::DateTime m_lastUpdatedDateTime{};
266
267 TranscriptSourceSetting m_transcriptSourceSetting;
268
269 EncryptionSetting m_encryptionSetting;
270
271 BotRecommendationResults m_botRecommendationResults;
272
273 Aws::String m_requestId;
274 Aws::Http::HttpResponseCode m_HttpResponseCode;
275 bool m_botIdHasBeenSet = false;
276 bool m_botVersionHasBeenSet = false;
277 bool m_localeIdHasBeenSet = false;
278 bool m_botRecommendationStatusHasBeenSet = false;
279 bool m_botRecommendationIdHasBeenSet = false;
280 bool m_failureReasonsHasBeenSet = false;
281 bool m_creationDateTimeHasBeenSet = false;
282 bool m_lastUpdatedDateTimeHasBeenSet = false;
283 bool m_transcriptSourceSettingHasBeenSet = false;
284 bool m_encryptionSettingHasBeenSet = false;
285 bool m_botRecommendationResultsHasBeenSet = false;
286 bool m_requestIdHasBeenSet = false;
287};
288
289} // namespace Model
290} // namespace LexModelsV2
291} // namespace Aws
DescribeBotRecommendationResult & WithBotRecommendationId(BotRecommendationIdT &&value)
DescribeBotRecommendationResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeBotRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotRecommendationResult & WithBotRecommendationStatus(BotRecommendationStatus value)
DescribeBotRecommendationResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeBotRecommendationResult & AddFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API DescribeBotRecommendationResult()=default
DescribeBotRecommendationResult & WithEncryptionSetting(EncryptionSettingT &&value)
DescribeBotRecommendationResult & WithBotVersion(BotVersionT &&value)
DescribeBotRecommendationResult & WithBotId(BotIdT &&value)
DescribeBotRecommendationResult & WithFailureReasons(FailureReasonsT &&value)
DescribeBotRecommendationResult & WithLocaleId(LocaleIdT &&value)
DescribeBotRecommendationResult & WithBotRecommendationResults(BotRecommendationResultsT &&value)
AWS_LEXMODELSV2_API DescribeBotRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotRecommendationResult & WithTranscriptSourceSetting(TranscriptSourceSettingT &&value)
DescribeBotRecommendationResult & WithRequestId(RequestIdT &&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