AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DescribeBotVersionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotMember.h>
12#include <aws/lexv2-models/model/BotStatus.h>
13#include <aws/lexv2-models/model/BotType.h>
14#include <aws/lexv2-models/model/DataPrivacy.h>
15#include <aws/lexv2-models/model/ParentBotNetwork.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 DescribeBotVersionResult() = 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& GetBotName() const { return m_botName; }
58 template <typename BotNameT = Aws::String>
59 void SetBotName(BotNameT&& value) {
60 m_botNameHasBeenSet = true;
61 m_botName = std::forward<BotNameT>(value);
62 }
63 template <typename BotNameT = Aws::String>
65 SetBotName(std::forward<BotNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
75 template <typename BotVersionT = Aws::String>
76 void SetBotVersion(BotVersionT&& value) {
77 m_botVersionHasBeenSet = true;
78 m_botVersion = std::forward<BotVersionT>(value);
79 }
80 template <typename BotVersionT = Aws::String>
82 SetBotVersion(std::forward<BotVersionT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
110 template <typename RoleArnT = Aws::String>
111 void SetRoleArn(RoleArnT&& value) {
112 m_roleArnHasBeenSet = true;
113 m_roleArn = std::forward<RoleArnT>(value);
114 }
115 template <typename RoleArnT = Aws::String>
117 SetRoleArn(std::forward<RoleArnT>(value));
118 return *this;
119 }
121
123
126 inline const DataPrivacy& GetDataPrivacy() const { return m_dataPrivacy; }
127 template <typename DataPrivacyT = DataPrivacy>
128 void SetDataPrivacy(DataPrivacyT&& value) {
129 m_dataPrivacyHasBeenSet = true;
130 m_dataPrivacy = std::forward<DataPrivacyT>(value);
131 }
132 template <typename DataPrivacyT = DataPrivacy>
134 SetDataPrivacy(std::forward<DataPrivacyT>(value));
135 return *this;
136 }
138
140
144 inline int GetIdleSessionTTLInSeconds() const { return m_idleSessionTTLInSeconds; }
145 inline void SetIdleSessionTTLInSeconds(int value) {
146 m_idleSessionTTLInSecondsHasBeenSet = true;
147 m_idleSessionTTLInSeconds = value;
148 }
151 return *this;
152 }
154
156
160 inline BotStatus GetBotStatus() const { return m_botStatus; }
161 inline void SetBotStatus(BotStatus value) {
162 m_botStatusHasBeenSet = true;
163 m_botStatus = value;
164 }
166 SetBotStatus(value);
167 return *this;
168 }
170
172
176 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
177 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
178 void SetFailureReasons(FailureReasonsT&& value) {
179 m_failureReasonsHasBeenSet = true;
180 m_failureReasons = std::forward<FailureReasonsT>(value);
181 }
182 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
184 SetFailureReasons(std::forward<FailureReasonsT>(value));
185 return *this;
186 }
187 template <typename FailureReasonsT = Aws::String>
188 DescribeBotVersionResult& AddFailureReasons(FailureReasonsT&& value) {
189 m_failureReasonsHasBeenSet = true;
190 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
200 template <typename CreationDateTimeT = Aws::Utils::DateTime>
201 void SetCreationDateTime(CreationDateTimeT&& value) {
202 m_creationDateTimeHasBeenSet = true;
203 m_creationDateTime = std::forward<CreationDateTimeT>(value);
204 }
205 template <typename CreationDateTimeT = Aws::Utils::DateTime>
206 DescribeBotVersionResult& WithCreationDateTime(CreationDateTimeT&& value) {
207 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
208 return *this;
209 }
211
213
216 inline const Aws::Vector<ParentBotNetwork>& GetParentBotNetworks() const { return m_parentBotNetworks; }
217 template <typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
218 void SetParentBotNetworks(ParentBotNetworksT&& value) {
219 m_parentBotNetworksHasBeenSet = true;
220 m_parentBotNetworks = std::forward<ParentBotNetworksT>(value);
221 }
222 template <typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
223 DescribeBotVersionResult& WithParentBotNetworks(ParentBotNetworksT&& value) {
224 SetParentBotNetworks(std::forward<ParentBotNetworksT>(value));
225 return *this;
226 }
227 template <typename ParentBotNetworksT = ParentBotNetwork>
228 DescribeBotVersionResult& AddParentBotNetworks(ParentBotNetworksT&& value) {
229 m_parentBotNetworksHasBeenSet = true;
230 m_parentBotNetworks.emplace_back(std::forward<ParentBotNetworksT>(value));
231 return *this;
232 }
234
236
239 inline BotType GetBotType() const { return m_botType; }
240 inline void SetBotType(BotType value) {
241 m_botTypeHasBeenSet = true;
242 m_botType = value;
243 }
245 SetBotType(value);
246 return *this;
247 }
249
251
254 inline const Aws::Vector<BotMember>& GetBotMembers() const { return m_botMembers; }
255 template <typename BotMembersT = Aws::Vector<BotMember>>
256 void SetBotMembers(BotMembersT&& value) {
257 m_botMembersHasBeenSet = true;
258 m_botMembers = std::forward<BotMembersT>(value);
259 }
260 template <typename BotMembersT = Aws::Vector<BotMember>>
262 SetBotMembers(std::forward<BotMembersT>(value));
263 return *this;
264 }
265 template <typename BotMembersT = BotMember>
267 m_botMembersHasBeenSet = true;
268 m_botMembers.emplace_back(std::forward<BotMembersT>(value));
269 return *this;
270 }
272
274
275 inline const Aws::String& GetRequestId() const { return m_requestId; }
276 template <typename RequestIdT = Aws::String>
277 void SetRequestId(RequestIdT&& value) {
278 m_requestIdHasBeenSet = true;
279 m_requestId = std::forward<RequestIdT>(value);
280 }
281 template <typename RequestIdT = Aws::String>
283 SetRequestId(std::forward<RequestIdT>(value));
284 return *this;
285 }
287 private:
288 Aws::String m_botId;
289
290 Aws::String m_botName;
291
292 Aws::String m_botVersion;
293
294 Aws::String m_description;
295
296 Aws::String m_roleArn;
297
298 DataPrivacy m_dataPrivacy;
299
300 int m_idleSessionTTLInSeconds{0};
301
302 BotStatus m_botStatus{BotStatus::NOT_SET};
303
304 Aws::Vector<Aws::String> m_failureReasons;
305
306 Aws::Utils::DateTime m_creationDateTime{};
307
308 Aws::Vector<ParentBotNetwork> m_parentBotNetworks;
309
310 BotType m_botType{BotType::NOT_SET};
311
312 Aws::Vector<BotMember> m_botMembers;
313
314 Aws::String m_requestId;
315 bool m_botIdHasBeenSet = false;
316 bool m_botNameHasBeenSet = false;
317 bool m_botVersionHasBeenSet = false;
318 bool m_descriptionHasBeenSet = false;
319 bool m_roleArnHasBeenSet = false;
320 bool m_dataPrivacyHasBeenSet = false;
321 bool m_idleSessionTTLInSecondsHasBeenSet = false;
322 bool m_botStatusHasBeenSet = false;
323 bool m_failureReasonsHasBeenSet = false;
324 bool m_creationDateTimeHasBeenSet = false;
325 bool m_parentBotNetworksHasBeenSet = false;
326 bool m_botTypeHasBeenSet = false;
327 bool m_botMembersHasBeenSet = false;
328 bool m_requestIdHasBeenSet = false;
329};
330
331} // namespace Model
332} // namespace LexModelsV2
333} // namespace Aws
AWS_LEXMODELSV2_API DescribeBotVersionResult()=default
const Aws::Vector< BotMember > & GetBotMembers() const
DescribeBotVersionResult & WithBotId(BotIdT &&value)
DescribeBotVersionResult & WithBotName(BotNameT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotVersionResult & WithParentBotNetworks(ParentBotNetworksT &&value)
const Aws::Vector< ParentBotNetwork > & GetParentBotNetworks() const
DescribeBotVersionResult & WithBotStatus(BotStatus value)
DescribeBotVersionResult & WithRequestId(RequestIdT &&value)
DescribeBotVersionResult & WithRoleArn(RoleArnT &&value)
DescribeBotVersionResult & WithBotType(BotType value)
DescribeBotVersionResult & WithBotMembers(BotMembersT &&value)
DescribeBotVersionResult & WithBotVersion(BotVersionT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeBotVersionResult & AddFailureReasons(FailureReasonsT &&value)
DescribeBotVersionResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeBotVersionResult & WithIdleSessionTTLInSeconds(int value)
DescribeBotVersionResult & AddBotMembers(BotMembersT &&value)
DescribeBotVersionResult & WithDescription(DescriptionT &&value)
DescribeBotVersionResult & WithDataPrivacy(DataPrivacyT &&value)
DescribeBotVersionResult & WithFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API DescribeBotVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotVersionResult & AddParentBotNetworks(ParentBotNetworksT &&value)
AWS_LEXMODELSV2_API DescribeBotVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue