AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateBotRecommendationResult.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/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotRecommendationStatus.h>
12#include <aws/lexv2-models/model/EncryptionSetting.h>
13#include <aws/lexv2-models/model/TranscriptSourceSetting.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelsV2 {
27namespace Model {
29 public:
30 AWS_LEXMODELSV2_API UpdateBotRecommendationResult() = default;
33
35
39 inline const Aws::String& GetBotId() const { return m_botId; }
40 template <typename BotIdT = Aws::String>
41 void SetBotId(BotIdT&& value) {
42 m_botIdHasBeenSet = true;
43 m_botId = std::forward<BotIdT>(value);
44 }
45 template <typename BotIdT = Aws::String>
47 SetBotId(std::forward<BotIdT>(value));
48 return *this;
49 }
51
53
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
78 inline const Aws::String& GetLocaleId() const { return m_localeId; }
79 template <typename LocaleIdT = Aws::String>
80 void SetLocaleId(LocaleIdT&& value) {
81 m_localeIdHasBeenSet = true;
82 m_localeId = std::forward<LocaleIdT>(value);
83 }
84 template <typename LocaleIdT = Aws::String>
86 SetLocaleId(std::forward<LocaleIdT>(value));
87 return *this;
88 }
90
92
96 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
98 m_botRecommendationStatusHasBeenSet = true;
99 m_botRecommendationStatus = value;
100 }
103 return *this;
104 }
106
108
111 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
112 template <typename BotRecommendationIdT = Aws::String>
113 void SetBotRecommendationId(BotRecommendationIdT&& value) {
114 m_botRecommendationIdHasBeenSet = true;
115 m_botRecommendationId = std::forward<BotRecommendationIdT>(value);
116 }
117 template <typename BotRecommendationIdT = Aws::String>
119 SetBotRecommendationId(std::forward<BotRecommendationIdT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
129 template <typename CreationDateTimeT = Aws::Utils::DateTime>
130 void SetCreationDateTime(CreationDateTimeT&& value) {
131 m_creationDateTimeHasBeenSet = true;
132 m_creationDateTime = std::forward<CreationDateTimeT>(value);
133 }
134 template <typename CreationDateTimeT = Aws::Utils::DateTime>
136 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
137 return *this;
138 }
140
142
146 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
147 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
148 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
149 m_lastUpdatedDateTimeHasBeenSet = true;
150 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
151 }
152 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
154 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
155 return *this;
156 }
158
160
164 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const { return m_transcriptSourceSetting; }
165 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
166 void SetTranscriptSourceSetting(TranscriptSourceSettingT&& value) {
167 m_transcriptSourceSettingHasBeenSet = true;
168 m_transcriptSourceSetting = std::forward<TranscriptSourceSettingT>(value);
169 }
170 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
172 SetTranscriptSourceSetting(std::forward<TranscriptSourceSettingT>(value));
173 return *this;
174 }
176
178
183 inline const EncryptionSetting& GetEncryptionSetting() const { return m_encryptionSetting; }
184 template <typename EncryptionSettingT = EncryptionSetting>
185 void SetEncryptionSetting(EncryptionSettingT&& value) {
186 m_encryptionSettingHasBeenSet = true;
187 m_encryptionSetting = std::forward<EncryptionSettingT>(value);
188 }
189 template <typename EncryptionSettingT = EncryptionSetting>
191 SetEncryptionSetting(std::forward<EncryptionSettingT>(value));
192 return *this;
193 }
195
197
198 inline const Aws::String& GetRequestId() const { return m_requestId; }
199 template <typename RequestIdT = Aws::String>
200 void SetRequestId(RequestIdT&& value) {
201 m_requestIdHasBeenSet = true;
202 m_requestId = std::forward<RequestIdT>(value);
203 }
204 template <typename RequestIdT = Aws::String>
206 SetRequestId(std::forward<RequestIdT>(value));
207 return *this;
208 }
210 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
211
212 private:
213 Aws::String m_botId;
214
215 Aws::String m_botVersion;
216
217 Aws::String m_localeId;
218
220
221 Aws::String m_botRecommendationId;
222
223 Aws::Utils::DateTime m_creationDateTime{};
224
225 Aws::Utils::DateTime m_lastUpdatedDateTime{};
226
227 TranscriptSourceSetting m_transcriptSourceSetting;
228
229 EncryptionSetting m_encryptionSetting;
230
231 Aws::String m_requestId;
232 Aws::Http::HttpResponseCode m_HttpResponseCode;
233 bool m_botIdHasBeenSet = false;
234 bool m_botVersionHasBeenSet = false;
235 bool m_localeIdHasBeenSet = false;
236 bool m_botRecommendationStatusHasBeenSet = false;
237 bool m_botRecommendationIdHasBeenSet = false;
238 bool m_creationDateTimeHasBeenSet = false;
239 bool m_lastUpdatedDateTimeHasBeenSet = false;
240 bool m_transcriptSourceSettingHasBeenSet = false;
241 bool m_encryptionSettingHasBeenSet = false;
242 bool m_requestIdHasBeenSet = false;
243};
244
245} // namespace Model
246} // namespace LexModelsV2
247} // namespace Aws
UpdateBotRecommendationResult & WithTranscriptSourceSetting(TranscriptSourceSettingT &&value)
UpdateBotRecommendationResult & WithBotRecommendationId(BotRecommendationIdT &&value)
UpdateBotRecommendationResult & WithLocaleId(LocaleIdT &&value)
UpdateBotRecommendationResult & WithRequestId(RequestIdT &&value)
UpdateBotRecommendationResult & WithEncryptionSetting(EncryptionSettingT &&value)
AWS_LEXMODELSV2_API UpdateBotRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotRecommendationResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateBotRecommendationResult & WithBotRecommendationStatus(BotRecommendationStatus value)
UpdateBotRecommendationResult & WithCreationDateTime(CreationDateTimeT &&value)
UpdateBotRecommendationResult & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API UpdateBotRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotRecommendationResult & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API UpdateBotRecommendationResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue