AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/ErrorLogSettings.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 DescribeBotResult() = 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 DescribeBotResult& 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 DescribeBotResult& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 DescribeBotResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
80 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
81 template<typename RoleArnT = Aws::String>
82 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
83 template<typename RoleArnT = Aws::String>
84 DescribeBotResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
86
88
92 inline const DataPrivacy& GetDataPrivacy() const { return m_dataPrivacy; }
93 template<typename DataPrivacyT = DataPrivacy>
94 void SetDataPrivacy(DataPrivacyT&& value) { m_dataPrivacyHasBeenSet = true; m_dataPrivacy = std::forward<DataPrivacyT>(value); }
95 template<typename DataPrivacyT = DataPrivacy>
96 DescribeBotResult& WithDataPrivacy(DataPrivacyT&& value) { SetDataPrivacy(std::forward<DataPrivacyT>(value)); return *this;}
98
100
104 inline int GetIdleSessionTTLInSeconds() const { return m_idleSessionTTLInSeconds; }
105 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSecondsHasBeenSet = true; m_idleSessionTTLInSeconds = value; }
108
110
114 inline BotStatus GetBotStatus() const { return m_botStatus; }
115 inline void SetBotStatus(BotStatus value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
116 inline DescribeBotResult& WithBotStatus(BotStatus value) { SetBotStatus(value); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
124 template<typename CreationDateTimeT = Aws::Utils::DateTime>
125 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
126 template<typename CreationDateTimeT = Aws::Utils::DateTime>
127 DescribeBotResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
135 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
136 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
137 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
138 DescribeBotResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
140
142
145 inline BotType GetBotType() const { return m_botType; }
146 inline void SetBotType(BotType value) { m_botTypeHasBeenSet = true; m_botType = value; }
147 inline DescribeBotResult& WithBotType(BotType value) { SetBotType(value); return *this;}
149
151
154 inline const Aws::Vector<BotMember>& GetBotMembers() const { return m_botMembers; }
155 template<typename BotMembersT = Aws::Vector<BotMember>>
156 void SetBotMembers(BotMembersT&& value) { m_botMembersHasBeenSet = true; m_botMembers = std::forward<BotMembersT>(value); }
157 template<typename BotMembersT = Aws::Vector<BotMember>>
158 DescribeBotResult& WithBotMembers(BotMembersT&& value) { SetBotMembers(std::forward<BotMembersT>(value)); return *this;}
159 template<typename BotMembersT = BotMember>
160 DescribeBotResult& AddBotMembers(BotMembersT&& value) { m_botMembersHasBeenSet = true; m_botMembers.emplace_back(std::forward<BotMembersT>(value)); return *this; }
162
164
168 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
169 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
170 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
171 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
172 DescribeBotResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
173 template<typename FailureReasonsT = Aws::String>
174 DescribeBotResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
176
178
182 inline const ErrorLogSettings& GetErrorLogSettings() const { return m_errorLogSettings; }
183 template<typename ErrorLogSettingsT = ErrorLogSettings>
184 void SetErrorLogSettings(ErrorLogSettingsT&& value) { m_errorLogSettingsHasBeenSet = true; m_errorLogSettings = std::forward<ErrorLogSettingsT>(value); }
185 template<typename ErrorLogSettingsT = ErrorLogSettings>
186 DescribeBotResult& WithErrorLogSettings(ErrorLogSettingsT&& value) { SetErrorLogSettings(std::forward<ErrorLogSettingsT>(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 DescribeBotResult& 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_description;
206 bool m_descriptionHasBeenSet = false;
207
208 Aws::String m_roleArn;
209 bool m_roleArnHasBeenSet = false;
210
211 DataPrivacy m_dataPrivacy;
212 bool m_dataPrivacyHasBeenSet = false;
213
214 int m_idleSessionTTLInSeconds{0};
215 bool m_idleSessionTTLInSecondsHasBeenSet = false;
216
217 BotStatus m_botStatus{BotStatus::NOT_SET};
218 bool m_botStatusHasBeenSet = false;
219
220 Aws::Utils::DateTime m_creationDateTime{};
221 bool m_creationDateTimeHasBeenSet = false;
222
223 Aws::Utils::DateTime m_lastUpdatedDateTime{};
224 bool m_lastUpdatedDateTimeHasBeenSet = false;
225
226 BotType m_botType{BotType::NOT_SET};
227 bool m_botTypeHasBeenSet = false;
228
229 Aws::Vector<BotMember> m_botMembers;
230 bool m_botMembersHasBeenSet = false;
231
232 Aws::Vector<Aws::String> m_failureReasons;
233 bool m_failureReasonsHasBeenSet = false;
234
235 ErrorLogSettings m_errorLogSettings;
236 bool m_errorLogSettingsHasBeenSet = false;
237
238 Aws::String m_requestId;
239 bool m_requestIdHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace LexModelsV2
244} // namespace Aws
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_LEXMODELSV2_API DescribeBotResult()=default
AWS_LEXMODELSV2_API DescribeBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::Vector< BotMember > & GetBotMembers() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotResult & WithRoleArn(RoleArnT &&value)
void SetErrorLogSettings(ErrorLogSettingsT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotResult & WithDataPrivacy(DataPrivacyT &&value)
DescribeBotResult & WithBotName(BotNameT &&value)
DescribeBotResult & AddBotMembers(BotMembersT &&value)
DescribeBotResult & WithErrorLogSettings(ErrorLogSettingsT &&value)
void SetFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API DescribeBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeBotResult & WithRequestId(RequestIdT &&value)
DescribeBotResult & WithIdleSessionTTLInSeconds(int value)
DescribeBotResult & WithBotStatus(BotStatus value)
DescribeBotResult & WithBotMembers(BotMembersT &&value)
DescribeBotResult & WithDescription(DescriptionT &&value)
DescribeBotResult & WithBotId(BotIdT &&value)
DescribeBotResult & WithFailureReasons(FailureReasonsT &&value)
DescribeBotResult & WithBotType(BotType value)
DescribeBotResult & AddFailureReasons(FailureReasonsT &&value)
const ErrorLogSettings & GetErrorLogSettings() const
void SetCreationDateTime(CreationDateTimeT &&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