AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/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 UpdateBotResult();
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 UpdateBotResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
50 inline UpdateBotResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
51 inline UpdateBotResult& 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 UpdateBotResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
63 inline UpdateBotResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
64 inline UpdateBotResult& 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 UpdateBotResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateBotResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateBotResult& 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 UpdateBotResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
90 inline UpdateBotResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
91 inline UpdateBotResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
93
95
98 inline const DataPrivacy& GetDataPrivacy() const{ return m_dataPrivacy; }
99 inline void SetDataPrivacy(const DataPrivacy& value) { m_dataPrivacy = value; }
100 inline void SetDataPrivacy(DataPrivacy&& value) { m_dataPrivacy = std::move(value); }
101 inline UpdateBotResult& WithDataPrivacy(const DataPrivacy& value) { SetDataPrivacy(value); return *this;}
102 inline UpdateBotResult& WithDataPrivacy(DataPrivacy&& value) { SetDataPrivacy(std::move(value)); return *this;}
104
106
109 inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; }
110 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSeconds = value; }
113
115
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 UpdateBotResult& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;}
125 inline UpdateBotResult& 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 UpdateBotResult& 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); }
147 inline UpdateBotResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
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 UpdateBotResult& WithBotType(const BotType& value) { SetBotType(value); return *this;}
158 inline UpdateBotResult& 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 UpdateBotResult& WithBotMembers(const Aws::Vector<BotMember>& value) { SetBotMembers(value); return *this;}
169 inline UpdateBotResult& WithBotMembers(Aws::Vector<BotMember>&& value) { SetBotMembers(std::move(value)); return *this;}
170 inline UpdateBotResult& AddBotMembers(const BotMember& value) { m_botMembers.push_back(value); return *this; }
171 inline UpdateBotResult& AddBotMembers(BotMember&& value) { m_botMembers.push_back(std::move(value)); return *this; }
173
175
176 inline const Aws::String& GetRequestId() const{ return m_requestId; }
177 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
178 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
179 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
180 inline UpdateBotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
181 inline UpdateBotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
182 inline UpdateBotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
184 private:
185
186 Aws::String m_botId;
187
188 Aws::String m_botName;
189
190 Aws::String m_description;
191
192 Aws::String m_roleArn;
193
194 DataPrivacy m_dataPrivacy;
195
196 int m_idleSessionTTLInSeconds;
197
198 BotStatus m_botStatus;
199
200 Aws::Utils::DateTime m_creationDateTime;
201
202 Aws::Utils::DateTime m_lastUpdatedDateTime;
203
204 BotType m_botType;
205
206 Aws::Vector<BotMember> m_botMembers;
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace LexModelsV2
213} // namespace Aws
UpdateBotResult & WithBotType(const BotType &value)
const Aws::String & GetRequestId() const
void SetDescription(const Aws::String &value)
UpdateBotResult & WithRequestId(const Aws::String &value)
UpdateBotResult & WithBotName(const Aws::String &value)
const Aws::String & GetRoleArn() const
UpdateBotResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
UpdateBotResult & AddBotMembers(BotMember &&value)
UpdateBotResult & WithRoleArn(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
UpdateBotResult & WithBotId(Aws::String &&value)
void SetBotId(const Aws::String &value)
UpdateBotResult & WithBotMembers(const Aws::Vector< BotMember > &value)
void SetBotMembers(const Aws::Vector< BotMember > &value)
UpdateBotResult & WithBotStatus(const BotStatus &value)
UpdateBotResult & WithDescription(Aws::String &&value)
UpdateBotResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
UpdateBotResult & WithDescription(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
UpdateBotResult & WithIdleSessionTTLInSeconds(int value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
AWS_LEXMODELSV2_API UpdateBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotResult & WithBotName(const char *value)
void SetDescription(Aws::String &&value)
UpdateBotResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
UpdateBotResult & WithBotId(const char *value)
void SetBotMembers(Aws::Vector< BotMember > &&value)
const Aws::String & GetBotId() const
void SetBotName(const Aws::String &value)
UpdateBotResult & WithRequestId(const char *value)
UpdateBotResult & WithBotMembers(Aws::Vector< BotMember > &&value)
UpdateBotResult & WithBotName(Aws::String &&value)
const DataPrivacy & GetDataPrivacy() const
void SetRequestId(const Aws::String &value)
UpdateBotResult & WithDataPrivacy(DataPrivacy &&value)
UpdateBotResult & WithBotType(BotType &&value)
const Aws::Vector< BotMember > & GetBotMembers() const
UpdateBotResult & WithDataPrivacy(const DataPrivacy &value)
UpdateBotResult & WithRoleArn(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
UpdateBotResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetBotStatus(const BotStatus &value)
AWS_LEXMODELSV2_API UpdateBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoleArn(const Aws::String &value)
UpdateBotResult & WithRoleArn(const Aws::String &value)
UpdateBotResult & WithDescription(const Aws::String &value)
UpdateBotResult & WithBotId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetBotName() const
void SetDataPrivacy(const DataPrivacy &value)
UpdateBotResult & WithBotStatus(BotStatus &&value)
UpdateBotResult & AddBotMembers(const BotMember &value)
UpdateBotResult & WithRequestId(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