AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBotResult.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/core/utils/memory/stl/AWSMap.h>
13#include <aws/lexv2-models/model/BotType.h>
14#include <aws/core/utils/memory/stl/AWSVector.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 CreateBotResult();
40
41
43
47 inline const Aws::String& GetBotId() const{ return m_botId; }
48 inline void SetBotId(const Aws::String& value) { m_botId = value; }
49 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
50 inline void SetBotId(const char* value) { m_botId.assign(value); }
51 inline CreateBotResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
52 inline CreateBotResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
53 inline CreateBotResult& WithBotId(const char* value) { SetBotId(value); return *this;}
55
57
60 inline const Aws::String& GetBotName() const{ return m_botName; }
61 inline void SetBotName(const Aws::String& value) { m_botName = value; }
62 inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
63 inline void SetBotName(const char* value) { m_botName.assign(value); }
64 inline CreateBotResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
65 inline CreateBotResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
66 inline CreateBotResult& WithBotName(const char* value) { SetBotName(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline void SetDescription(const Aws::String& value) { m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_description.assign(value); }
77 inline CreateBotResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline CreateBotResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline CreateBotResult& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
87 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
88 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
89 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
90 inline CreateBotResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
91 inline CreateBotResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
92 inline CreateBotResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
94
96
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 CreateBotResult& WithDataPrivacy(const DataPrivacy& value) { SetDataPrivacy(value); return *this;}
103 inline CreateBotResult& WithDataPrivacy(DataPrivacy&& value) { SetDataPrivacy(std::move(value)); return *this;}
105
107
110 inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; }
111 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSeconds = value; }
114
116
122 inline const BotStatus& GetBotStatus() const{ return m_botStatus; }
123 inline void SetBotStatus(const BotStatus& value) { m_botStatus = value; }
124 inline void SetBotStatus(BotStatus&& value) { m_botStatus = std::move(value); }
125 inline CreateBotResult& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;}
126 inline CreateBotResult& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
134 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
135 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
137 inline CreateBotResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
139
141
144 inline const Aws::Map<Aws::String, Aws::String>& GetBotTags() const{ return m_botTags; }
145 inline void SetBotTags(const Aws::Map<Aws::String, Aws::String>& value) { m_botTags = value; }
146 inline void SetBotTags(Aws::Map<Aws::String, Aws::String>&& value) { m_botTags = std::move(value); }
147 inline CreateBotResult& WithBotTags(const Aws::Map<Aws::String, Aws::String>& value) { SetBotTags(value); return *this;}
148 inline CreateBotResult& WithBotTags(Aws::Map<Aws::String, Aws::String>&& value) { SetBotTags(std::move(value)); return *this;}
149 inline CreateBotResult& AddBotTags(const Aws::String& key, const Aws::String& value) { m_botTags.emplace(key, value); return *this; }
150 inline CreateBotResult& AddBotTags(Aws::String&& key, const Aws::String& value) { m_botTags.emplace(std::move(key), value); return *this; }
151 inline CreateBotResult& AddBotTags(const Aws::String& key, Aws::String&& value) { m_botTags.emplace(key, std::move(value)); return *this; }
152 inline CreateBotResult& AddBotTags(Aws::String&& key, Aws::String&& value) { m_botTags.emplace(std::move(key), std::move(value)); return *this; }
153 inline CreateBotResult& AddBotTags(const char* key, Aws::String&& value) { m_botTags.emplace(key, std::move(value)); return *this; }
154 inline CreateBotResult& AddBotTags(Aws::String&& key, const char* value) { m_botTags.emplace(std::move(key), value); return *this; }
155 inline CreateBotResult& AddBotTags(const char* key, const char* value) { m_botTags.emplace(key, value); return *this; }
157
159
162 inline const Aws::Map<Aws::String, Aws::String>& GetTestBotAliasTags() const{ return m_testBotAliasTags; }
163 inline void SetTestBotAliasTags(const Aws::Map<Aws::String, Aws::String>& value) { m_testBotAliasTags = value; }
164 inline void SetTestBotAliasTags(Aws::Map<Aws::String, Aws::String>&& value) { m_testBotAliasTags = std::move(value); }
167 inline CreateBotResult& AddTestBotAliasTags(const Aws::String& key, const Aws::String& value) { m_testBotAliasTags.emplace(key, value); return *this; }
168 inline CreateBotResult& AddTestBotAliasTags(Aws::String&& key, const Aws::String& value) { m_testBotAliasTags.emplace(std::move(key), value); return *this; }
169 inline CreateBotResult& AddTestBotAliasTags(const Aws::String& key, Aws::String&& value) { m_testBotAliasTags.emplace(key, std::move(value)); return *this; }
170 inline CreateBotResult& AddTestBotAliasTags(Aws::String&& key, Aws::String&& value) { m_testBotAliasTags.emplace(std::move(key), std::move(value)); return *this; }
171 inline CreateBotResult& AddTestBotAliasTags(const char* key, Aws::String&& value) { m_testBotAliasTags.emplace(key, std::move(value)); return *this; }
172 inline CreateBotResult& AddTestBotAliasTags(Aws::String&& key, const char* value) { m_testBotAliasTags.emplace(std::move(key), value); return *this; }
173 inline CreateBotResult& AddTestBotAliasTags(const char* key, const char* value) { m_testBotAliasTags.emplace(key, value); return *this; }
175
177
180 inline const BotType& GetBotType() const{ return m_botType; }
181 inline void SetBotType(const BotType& value) { m_botType = value; }
182 inline void SetBotType(BotType&& value) { m_botType = std::move(value); }
183 inline CreateBotResult& WithBotType(const BotType& value) { SetBotType(value); return *this;}
184 inline CreateBotResult& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;}
186
188
191 inline const Aws::Vector<BotMember>& GetBotMembers() const{ return m_botMembers; }
192 inline void SetBotMembers(const Aws::Vector<BotMember>& value) { m_botMembers = value; }
193 inline void SetBotMembers(Aws::Vector<BotMember>&& value) { m_botMembers = std::move(value); }
194 inline CreateBotResult& WithBotMembers(const Aws::Vector<BotMember>& value) { SetBotMembers(value); return *this;}
195 inline CreateBotResult& WithBotMembers(Aws::Vector<BotMember>&& value) { SetBotMembers(std::move(value)); return *this;}
196 inline CreateBotResult& AddBotMembers(const BotMember& value) { m_botMembers.push_back(value); return *this; }
197 inline CreateBotResult& AddBotMembers(BotMember&& value) { m_botMembers.push_back(std::move(value)); return *this; }
199
201
202 inline const Aws::String& GetRequestId() const{ return m_requestId; }
203 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
204 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
205 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
206 inline CreateBotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
207 inline CreateBotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
208 inline CreateBotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
210 private:
211
212 Aws::String m_botId;
213
214 Aws::String m_botName;
215
216 Aws::String m_description;
217
218 Aws::String m_roleArn;
219
220 DataPrivacy m_dataPrivacy;
221
222 int m_idleSessionTTLInSeconds;
223
224 BotStatus m_botStatus;
225
226 Aws::Utils::DateTime m_creationDateTime;
227
229
230 Aws::Map<Aws::String, Aws::String> m_testBotAliasTags;
231
232 BotType m_botType;
233
234 Aws::Vector<BotMember> m_botMembers;
235
236 Aws::String m_requestId;
237 };
238
239} // namespace Model
240} // namespace LexModelsV2
241} // namespace Aws
CreateBotResult & AddBotTags(Aws::String &&key, Aws::String &&value)
CreateBotResult & WithBotStatus(BotStatus &&value)
CreateBotResult & AddTestBotAliasTags(Aws::String &&key, const Aws::String &value)
CreateBotResult & WithRoleArn(Aws::String &&value)
CreateBotResult & WithRoleArn(const char *value)
CreateBotResult & WithBotMembers(const Aws::Vector< BotMember > &value)
CreateBotResult & WithBotTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateBotResult & WithDataPrivacy(DataPrivacy &&value)
CreateBotResult & WithBotId(const Aws::String &value)
CreateBotResult & AddBotMembers(BotMember &&value)
CreateBotResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateBotResult & WithBotName(const Aws::String &value)
void SetDataPrivacy(const DataPrivacy &value)
CreateBotResult & WithBotType(const BotType &value)
AWS_LEXMODELSV2_API CreateBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotId(const Aws::String &value)
CreateBotResult & AddTestBotAliasTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetBotId() const
CreateBotResult & WithRequestId(const Aws::String &value)
CreateBotResult & WithTestBotAliasTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateBotResult & AddTestBotAliasTags(const char *key, const char *value)
void SetBotMembers(Aws::Vector< BotMember > &&value)
CreateBotResult & WithRequestId(const char *value)
CreateBotResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
CreateBotResult & AddTestBotAliasTags(const char *key, Aws::String &&value)
CreateBotResult & AddTestBotAliasTags(Aws::String &&key, Aws::String &&value)
void SetBotMembers(const Aws::Vector< BotMember > &value)
void SetBotStatus(const BotStatus &value)
void SetTestBotAliasTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_LEXMODELSV2_API CreateBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBotResult & WithDescription(const char *value)
CreateBotResult & WithDescription(const Aws::String &value)
CreateBotResult & WithBotMembers(Aws::Vector< BotMember > &&value)
CreateBotResult & WithBotId(Aws::String &&value)
CreateBotResult & WithBotId(const char *value)
CreateBotResult & WithRequestId(Aws::String &&value)
CreateBotResult & AddBotTags(const Aws::String &key, const Aws::String &value)
CreateBotResult & WithBotStatus(const BotStatus &value)
CreateBotResult & AddBotTags(Aws::String &&key, const char *value)
const Aws::String & GetDescription() const
const DataPrivacy & GetDataPrivacy() const
CreateBotResult & AddBotTags(const char *key, Aws::String &&value)
CreateBotResult & WithBotType(BotType &&value)
CreateBotResult & AddTestBotAliasTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetRequestId() const
void SetBotName(const Aws::String &value)
const Aws::String & GetRoleArn() const
CreateBotResult & WithDataPrivacy(const DataPrivacy &value)
CreateBotResult & WithBotName(const char *value)
CreateBotResult & WithBotName(Aws::String &&value)
CreateBotResult & WithBotTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetBotTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Vector< BotMember > & GetBotMembers() const
const Aws::Map< Aws::String, Aws::String > & GetTestBotAliasTags() const
CreateBotResult & WithRoleArn(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
CreateBotResult & WithDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetBotTags() const
const Aws::String & GetBotName() const
CreateBotResult & WithTestBotAliasTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBotResult & AddBotTags(const char *key, const char *value)
CreateBotResult & AddBotTags(const Aws::String &key, Aws::String &&value)
void SetRoleArn(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateBotResult & AddBotMembers(const BotMember &value)
void SetTestBotAliasTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateBotResult & AddBotTags(Aws::String &&key, const Aws::String &value)
CreateBotResult & WithIdleSessionTTLInSeconds(int value)
void SetRequestId(const Aws::String &value)
CreateBotResult & AddTestBotAliasTags(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue