AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBotAliasResult.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 UpdateBotAliasResult();
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 UpdateBotAliasResult& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
50 inline UpdateBotAliasResult& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
51 inline UpdateBotAliasResult& 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 UpdateBotAliasResult& WithBotAliasName(const Aws::String& value) { SetBotAliasName(value); return *this;}
63 inline UpdateBotAliasResult& WithBotAliasName(Aws::String&& value) { SetBotAliasName(std::move(value)); return *this;}
64 inline UpdateBotAliasResult& 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 UpdateBotAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateBotAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateBotAliasResult& 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 UpdateBotAliasResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
89 inline UpdateBotAliasResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
90 inline UpdateBotAliasResult& 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 UpdateBotAliasResult& AddBotAliasLocaleSettings(const Aws::String& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(key, value); return *this; }
103 inline UpdateBotAliasResult& AddBotAliasLocaleSettings(Aws::String&& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(std::move(key), value); return *this; }
104 inline UpdateBotAliasResult& AddBotAliasLocaleSettings(const Aws::String& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
105 inline UpdateBotAliasResult& AddBotAliasLocaleSettings(Aws::String&& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(std::move(key), std::move(value)); return *this; }
106 inline UpdateBotAliasResult& AddBotAliasLocaleSettings(const char* key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
107 inline UpdateBotAliasResult& AddBotAliasLocaleSettings(const char* key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettings.emplace(key, value); return *this; }
109
111
115 inline const ConversationLogSettings& GetConversationLogSettings() const{ return m_conversationLogSettings; }
116 inline void SetConversationLogSettings(const ConversationLogSettings& value) { m_conversationLogSettings = value; }
117 inline void SetConversationLogSettings(ConversationLogSettings&& value) { m_conversationLogSettings = std::move(value); }
121
123
124 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const{ return m_sentimentAnalysisSettings; }
125 inline void SetSentimentAnalysisSettings(const SentimentAnalysisSettings& value) { m_sentimentAnalysisSettings = value; }
126 inline void SetSentimentAnalysisSettings(SentimentAnalysisSettings&& value) { m_sentimentAnalysisSettings = std::move(value); }
130
132
136 inline const BotAliasStatus& GetBotAliasStatus() const{ return m_botAliasStatus; }
137 inline void SetBotAliasStatus(const BotAliasStatus& value) { m_botAliasStatus = value; }
138 inline void SetBotAliasStatus(BotAliasStatus&& value) { m_botAliasStatus = std::move(value); }
139 inline UpdateBotAliasResult& WithBotAliasStatus(const BotAliasStatus& value) { SetBotAliasStatus(value); return *this;}
140 inline UpdateBotAliasResult& WithBotAliasStatus(BotAliasStatus&& value) { SetBotAliasStatus(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetBotId() const{ return m_botId; }
148 inline void SetBotId(const Aws::String& value) { m_botId = value; }
149 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
150 inline void SetBotId(const char* value) { m_botId.assign(value); }
151 inline UpdateBotAliasResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
152 inline UpdateBotAliasResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
153 inline UpdateBotAliasResult& WithBotId(const char* value) { SetBotId(value); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
161 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
162 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
164 inline UpdateBotAliasResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
172 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
173 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
177
179
180 inline const Aws::String& GetRequestId() const{ return m_requestId; }
181 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
182 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
183 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
184 inline UpdateBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline UpdateBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline UpdateBotAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
188 private:
189
190 Aws::String m_botAliasId;
191
192 Aws::String m_botAliasName;
193
194 Aws::String m_description;
195
196 Aws::String m_botVersion;
197
198 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
199
200 ConversationLogSettings m_conversationLogSettings;
201
202 SentimentAnalysisSettings m_sentimentAnalysisSettings;
203
204 BotAliasStatus m_botAliasStatus;
205
206 Aws::String m_botId;
207
208 Aws::Utils::DateTime m_creationDateTime;
209
210 Aws::Utils::DateTime m_lastUpdatedDateTime;
211
212 Aws::String m_requestId;
213 };
214
215} // namespace Model
216} // namespace LexModelsV2
217} // namespace Aws
void SetConversationLogSettings(ConversationLogSettings &&value)
UpdateBotAliasResult & WithBotId(const Aws::String &value)
UpdateBotAliasResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
UpdateBotAliasResult & WithBotAliasId(Aws::String &&value)
UpdateBotAliasResult & WithDescription(const Aws::String &value)
UpdateBotAliasResult & WithBotAliasId(const char *value)
UpdateBotAliasResult & AddBotAliasLocaleSettings(const char *key, const BotAliasLocaleSettings &value)
AWS_LEXMODELSV2_API UpdateBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotAliasResult & WithBotAliasStatus(BotAliasStatus &&value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
UpdateBotAliasResult & WithRequestId(Aws::String &&value)
UpdateBotAliasResult & WithBotAliasStatus(const BotAliasStatus &value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettings &&value)
void SetBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
UpdateBotAliasResult & WithBotAliasName(const char *value)
void SetBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
UpdateBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettings &&value)
UpdateBotAliasResult & WithBotId(const char *value)
UpdateBotAliasResult & WithBotAliasName(const Aws::String &value)
UpdateBotAliasResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
UpdateBotAliasResult & AddBotAliasLocaleSettings(const Aws::String &key, const BotAliasLocaleSettings &value)
UpdateBotAliasResult & WithDescription(Aws::String &&value)
UpdateBotAliasResult & WithBotId(Aws::String &&value)
UpdateBotAliasResult & WithBotVersion(const Aws::String &value)
void SetBotAliasStatus(const BotAliasStatus &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
UpdateBotAliasResult & WithBotVersion(Aws::String &&value)
UpdateBotAliasResult & WithConversationLogSettings(ConversationLogSettings &&value)
UpdateBotAliasResult & WithSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
UpdateBotAliasResult & WithRequestId(const char *value)
UpdateBotAliasResult & WithBotVersion(const char *value)
UpdateBotAliasResult & WithBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
UpdateBotAliasResult & WithRequestId(const Aws::String &value)
UpdateBotAliasResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const ConversationLogSettings & GetConversationLogSettings() const
UpdateBotAliasResult & WithBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
UpdateBotAliasResult & AddBotAliasLocaleSettings(Aws::String &&key, BotAliasLocaleSettings &&value)
UpdateBotAliasResult & WithDescription(const char *value)
UpdateBotAliasResult & AddBotAliasLocaleSettings(const Aws::String &key, BotAliasLocaleSettings &&value)
UpdateBotAliasResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
UpdateBotAliasResult & WithBotAliasName(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
UpdateBotAliasResult & AddBotAliasLocaleSettings(Aws::String &&key, const BotAliasLocaleSettings &value)
AWS_LEXMODELSV2_API UpdateBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotAliasResult & WithBotAliasId(const Aws::String &value)
void SetConversationLogSettings(const ConversationLogSettings &value)
UpdateBotAliasResult & WithConversationLogSettings(const ConversationLogSettings &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
UpdateBotAliasResult & AddBotAliasLocaleSettings(const char *key, BotAliasLocaleSettings &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &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