AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeBotVersionResult.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/DataPrivacy.h>
10#include <aws/lexv2-models/model/BotStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/lexv2-models/model/BotType.h>
14#include <aws/lexv2-models/model/ParentBotNetwork.h>
15#include <aws/lexv2-models/model/BotMember.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace LexModelsV2
31{
32namespace Model
33{
35 {
36 public:
37 AWS_LEXMODELSV2_API DescribeBotVersionResult() = default;
40
41
43
46 inline const Aws::String& GetBotId() const { return m_botId; }
47 template<typename BotIdT = Aws::String>
48 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
49 template<typename BotIdT = Aws::String>
50 DescribeBotVersionResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetBotName() const { return m_botName; }
58 template<typename BotNameT = Aws::String>
59 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
60 template<typename BotNameT = Aws::String>
61 DescribeBotVersionResult& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
69 template<typename BotVersionT = Aws::String>
70 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
71 template<typename BotVersionT = Aws::String>
72 DescribeBotVersionResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 DescribeBotVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85
87
91 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
92 template<typename RoleArnT = Aws::String>
93 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
94 template<typename RoleArnT = Aws::String>
95 DescribeBotVersionResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
97
99
102 inline const DataPrivacy& GetDataPrivacy() const { return m_dataPrivacy; }
103 template<typename DataPrivacyT = DataPrivacy>
104 void SetDataPrivacy(DataPrivacyT&& value) { m_dataPrivacyHasBeenSet = true; m_dataPrivacy = std::forward<DataPrivacyT>(value); }
105 template<typename DataPrivacyT = DataPrivacy>
106 DescribeBotVersionResult& WithDataPrivacy(DataPrivacyT&& value) { SetDataPrivacy(std::forward<DataPrivacyT>(value)); return *this;}
108
110
114 inline int GetIdleSessionTTLInSeconds() const { return m_idleSessionTTLInSeconds; }
115 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSecondsHasBeenSet = true; m_idleSessionTTLInSeconds = value; }
118
120
124 inline BotStatus GetBotStatus() const { return m_botStatus; }
125 inline void SetBotStatus(BotStatus value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
126 inline DescribeBotVersionResult& WithBotStatus(BotStatus value) { SetBotStatus(value); return *this;}
128
130
134 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
135 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
136 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
137 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
138 DescribeBotVersionResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
139 template<typename FailureReasonsT = Aws::String>
140 DescribeBotVersionResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
142
144
147 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
148 template<typename CreationDateTimeT = Aws::Utils::DateTime>
149 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
150 template<typename CreationDateTimeT = Aws::Utils::DateTime>
151 DescribeBotVersionResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
153
155
158 inline const Aws::Vector<ParentBotNetwork>& GetParentBotNetworks() const { return m_parentBotNetworks; }
159 template<typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
160 void SetParentBotNetworks(ParentBotNetworksT&& value) { m_parentBotNetworksHasBeenSet = true; m_parentBotNetworks = std::forward<ParentBotNetworksT>(value); }
161 template<typename ParentBotNetworksT = Aws::Vector<ParentBotNetwork>>
162 DescribeBotVersionResult& WithParentBotNetworks(ParentBotNetworksT&& value) { SetParentBotNetworks(std::forward<ParentBotNetworksT>(value)); return *this;}
163 template<typename ParentBotNetworksT = ParentBotNetwork>
164 DescribeBotVersionResult& AddParentBotNetworks(ParentBotNetworksT&& value) { m_parentBotNetworksHasBeenSet = true; m_parentBotNetworks.emplace_back(std::forward<ParentBotNetworksT>(value)); return *this; }
166
168
171 inline BotType GetBotType() const { return m_botType; }
172 inline void SetBotType(BotType value) { m_botTypeHasBeenSet = true; m_botType = value; }
173 inline DescribeBotVersionResult& WithBotType(BotType value) { SetBotType(value); return *this;}
175
177
180 inline const Aws::Vector<BotMember>& GetBotMembers() const { return m_botMembers; }
181 template<typename BotMembersT = Aws::Vector<BotMember>>
182 void SetBotMembers(BotMembersT&& value) { m_botMembersHasBeenSet = true; m_botMembers = std::forward<BotMembersT>(value); }
183 template<typename BotMembersT = Aws::Vector<BotMember>>
184 DescribeBotVersionResult& WithBotMembers(BotMembersT&& value) { SetBotMembers(std::forward<BotMembersT>(value)); return *this;}
185 template<typename BotMembersT = BotMember>
186 DescribeBotVersionResult& AddBotMembers(BotMembersT&& value) { m_botMembersHasBeenSet = true; m_botMembers.emplace_back(std::forward<BotMembersT>(value)); return *this; }
188
190
191 inline const Aws::String& GetRequestId() const { return m_requestId; }
192 template<typename RequestIdT = Aws::String>
193 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
194 template<typename RequestIdT = Aws::String>
195 DescribeBotVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
197 private:
198
199 Aws::String m_botId;
200 bool m_botIdHasBeenSet = false;
201
202 Aws::String m_botName;
203 bool m_botNameHasBeenSet = false;
204
205 Aws::String m_botVersion;
206 bool m_botVersionHasBeenSet = false;
207
208 Aws::String m_description;
209 bool m_descriptionHasBeenSet = false;
210
211 Aws::String m_roleArn;
212 bool m_roleArnHasBeenSet = false;
213
214 DataPrivacy m_dataPrivacy;
215 bool m_dataPrivacyHasBeenSet = false;
216
217 int m_idleSessionTTLInSeconds{0};
218 bool m_idleSessionTTLInSecondsHasBeenSet = false;
219
220 BotStatus m_botStatus{BotStatus::NOT_SET};
221 bool m_botStatusHasBeenSet = false;
222
223 Aws::Vector<Aws::String> m_failureReasons;
224 bool m_failureReasonsHasBeenSet = false;
225
226 Aws::Utils::DateTime m_creationDateTime{};
227 bool m_creationDateTimeHasBeenSet = false;
228
229 Aws::Vector<ParentBotNetwork> m_parentBotNetworks;
230 bool m_parentBotNetworksHasBeenSet = false;
231
232 BotType m_botType{BotType::NOT_SET};
233 bool m_botTypeHasBeenSet = false;
234
235 Aws::Vector<BotMember> m_botMembers;
236 bool m_botMembersHasBeenSet = false;
237
238 Aws::String m_requestId;
239 bool m_requestIdHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace LexModelsV2
244} // 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