AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetBotId() const{ return m_botId; }
47 inline void SetBotId(const Aws::String& value) { m_botId = value; }
48 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
49 inline void SetBotId(const char* value) { m_botId.assign(value); }
50 inline DescribeBotVersionResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
51 inline DescribeBotVersionResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
52 inline DescribeBotVersionResult& WithBotId(const char* value) { SetBotId(value); return *this;}
54
56
59 inline const Aws::String& GetBotName() const{ return m_botName; }
60 inline void SetBotName(const Aws::String& value) { m_botName = value; }
61 inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
62 inline void SetBotName(const char* value) { m_botName.assign(value); }
63 inline DescribeBotVersionResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
64 inline DescribeBotVersionResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
65 inline DescribeBotVersionResult& WithBotName(const char* value) { SetBotName(value); return *this;}
67
69
72 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
73 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
74 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
75 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
76 inline DescribeBotVersionResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
77 inline DescribeBotVersionResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
78 inline DescribeBotVersionResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline void SetDescription(const Aws::String& value) { m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_description.assign(value); }
89 inline DescribeBotVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline DescribeBotVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline DescribeBotVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
99 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
100 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
101 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
102 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
103 inline DescribeBotVersionResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
104 inline DescribeBotVersionResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
105 inline DescribeBotVersionResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
107
109
112 inline const DataPrivacy& GetDataPrivacy() const{ return m_dataPrivacy; }
113 inline void SetDataPrivacy(const DataPrivacy& value) { m_dataPrivacy = value; }
114 inline void SetDataPrivacy(DataPrivacy&& value) { m_dataPrivacy = std::move(value); }
115 inline DescribeBotVersionResult& WithDataPrivacy(const DataPrivacy& value) { SetDataPrivacy(value); return *this;}
116 inline DescribeBotVersionResult& WithDataPrivacy(DataPrivacy&& value) { SetDataPrivacy(std::move(value)); return *this;}
118
120
124 inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; }
125 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSeconds = value; }
128
130
134 inline const BotStatus& GetBotStatus() const{ return m_botStatus; }
135 inline void SetBotStatus(const BotStatus& value) { m_botStatus = value; }
136 inline void SetBotStatus(BotStatus&& value) { m_botStatus = std::move(value); }
137 inline DescribeBotVersionResult& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;}
138 inline DescribeBotVersionResult& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;}
140
142
146 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
147 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
148 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
151 inline DescribeBotVersionResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
152 inline DescribeBotVersionResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
153 inline DescribeBotVersionResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
155
157
160 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
161 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
162 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
166
168
171 inline const Aws::Vector<ParentBotNetwork>& GetParentBotNetworks() const{ return m_parentBotNetworks; }
172 inline void SetParentBotNetworks(const Aws::Vector<ParentBotNetwork>& value) { m_parentBotNetworks = value; }
173 inline void SetParentBotNetworks(Aws::Vector<ParentBotNetwork>&& value) { m_parentBotNetworks = std::move(value); }
176 inline DescribeBotVersionResult& AddParentBotNetworks(const ParentBotNetwork& value) { m_parentBotNetworks.push_back(value); return *this; }
177 inline DescribeBotVersionResult& AddParentBotNetworks(ParentBotNetwork&& value) { m_parentBotNetworks.push_back(std::move(value)); return *this; }
179
181
184 inline const BotType& GetBotType() const{ return m_botType; }
185 inline void SetBotType(const BotType& value) { m_botType = value; }
186 inline void SetBotType(BotType&& value) { m_botType = std::move(value); }
187 inline DescribeBotVersionResult& WithBotType(const BotType& value) { SetBotType(value); return *this;}
188 inline DescribeBotVersionResult& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;}
190
192
195 inline const Aws::Vector<BotMember>& GetBotMembers() const{ return m_botMembers; }
196 inline void SetBotMembers(const Aws::Vector<BotMember>& value) { m_botMembers = value; }
197 inline void SetBotMembers(Aws::Vector<BotMember>&& value) { m_botMembers = std::move(value); }
199 inline DescribeBotVersionResult& WithBotMembers(Aws::Vector<BotMember>&& value) { SetBotMembers(std::move(value)); return *this;}
200 inline DescribeBotVersionResult& AddBotMembers(const BotMember& value) { m_botMembers.push_back(value); return *this; }
201 inline DescribeBotVersionResult& AddBotMembers(BotMember&& value) { m_botMembers.push_back(std::move(value)); return *this; }
203
205
206 inline const Aws::String& GetRequestId() const{ return m_requestId; }
207 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
208 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
209 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
210 inline DescribeBotVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
211 inline DescribeBotVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
212 inline DescribeBotVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
214 private:
215
216 Aws::String m_botId;
217
218 Aws::String m_botName;
219
220 Aws::String m_botVersion;
221
222 Aws::String m_description;
223
224 Aws::String m_roleArn;
225
226 DataPrivacy m_dataPrivacy;
227
228 int m_idleSessionTTLInSeconds;
229
230 BotStatus m_botStatus;
231
232 Aws::Vector<Aws::String> m_failureReasons;
233
234 Aws::Utils::DateTime m_creationDateTime;
235
236 Aws::Vector<ParentBotNetwork> m_parentBotNetworks;
237
238 BotType m_botType;
239
240 Aws::Vector<BotMember> m_botMembers;
241
242 Aws::String m_requestId;
243 };
244
245} // namespace Model
246} // namespace LexModelsV2
247} // namespace Aws
DescribeBotVersionResult & WithRoleArn(const Aws::String &value)
void SetBotMembers(Aws::Vector< BotMember > &&value)
DescribeBotVersionResult & WithDataPrivacy(const DataPrivacy &value)
DescribeBotVersionResult & WithBotMembers(const Aws::Vector< BotMember > &value)
DescribeBotVersionResult & WithBotVersion(const Aws::String &value)
void SetBotMembers(const Aws::Vector< BotMember > &value)
DescribeBotVersionResult & WithParentBotNetworks(Aws::Vector< ParentBotNetwork > &&value)
const Aws::Vector< BotMember > & GetBotMembers() const
void SetParentBotNetworks(Aws::Vector< ParentBotNetwork > &&value)
DescribeBotVersionResult & WithBotId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotVersionResult & WithBotVersion(const char *value)
DescribeBotVersionResult & AddBotMembers(BotMember &&value)
DescribeBotVersionResult & WithDescription(const Aws::String &value)
const Aws::Vector< ParentBotNetwork > & GetParentBotNetworks() const
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotVersionResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotVersionResult & WithBotVersion(Aws::String &&value)
DescribeBotVersionResult & WithBotName(const Aws::String &value)
DescribeBotVersionResult & WithBotName(Aws::String &&value)
DescribeBotVersionResult & WithParentBotNetworks(const Aws::Vector< ParentBotNetwork > &value)
DescribeBotVersionResult & WithBotId(const char *value)
DescribeBotVersionResult & WithBotMembers(Aws::Vector< BotMember > &&value)
DescribeBotVersionResult & WithIdleSessionTTLInSeconds(int value)
DescribeBotVersionResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeBotVersionResult & WithDescription(Aws::String &&value)
DescribeBotVersionResult & WithRoleArn(Aws::String &&value)
DescribeBotVersionResult & WithRequestId(const char *value)
DescribeBotVersionResult & WithBotName(const char *value)
void SetParentBotNetworks(const Aws::Vector< ParentBotNetwork > &value)
DescribeBotVersionResult & AddBotMembers(const BotMember &value)
DescribeBotVersionResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotVersionResult & WithBotStatus(const BotStatus &value)
DescribeBotVersionResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotVersionResult & WithBotId(const Aws::String &value)
DescribeBotVersionResult & AddParentBotNetworks(ParentBotNetwork &&value)
DescribeBotVersionResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotVersionResult & WithRequestId(const Aws::String &value)
DescribeBotVersionResult & AddParentBotNetworks(const ParentBotNetwork &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotVersionResult & AddFailureReasons(Aws::String &&value)
DescribeBotVersionResult & AddFailureReasons(const Aws::String &value)
DescribeBotVersionResult & WithBotType(BotType &&value)
DescribeBotVersionResult & WithBotStatus(BotStatus &&value)
DescribeBotVersionResult & WithRoleArn(const char *value)
DescribeBotVersionResult & WithDescription(const char *value)
DescribeBotVersionResult & AddFailureReasons(const char *value)
AWS_LEXMODELSV2_API DescribeBotVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotVersionResult & WithDataPrivacy(DataPrivacy &&value)
AWS_LEXMODELSV2_API DescribeBotVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotVersionResult & WithBotType(const BotType &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