AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateBotResult.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 UpdateBotResult() = 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 UpdateBotResult& 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 UpdateBotResult& 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 UpdateBotResult& 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 UpdateBotResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
86
88
91 inline const DataPrivacy& GetDataPrivacy() const { return m_dataPrivacy; }
92 template<typename DataPrivacyT = DataPrivacy>
93 void SetDataPrivacy(DataPrivacyT&& value) { m_dataPrivacyHasBeenSet = true; m_dataPrivacy = std::forward<DataPrivacyT>(value); }
94 template<typename DataPrivacyT = DataPrivacy>
95 UpdateBotResult& WithDataPrivacy(DataPrivacyT&& value) { SetDataPrivacy(std::forward<DataPrivacyT>(value)); return *this;}
97
99
102 inline int GetIdleSessionTTLInSeconds() const { return m_idleSessionTTLInSeconds; }
103 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSecondsHasBeenSet = true; m_idleSessionTTLInSeconds = value; }
106
108
114 inline BotStatus GetBotStatus() const { return m_botStatus; }
115 inline void SetBotStatus(BotStatus value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
116 inline UpdateBotResult& 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 UpdateBotResult& 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 UpdateBotResult& 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 UpdateBotResult& 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 UpdateBotResult& WithBotMembers(BotMembersT&& value) { SetBotMembers(std::forward<BotMembersT>(value)); return *this;}
159 template<typename BotMembersT = BotMember>
160 UpdateBotResult& AddBotMembers(BotMembersT&& value) { m_botMembersHasBeenSet = true; m_botMembers.emplace_back(std::forward<BotMembersT>(value)); return *this; }
162
164
168 inline const ErrorLogSettings& GetErrorLogSettings() const { return m_errorLogSettings; }
169 template<typename ErrorLogSettingsT = ErrorLogSettings>
170 void SetErrorLogSettings(ErrorLogSettingsT&& value) { m_errorLogSettingsHasBeenSet = true; m_errorLogSettings = std::forward<ErrorLogSettingsT>(value); }
171 template<typename ErrorLogSettingsT = ErrorLogSettings>
172 UpdateBotResult& WithErrorLogSettings(ErrorLogSettingsT&& value) { SetErrorLogSettings(std::forward<ErrorLogSettingsT>(value)); return *this;}
174
176
177 inline const Aws::String& GetRequestId() const { return m_requestId; }
178 template<typename RequestIdT = Aws::String>
179 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
180 template<typename RequestIdT = Aws::String>
181 UpdateBotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
183 private:
184
185 Aws::String m_botId;
186 bool m_botIdHasBeenSet = false;
187
188 Aws::String m_botName;
189 bool m_botNameHasBeenSet = false;
190
191 Aws::String m_description;
192 bool m_descriptionHasBeenSet = false;
193
194 Aws::String m_roleArn;
195 bool m_roleArnHasBeenSet = false;
196
197 DataPrivacy m_dataPrivacy;
198 bool m_dataPrivacyHasBeenSet = false;
199
200 int m_idleSessionTTLInSeconds{0};
201 bool m_idleSessionTTLInSecondsHasBeenSet = false;
202
203 BotStatus m_botStatus{BotStatus::NOT_SET};
204 bool m_botStatusHasBeenSet = false;
205
206 Aws::Utils::DateTime m_creationDateTime{};
207 bool m_creationDateTimeHasBeenSet = false;
208
209 Aws::Utils::DateTime m_lastUpdatedDateTime{};
210 bool m_lastUpdatedDateTimeHasBeenSet = false;
211
212 BotType m_botType{BotType::NOT_SET};
213 bool m_botTypeHasBeenSet = false;
214
215 Aws::Vector<BotMember> m_botMembers;
216 bool m_botMembersHasBeenSet = false;
217
218 ErrorLogSettings m_errorLogSettings;
219 bool m_errorLogSettingsHasBeenSet = false;
220
221 Aws::String m_requestId;
222 bool m_requestIdHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace LexModelsV2
227} // namespace Aws
UpdateBotResult & WithBotId(BotIdT &&value)
UpdateBotResult & WithBotName(BotNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
UpdateBotResult & WithBotType(BotType value)
AWS_LEXMODELSV2_API UpdateBotResult()=default
const Aws::String & GetRoleArn() const
const ErrorLogSettings & GetErrorLogSettings() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateBotResult & WithBotStatus(BotStatus value)
UpdateBotResult & WithErrorLogSettings(ErrorLogSettingsT &&value)
UpdateBotResult & WithIdleSessionTTLInSeconds(int value)
AWS_LEXMODELSV2_API UpdateBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetBotId() const
UpdateBotResult & WithRoleArn(RoleArnT &&value)
void SetDataPrivacy(DataPrivacyT &&value)
const DataPrivacy & GetDataPrivacy() const
UpdateBotResult & AddBotMembers(BotMembersT &&value)
const Aws::Vector< BotMember > & GetBotMembers() const
UpdateBotResult & WithDescription(DescriptionT &&value)
UpdateBotResult & WithDataPrivacy(DataPrivacyT &&value)
void SetErrorLogSettings(ErrorLogSettingsT &&value)
const Aws::String & GetDescription() const
AWS_LEXMODELSV2_API UpdateBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateBotResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetBotName() const
UpdateBotResult & WithBotMembers(BotMembersT &&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