AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeBotRecommendationResult.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/BotRecommendationStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lexv2-models/model/TranscriptSourceSetting.h>
13#include <aws/lexv2-models/model/EncryptionSetting.h>
14#include <aws/lexv2-models/model/BotRecommendationResults.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace LexModelsV2
30{
31namespace Model
32{
34 {
35 public:
36 AWS_LEXMODELSV2_API DescribeBotRecommendationResult() = default;
39
40
42
45 inline const Aws::String& GetBotId() const { return m_botId; }
46 template<typename BotIdT = Aws::String>
47 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
48 template<typename BotIdT = Aws::String>
49 DescribeBotRecommendationResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
57 template<typename BotVersionT = Aws::String>
58 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
59 template<typename BotVersionT = Aws::String>
60 DescribeBotRecommendationResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
62
64
68 inline const Aws::String& GetLocaleId() const { return m_localeId; }
69 template<typename LocaleIdT = Aws::String>
70 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
71 template<typename LocaleIdT = Aws::String>
72 DescribeBotRecommendationResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
74
76
80 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
81 inline void SetBotRecommendationStatus(BotRecommendationStatus value) { m_botRecommendationStatusHasBeenSet = true; m_botRecommendationStatus = value; }
84
86
89 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
90 template<typename BotRecommendationIdT = Aws::String>
91 void SetBotRecommendationId(BotRecommendationIdT&& value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = std::forward<BotRecommendationIdT>(value); }
92 template<typename BotRecommendationIdT = Aws::String>
93 DescribeBotRecommendationResult& WithBotRecommendationId(BotRecommendationIdT&& value) { SetBotRecommendationId(std::forward<BotRecommendationIdT>(value)); return *this;}
95
97
100 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
101 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
102 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
103 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
104 DescribeBotRecommendationResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
105 template<typename FailureReasonsT = Aws::String>
106 DescribeBotRecommendationResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
108
110
113 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
114 template<typename CreationDateTimeT = Aws::Utils::DateTime>
115 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
116 template<typename CreationDateTimeT = Aws::Utils::DateTime>
117 DescribeBotRecommendationResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
125 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
126 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
127 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
128 DescribeBotRecommendationResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
130
132
136 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const { return m_transcriptSourceSetting; }
137 template<typename TranscriptSourceSettingT = TranscriptSourceSetting>
138 void SetTranscriptSourceSetting(TranscriptSourceSettingT&& value) { m_transcriptSourceSettingHasBeenSet = true; m_transcriptSourceSetting = std::forward<TranscriptSourceSettingT>(value); }
139 template<typename TranscriptSourceSettingT = TranscriptSourceSetting>
140 DescribeBotRecommendationResult& WithTranscriptSourceSetting(TranscriptSourceSettingT&& value) { SetTranscriptSourceSetting(std::forward<TranscriptSourceSettingT>(value)); return *this;}
142
144
149 inline const EncryptionSetting& GetEncryptionSetting() const { return m_encryptionSetting; }
150 template<typename EncryptionSettingT = EncryptionSetting>
151 void SetEncryptionSetting(EncryptionSettingT&& value) { m_encryptionSettingHasBeenSet = true; m_encryptionSetting = std::forward<EncryptionSettingT>(value); }
152 template<typename EncryptionSettingT = EncryptionSetting>
153 DescribeBotRecommendationResult& WithEncryptionSetting(EncryptionSettingT&& value) { SetEncryptionSetting(std::forward<EncryptionSettingT>(value)); return *this;}
155
157
162 inline const BotRecommendationResults& GetBotRecommendationResults() const { return m_botRecommendationResults; }
163 template<typename BotRecommendationResultsT = BotRecommendationResults>
164 void SetBotRecommendationResults(BotRecommendationResultsT&& value) { m_botRecommendationResultsHasBeenSet = true; m_botRecommendationResults = std::forward<BotRecommendationResultsT>(value); }
165 template<typename BotRecommendationResultsT = BotRecommendationResults>
166 DescribeBotRecommendationResult& WithBotRecommendationResults(BotRecommendationResultsT&& value) { SetBotRecommendationResults(std::forward<BotRecommendationResultsT>(value)); return *this;}
168
170
171 inline const Aws::String& GetRequestId() const { return m_requestId; }
172 template<typename RequestIdT = Aws::String>
173 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
174 template<typename RequestIdT = Aws::String>
175 DescribeBotRecommendationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
177 private:
178
179 Aws::String m_botId;
180 bool m_botIdHasBeenSet = false;
181
182 Aws::String m_botVersion;
183 bool m_botVersionHasBeenSet = false;
184
185 Aws::String m_localeId;
186 bool m_localeIdHasBeenSet = false;
187
189 bool m_botRecommendationStatusHasBeenSet = false;
190
191 Aws::String m_botRecommendationId;
192 bool m_botRecommendationIdHasBeenSet = false;
193
194 Aws::Vector<Aws::String> m_failureReasons;
195 bool m_failureReasonsHasBeenSet = false;
196
197 Aws::Utils::DateTime m_creationDateTime{};
198 bool m_creationDateTimeHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastUpdatedDateTime{};
201 bool m_lastUpdatedDateTimeHasBeenSet = false;
202
203 TranscriptSourceSetting m_transcriptSourceSetting;
204 bool m_transcriptSourceSettingHasBeenSet = false;
205
206 EncryptionSetting m_encryptionSetting;
207 bool m_encryptionSettingHasBeenSet = false;
208
209 BotRecommendationResults m_botRecommendationResults;
210 bool m_botRecommendationResultsHasBeenSet = false;
211
212 Aws::String m_requestId;
213 bool m_requestIdHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace LexModelsV2
218} // 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