AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBotAliasResult.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/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-models/model/ConversationLogSettings.h>
11#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
12#include <aws/lexv2-models/model/BotAliasStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/lexv2-models/model/BotAliasLocaleSettings.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 CreateBotAliasResult();
39
40
42
45 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
46 inline void SetBotAliasId(const Aws::String& value) { m_botAliasId = value; }
47 inline void SetBotAliasId(Aws::String&& value) { m_botAliasId = std::move(value); }
48 inline void SetBotAliasId(const char* value) { m_botAliasId.assign(value); }
49 inline CreateBotAliasResult& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
50 inline CreateBotAliasResult& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
51 inline CreateBotAliasResult& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
53
55
58 inline const Aws::String& GetBotAliasName() const{ return m_botAliasName; }
59 inline void SetBotAliasName(const Aws::String& value) { m_botAliasName = value; }
60 inline void SetBotAliasName(Aws::String&& value) { m_botAliasName = std::move(value); }
61 inline void SetBotAliasName(const char* value) { m_botAliasName.assign(value); }
62 inline CreateBotAliasResult& WithBotAliasName(const Aws::String& value) { SetBotAliasName(value); return *this;}
63 inline CreateBotAliasResult& WithBotAliasName(Aws::String&& value) { SetBotAliasName(std::move(value)); return *this;}
64 inline CreateBotAliasResult& WithBotAliasName(const char* value) { SetBotAliasName(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 CreateBotAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateBotAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateBotAliasResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
85 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
86 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
87 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
88 inline CreateBotAliasResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
89 inline CreateBotAliasResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
90 inline CreateBotAliasResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
92
94
97 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const{ return m_botAliasLocaleSettings; }
98 inline void SetBotAliasLocaleSettings(const Aws::Map<Aws::String, BotAliasLocaleSettings>& value) { m_botAliasLocaleSettings = value; }
99 inline void SetBotAliasLocaleSettings(Aws::Map<Aws::String, BotAliasLocaleSettings>&& value) { m_botAliasLocaleSettings = std::move(value); }
102 inline CreateBotAliasResult& AddBotAliasLocaleSettings(const Aws::String& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(key, value); return *this; }
103 inline CreateBotAliasResult& AddBotAliasLocaleSettings(Aws::String&& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(std::move(key), value); return *this; }
104 inline CreateBotAliasResult& AddBotAliasLocaleSettings(const Aws::String& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
105 inline CreateBotAliasResult& AddBotAliasLocaleSettings(Aws::String&& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(std::move(key), std::move(value)); return *this; }
106 inline CreateBotAliasResult& AddBotAliasLocaleSettings(const char* key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
107 inline CreateBotAliasResult& AddBotAliasLocaleSettings(const char* key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(key, value); return *this; }
109
111
114 inline const ConversationLogSettings& GetConversationLogSettings() const{ return m_conversationLogSettings; }
115 inline void SetConversationLogSettings(const ConversationLogSettings& value) { m_conversationLogSettings = value; }
116 inline void SetConversationLogSettings(ConversationLogSettings&& value) { m_conversationLogSettings = std::move(value); }
120
122
123 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const{ return m_sentimentAnalysisSettings; }
124 inline void SetSentimentAnalysisSettings(const SentimentAnalysisSettings& value) { m_sentimentAnalysisSettings = value; }
125 inline void SetSentimentAnalysisSettings(SentimentAnalysisSettings&& value) { m_sentimentAnalysisSettings = std::move(value); }
129
131
137 inline const BotAliasStatus& GetBotAliasStatus() const{ return m_botAliasStatus; }
138 inline void SetBotAliasStatus(const BotAliasStatus& value) { m_botAliasStatus = value; }
139 inline void SetBotAliasStatus(BotAliasStatus&& value) { m_botAliasStatus = std::move(value); }
140 inline CreateBotAliasResult& WithBotAliasStatus(const BotAliasStatus& value) { SetBotAliasStatus(value); return *this;}
141 inline CreateBotAliasResult& WithBotAliasStatus(BotAliasStatus&& value) { SetBotAliasStatus(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetBotId() const{ return m_botId; }
149 inline void SetBotId(const Aws::String& value) { m_botId = value; }
150 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
151 inline void SetBotId(const char* value) { m_botId.assign(value); }
152 inline CreateBotAliasResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
153 inline CreateBotAliasResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
154 inline CreateBotAliasResult& WithBotId(const char* value) { SetBotId(value); return *this;}
156
158
162 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
163 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
164 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
166 inline CreateBotAliasResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
168
170
173 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
174 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
175 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
176 inline CreateBotAliasResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
177 inline CreateBotAliasResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
178 inline CreateBotAliasResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
179 inline CreateBotAliasResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
180 inline CreateBotAliasResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
181 inline CreateBotAliasResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
182 inline CreateBotAliasResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
183 inline CreateBotAliasResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
184 inline CreateBotAliasResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
186
188
189 inline const Aws::String& GetRequestId() const{ return m_requestId; }
190 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
191 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
192 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
193 inline CreateBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
194 inline CreateBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
195 inline CreateBotAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
197 private:
198
199 Aws::String m_botAliasId;
200
201 Aws::String m_botAliasName;
202
203 Aws::String m_description;
204
205 Aws::String m_botVersion;
206
207 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
208
209 ConversationLogSettings m_conversationLogSettings;
210
211 SentimentAnalysisSettings m_sentimentAnalysisSettings;
212
213 BotAliasStatus m_botAliasStatus;
214
215 Aws::String m_botId;
216
217 Aws::Utils::DateTime m_creationDateTime;
218
220
221 Aws::String m_requestId;
222 };
223
224} // namespace Model
225} // namespace LexModelsV2
226} // namespace Aws
CreateBotAliasResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateBotAliasResult & AddBotAliasLocaleSettings(const Aws::String &key, BotAliasLocaleSettings &&value)
CreateBotAliasResult & WithBotAliasId(const char *value)
CreateBotAliasResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBotAliasResult & AddBotAliasLocaleSettings(const char *key, const BotAliasLocaleSettings &value)
CreateBotAliasResult & WithBotVersion(const char *value)
CreateBotAliasResult & WithBotVersion(Aws::String &&value)
CreateBotAliasResult & WithBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBotAliasResult & WithConversationLogSettings(const ConversationLogSettings &value)
CreateBotAliasResult & WithBotAliasId(Aws::String &&value)
const ConversationLogSettings & GetConversationLogSettings() const
CreateBotAliasResult & WithBotId(const Aws::String &value)
CreateBotAliasResult & AddBotAliasLocaleSettings(const Aws::String &key, const BotAliasLocaleSettings &value)
CreateBotAliasResult & WithBotAliasId(const Aws::String &value)
CreateBotAliasResult & WithBotId(Aws::String &&value)
CreateBotAliasResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettings &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateBotAliasResult & WithBotAliasStatus(BotAliasStatus &&value)
void SetSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
CreateBotAliasResult & AddBotAliasLocaleSettings(Aws::String &&key, const BotAliasLocaleSettings &value)
AWS_LEXMODELSV2_API CreateBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotAliasResult & WithBotVersion(const Aws::String &value)
CreateBotAliasResult & WithRequestId(const Aws::String &value)
CreateBotAliasResult & WithDescription(const Aws::String &value)
CreateBotAliasResult & WithBotAliasName(Aws::String &&value)
CreateBotAliasResult & AddTags(const char *key, Aws::String &&value)
CreateBotAliasResult & WithRequestId(Aws::String &&value)
void SetBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
CreateBotAliasResult & WithBotAliasStatus(const BotAliasStatus &value)
CreateBotAliasResult & AddBotAliasLocaleSettings(const char *key, BotAliasLocaleSettings &&value)
CreateBotAliasResult & AddTags(Aws::String &&key, const char *value)
CreateBotAliasResult & AddTags(const char *key, const char *value)
CreateBotAliasResult & WithSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
CreateBotAliasResult & WithDescription(Aws::String &&value)
void SetConversationLogSettings(ConversationLogSettings &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettings &&value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
CreateBotAliasResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateBotAliasResult & WithRequestId(const char *value)
CreateBotAliasResult & AddBotAliasLocaleSettings(Aws::String &&key, BotAliasLocaleSettings &&value)
CreateBotAliasResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetConversationLogSettings(const ConversationLogSettings &value)
CreateBotAliasResult & WithBotAliasName(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
CreateBotAliasResult & WithBotId(const char *value)
CreateBotAliasResult & WithDescription(const char *value)
CreateBotAliasResult & WithConversationLogSettings(ConversationLogSettings &&value)
CreateBotAliasResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetBotAliasStatus(const BotAliasStatus &value)
CreateBotAliasResult & WithBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
CreateBotAliasResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateBotAliasResult & AddTags(const Aws::String &key, const Aws::String &value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
AWS_LEXMODELSV2_API CreateBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotAliasResult & WithBotAliasName(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
Aws::Utils::Json::JsonValue JsonValue