AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateBotRecommendationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/BotRecommendationStatus.h>
11#include <aws/lexv2-models/model/EncryptionSetting.h>
12#include <aws/lexv2-models/model/TranscriptSourceSetting.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2 {
26namespace Model {
28 public:
29 AWS_LEXMODELSV2_API UpdateBotRecommendationResult() = default;
32
34
38 inline const Aws::String& GetBotId() const { return m_botId; }
39 template <typename BotIdT = Aws::String>
40 void SetBotId(BotIdT&& value) {
41 m_botIdHasBeenSet = true;
42 m_botId = std::forward<BotIdT>(value);
43 }
44 template <typename BotIdT = Aws::String>
46 SetBotId(std::forward<BotIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
57 template <typename BotVersionT = Aws::String>
58 void SetBotVersion(BotVersionT&& value) {
59 m_botVersionHasBeenSet = true;
60 m_botVersion = std::forward<BotVersionT>(value);
61 }
62 template <typename BotVersionT = Aws::String>
64 SetBotVersion(std::forward<BotVersionT>(value));
65 return *this;
66 }
68
70
77 inline const Aws::String& GetLocaleId() const { return m_localeId; }
78 template <typename LocaleIdT = Aws::String>
79 void SetLocaleId(LocaleIdT&& value) {
80 m_localeIdHasBeenSet = true;
81 m_localeId = std::forward<LocaleIdT>(value);
82 }
83 template <typename LocaleIdT = Aws::String>
85 SetLocaleId(std::forward<LocaleIdT>(value));
86 return *this;
87 }
89
91
95 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
97 m_botRecommendationStatusHasBeenSet = true;
98 m_botRecommendationStatus = value;
99 }
102 return *this;
103 }
105
107
110 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
111 template <typename BotRecommendationIdT = Aws::String>
112 void SetBotRecommendationId(BotRecommendationIdT&& value) {
113 m_botRecommendationIdHasBeenSet = true;
114 m_botRecommendationId = std::forward<BotRecommendationIdT>(value);
115 }
116 template <typename BotRecommendationIdT = Aws::String>
118 SetBotRecommendationId(std::forward<BotRecommendationIdT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
128 template <typename CreationDateTimeT = Aws::Utils::DateTime>
129 void SetCreationDateTime(CreationDateTimeT&& value) {
130 m_creationDateTimeHasBeenSet = true;
131 m_creationDateTime = std::forward<CreationDateTimeT>(value);
132 }
133 template <typename CreationDateTimeT = Aws::Utils::DateTime>
135 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
146 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
147 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
148 m_lastUpdatedDateTimeHasBeenSet = true;
149 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
150 }
151 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
153 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
154 return *this;
155 }
157
159
163 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const { return m_transcriptSourceSetting; }
164 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
165 void SetTranscriptSourceSetting(TranscriptSourceSettingT&& value) {
166 m_transcriptSourceSettingHasBeenSet = true;
167 m_transcriptSourceSetting = std::forward<TranscriptSourceSettingT>(value);
168 }
169 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
171 SetTranscriptSourceSetting(std::forward<TranscriptSourceSettingT>(value));
172 return *this;
173 }
175
177
182 inline const EncryptionSetting& GetEncryptionSetting() const { return m_encryptionSetting; }
183 template <typename EncryptionSettingT = EncryptionSetting>
184 void SetEncryptionSetting(EncryptionSettingT&& value) {
185 m_encryptionSettingHasBeenSet = true;
186 m_encryptionSetting = std::forward<EncryptionSettingT>(value);
187 }
188 template <typename EncryptionSettingT = EncryptionSetting>
190 SetEncryptionSetting(std::forward<EncryptionSettingT>(value));
191 return *this;
192 }
194
196
197 inline const Aws::String& GetRequestId() const { return m_requestId; }
198 template <typename RequestIdT = Aws::String>
199 void SetRequestId(RequestIdT&& value) {
200 m_requestIdHasBeenSet = true;
201 m_requestId = std::forward<RequestIdT>(value);
202 }
203 template <typename RequestIdT = Aws::String>
205 SetRequestId(std::forward<RequestIdT>(value));
206 return *this;
207 }
209 private:
210 Aws::String m_botId;
211
212 Aws::String m_botVersion;
213
214 Aws::String m_localeId;
215
217
218 Aws::String m_botRecommendationId;
219
220 Aws::Utils::DateTime m_creationDateTime{};
221
222 Aws::Utils::DateTime m_lastUpdatedDateTime{};
223
224 TranscriptSourceSetting m_transcriptSourceSetting;
225
226 EncryptionSetting m_encryptionSetting;
227
228 Aws::String m_requestId;
229 bool m_botIdHasBeenSet = false;
230 bool m_botVersionHasBeenSet = false;
231 bool m_localeIdHasBeenSet = false;
232 bool m_botRecommendationStatusHasBeenSet = false;
233 bool m_botRecommendationIdHasBeenSet = false;
234 bool m_creationDateTimeHasBeenSet = false;
235 bool m_lastUpdatedDateTimeHasBeenSet = false;
236 bool m_transcriptSourceSettingHasBeenSet = false;
237 bool m_encryptionSettingHasBeenSet = false;
238 bool m_requestIdHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace LexModelsV2
243} // 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