AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBotResult.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/DateTime.h>
12#include <aws/lexv2-models/model/BotType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/lexv2-models/model/BotMember.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 DescribeBotResult();
39
40
42
45 inline const Aws::String& GetBotId() const{ return m_botId; }
46 inline void SetBotId(const Aws::String& value) { m_botId = value; }
47 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
48 inline void SetBotId(const char* value) { m_botId.assign(value); }
49 inline DescribeBotResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
50 inline DescribeBotResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
51 inline DescribeBotResult& WithBotId(const char* value) { SetBotId(value); return *this;}
53
55
58 inline const Aws::String& GetBotName() const{ return m_botName; }
59 inline void SetBotName(const Aws::String& value) { m_botName = value; }
60 inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
61 inline void SetBotName(const char* value) { m_botName.assign(value); }
62 inline DescribeBotResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
63 inline DescribeBotResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
64 inline DescribeBotResult& WithBotName(const char* value) { SetBotName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline void SetDescription(const Aws::String& value) { m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline DescribeBotResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline DescribeBotResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline DescribeBotResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
85 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
86 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
87 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
88 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
89 inline DescribeBotResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
90 inline DescribeBotResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
91 inline DescribeBotResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
93
95
99 inline const DataPrivacy& GetDataPrivacy() const{ return m_dataPrivacy; }
100 inline void SetDataPrivacy(const DataPrivacy& value) { m_dataPrivacy = value; }
101 inline void SetDataPrivacy(DataPrivacy&& value) { m_dataPrivacy = std::move(value); }
102 inline DescribeBotResult& WithDataPrivacy(const DataPrivacy& value) { SetDataPrivacy(value); return *this;}
103 inline DescribeBotResult& WithDataPrivacy(DataPrivacy&& value) { SetDataPrivacy(std::move(value)); return *this;}
105
107
111 inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; }
112 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSeconds = value; }
115
117
121 inline const BotStatus& GetBotStatus() const{ return m_botStatus; }
122 inline void SetBotStatus(const BotStatus& value) { m_botStatus = value; }
123 inline void SetBotStatus(BotStatus&& value) { m_botStatus = std::move(value); }
124 inline DescribeBotResult& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;}
125 inline DescribeBotResult& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
133 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
134 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
136 inline DescribeBotResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
144 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
145 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
149
151
154 inline const BotType& GetBotType() const{ return m_botType; }
155 inline void SetBotType(const BotType& value) { m_botType = value; }
156 inline void SetBotType(BotType&& value) { m_botType = std::move(value); }
157 inline DescribeBotResult& WithBotType(const BotType& value) { SetBotType(value); return *this;}
158 inline DescribeBotResult& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;}
160
162
165 inline const Aws::Vector<BotMember>& GetBotMembers() const{ return m_botMembers; }
166 inline void SetBotMembers(const Aws::Vector<BotMember>& value) { m_botMembers = value; }
167 inline void SetBotMembers(Aws::Vector<BotMember>&& value) { m_botMembers = std::move(value); }
168 inline DescribeBotResult& WithBotMembers(const Aws::Vector<BotMember>& value) { SetBotMembers(value); return *this;}
169 inline DescribeBotResult& WithBotMembers(Aws::Vector<BotMember>&& value) { SetBotMembers(std::move(value)); return *this;}
170 inline DescribeBotResult& AddBotMembers(const BotMember& value) { m_botMembers.push_back(value); return *this; }
171 inline DescribeBotResult& AddBotMembers(BotMember&& value) { m_botMembers.push_back(std::move(value)); return *this; }
173
175
179 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
180 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
181 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
183 inline DescribeBotResult& WithFailureReasons(Aws::Vector<Aws::String>&& value) { SetFailureReasons(std::move(value)); return *this;}
184 inline DescribeBotResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
185 inline DescribeBotResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
186 inline DescribeBotResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
188
190
191 inline const Aws::String& GetRequestId() const{ return m_requestId; }
192 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
193 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
194 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
195 inline DescribeBotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
196 inline DescribeBotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
197 inline DescribeBotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
199 private:
200
201 Aws::String m_botId;
202
203 Aws::String m_botName;
204
205 Aws::String m_description;
206
207 Aws::String m_roleArn;
208
209 DataPrivacy m_dataPrivacy;
210
211 int m_idleSessionTTLInSeconds;
212
213 BotStatus m_botStatus;
214
215 Aws::Utils::DateTime m_creationDateTime;
216
217 Aws::Utils::DateTime m_lastUpdatedDateTime;
218
219 BotType m_botType;
220
221 Aws::Vector<BotMember> m_botMembers;
222
223 Aws::Vector<Aws::String> m_failureReasons;
224
225 Aws::String m_requestId;
226 };
227
228} // namespace Model
229} // namespace LexModelsV2
230} // namespace Aws
DescribeBotResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeBotResult & AddBotMembers(const BotMember &value)
DescribeBotResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeBotResult & WithRequestId(const Aws::String &value)
AWS_LEXMODELSV2_API DescribeBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
void SetDataPrivacy(const DataPrivacy &value)
DescribeBotResult & WithBotType(BotType &&value)
DescribeBotResult & WithBotType(const BotType &value)
void SetBotMembers(Aws::Vector< BotMember > &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeBotResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::Vector< BotMember > & GetBotMembers() const
DescribeBotResult & WithDescription(const Aws::String &value)
void SetBotId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotResult & WithDataPrivacy(const DataPrivacy &value)
DescribeBotResult & WithBotMembers(Aws::Vector< BotMember > &&value)
DescribeBotResult & WithRequestId(Aws::String &&value)
DescribeBotResult & WithBotName(const char *value)
DescribeBotResult & WithDescription(Aws::String &&value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotResult & WithBotId(const char *value)
DescribeBotResult & WithDescription(const char *value)
DescribeBotResult & WithRoleArn(const char *value)
void SetRoleArn(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotResult & WithRoleArn(const Aws::String &value)
DescribeBotResult & WithRoleArn(Aws::String &&value)
DescribeBotResult & WithBotStatus(BotStatus &&value)
DescribeBotResult & AddFailureReasons(const Aws::String &value)
DescribeBotResult & WithBotMembers(const Aws::Vector< BotMember > &value)
void SetBotName(const Aws::String &value)
DescribeBotResult & AddFailureReasons(Aws::String &&value)
AWS_LEXMODELSV2_API DescribeBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DescribeBotResult & WithBotName(const Aws::String &value)
DescribeBotResult & WithBotId(Aws::String &&value)
DescribeBotResult & WithBotId(const Aws::String &value)
void SetDescription(const Aws::String &value)
DescribeBotResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotResult & WithIdleSessionTTLInSeconds(int value)
DescribeBotResult & WithRequestId(const char *value)
DescribeBotResult & AddFailureReasons(const char *value)
void SetBotMembers(const Aws::Vector< BotMember > &value)
DescribeBotResult & WithBotStatus(const BotStatus &value)
DescribeBotResult & WithDataPrivacy(DataPrivacy &&value)
void SetRequestId(const Aws::String &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeBotResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotResult & AddBotMembers(BotMember &&value)
DescribeBotResult & WithBotName(Aws::String &&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