AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
StartBotRecommendationResult.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 StartBotRecommendationResult() = default;
33
35
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
55 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
56 template <typename BotVersionT = Aws::String>
57 void SetBotVersion(BotVersionT&& value) {
58 m_botVersionHasBeenSet = true;
59 m_botVersion = std::forward<BotVersionT>(value);
60 }
61 template <typename BotVersionT = Aws::String>
63 SetBotVersion(std::forward<BotVersionT>(value));
64 return *this;
65 }
67
69
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::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
126 template <typename CreationDateTimeT = Aws::Utils::DateTime>
127 void SetCreationDateTime(CreationDateTimeT&& value) {
128 m_creationDateTimeHasBeenSet = true;
129 m_creationDateTime = std::forward<CreationDateTimeT>(value);
130 }
131 template <typename CreationDateTimeT = Aws::Utils::DateTime>
133 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
134 return *this;
135 }
137
139
143 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const { return m_transcriptSourceSetting; }
144 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
145 void SetTranscriptSourceSetting(TranscriptSourceSettingT&& value) {
146 m_transcriptSourceSettingHasBeenSet = true;
147 m_transcriptSourceSetting = std::forward<TranscriptSourceSettingT>(value);
148 }
149 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
151 SetTranscriptSourceSetting(std::forward<TranscriptSourceSettingT>(value));
152 return *this;
153 }
155
157
162 inline const EncryptionSetting& GetEncryptionSetting() const { return m_encryptionSetting; }
163 template <typename EncryptionSettingT = EncryptionSetting>
164 void SetEncryptionSetting(EncryptionSettingT&& value) {
165 m_encryptionSettingHasBeenSet = true;
166 m_encryptionSetting = std::forward<EncryptionSettingT>(value);
167 }
168 template <typename EncryptionSettingT = EncryptionSetting>
170 SetEncryptionSetting(std::forward<EncryptionSettingT>(value));
171 return *this;
172 }
174
176
177 inline const Aws::String& GetRequestId() const { return m_requestId; }
178 template <typename RequestIdT = Aws::String>
179 void SetRequestId(RequestIdT&& value) {
180 m_requestIdHasBeenSet = true;
181 m_requestId = std::forward<RequestIdT>(value);
182 }
183 template <typename RequestIdT = Aws::String>
185 SetRequestId(std::forward<RequestIdT>(value));
186 return *this;
187 }
189 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
190
191 private:
192 Aws::String m_botId;
193
194 Aws::String m_botVersion;
195
196 Aws::String m_localeId;
197
199
200 Aws::String m_botRecommendationId;
201
202 Aws::Utils::DateTime m_creationDateTime{};
203
204 TranscriptSourceSetting m_transcriptSourceSetting;
205
206 EncryptionSetting m_encryptionSetting;
207
208 Aws::String m_requestId;
209 Aws::Http::HttpResponseCode m_HttpResponseCode;
210 bool m_botIdHasBeenSet = false;
211 bool m_botVersionHasBeenSet = false;
212 bool m_localeIdHasBeenSet = false;
213 bool m_botRecommendationStatusHasBeenSet = false;
214 bool m_botRecommendationIdHasBeenSet = false;
215 bool m_creationDateTimeHasBeenSet = false;
216 bool m_transcriptSourceSettingHasBeenSet = false;
217 bool m_encryptionSettingHasBeenSet = false;
218 bool m_requestIdHasBeenSet = false;
219};
220
221} // namespace Model
222} // namespace LexModelsV2
223} // namespace Aws
StartBotRecommendationResult & WithBotRecommendationId(BotRecommendationIdT &&value)
const TranscriptSourceSetting & GetTranscriptSourceSetting() const
StartBotRecommendationResult & WithBotId(BotIdT &&value)
StartBotRecommendationResult & WithEncryptionSetting(EncryptionSettingT &&value)
StartBotRecommendationResult & WithBotRecommendationStatus(BotRecommendationStatus value)
StartBotRecommendationResult & WithBotVersion(BotVersionT &&value)
StartBotRecommendationResult & WithTranscriptSourceSetting(TranscriptSourceSettingT &&value)
AWS_LEXMODELSV2_API StartBotRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBotRecommendationResult & WithRequestId(RequestIdT &&value)
StartBotRecommendationResult & WithLocaleId(LocaleIdT &&value)
StartBotRecommendationResult & WithCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API StartBotRecommendationResult()=default
AWS_LEXMODELSV2_API StartBotRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue