AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
46 template<typename BotAliasIdT = Aws::String>
47 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::forward<BotAliasIdT>(value); }
48 template<typename BotAliasIdT = Aws::String>
49 CreateBotAliasResult& WithBotAliasId(BotAliasIdT&& value) { SetBotAliasId(std::forward<BotAliasIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetBotAliasName() const { return m_botAliasName; }
57 template<typename BotAliasNameT = Aws::String>
58 void SetBotAliasName(BotAliasNameT&& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = std::forward<BotAliasNameT>(value); }
59 template<typename BotAliasNameT = Aws::String>
60 CreateBotAliasResult& WithBotAliasName(BotAliasNameT&& value) { SetBotAliasName(std::forward<BotAliasNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 CreateBotAliasResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
79 template<typename BotVersionT = Aws::String>
80 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
81 template<typename BotVersionT = Aws::String>
82 CreateBotAliasResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
84
86
89 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const { return m_botAliasLocaleSettings; }
90 template<typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
91 void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings = std::forward<BotAliasLocaleSettingsT>(value); }
92 template<typename BotAliasLocaleSettingsT = Aws::Map<Aws::String, BotAliasLocaleSettings>>
93 CreateBotAliasResult& WithBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) { SetBotAliasLocaleSettings(std::forward<BotAliasLocaleSettingsT>(value)); return *this;}
94 template<typename BotAliasLocaleSettingsKeyT = Aws::String, typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
95 CreateBotAliasResult& AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT&& key, BotAliasLocaleSettingsValueT&& value) {
96 m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(std::forward<BotAliasLocaleSettingsKeyT>(key), std::forward<BotAliasLocaleSettingsValueT>(value)); return *this;
97 }
99
101
104 inline const ConversationLogSettings& GetConversationLogSettings() const { return m_conversationLogSettings; }
105 template<typename ConversationLogSettingsT = ConversationLogSettings>
106 void SetConversationLogSettings(ConversationLogSettingsT&& value) { m_conversationLogSettingsHasBeenSet = true; m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value); }
107 template<typename ConversationLogSettingsT = ConversationLogSettings>
108 CreateBotAliasResult& WithConversationLogSettings(ConversationLogSettingsT&& value) { SetConversationLogSettings(std::forward<ConversationLogSettingsT>(value)); return *this;}
110
112
113 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const { return m_sentimentAnalysisSettings; }
114 template<typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
115 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { m_sentimentAnalysisSettingsHasBeenSet = true; m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value); }
116 template<typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
117 CreateBotAliasResult& WithSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { SetSentimentAnalysisSettings(std::forward<SentimentAnalysisSettingsT>(value)); return *this;}
119
121
127 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
128 inline void SetBotAliasStatus(BotAliasStatus value) { m_botAliasStatusHasBeenSet = true; m_botAliasStatus = value; }
131
133
136 inline const Aws::String& GetBotId() const { return m_botId; }
137 template<typename BotIdT = Aws::String>
138 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
139 template<typename BotIdT = Aws::String>
140 CreateBotAliasResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
142
144
148 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
149 template<typename CreationDateTimeT = Aws::Utils::DateTime>
150 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
151 template<typename CreationDateTimeT = Aws::Utils::DateTime>
152 CreateBotAliasResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
154
156
159 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
160 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
162 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 CreateBotAliasResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
164 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
165 CreateBotAliasResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
166 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
167 }
169
171
172 inline const Aws::String& GetRequestId() const { return m_requestId; }
173 template<typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
175 template<typename RequestIdT = Aws::String>
176 CreateBotAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
178 private:
179
180 Aws::String m_botAliasId;
181 bool m_botAliasIdHasBeenSet = false;
182
183 Aws::String m_botAliasName;
184 bool m_botAliasNameHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_botVersion;
190 bool m_botVersionHasBeenSet = false;
191
192 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
193 bool m_botAliasLocaleSettingsHasBeenSet = false;
194
195 ConversationLogSettings m_conversationLogSettings;
196 bool m_conversationLogSettingsHasBeenSet = false;
197
198 SentimentAnalysisSettings m_sentimentAnalysisSettings;
199 bool m_sentimentAnalysisSettingsHasBeenSet = false;
200
201 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
202 bool m_botAliasStatusHasBeenSet = false;
203
204 Aws::String m_botId;
205 bool m_botIdHasBeenSet = false;
206
207 Aws::Utils::DateTime m_creationDateTime{};
208 bool m_creationDateTimeHasBeenSet = false;
209
211 bool m_tagsHasBeenSet = false;
212
213 Aws::String m_requestId;
214 bool m_requestIdHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace LexModelsV2
219} // namespace Aws
CreateBotAliasResult & AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT &&key, BotAliasLocaleSettingsValueT &&value)
CreateBotAliasResult & WithCreationDateTime(CreationDateTimeT &&value)
CreateBotAliasResult & WithBotAliasStatus(BotAliasStatus value)
CreateBotAliasResult & WithDescription(DescriptionT &&value)
const ConversationLogSettings & GetConversationLogSettings() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_LEXMODELSV2_API CreateBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
CreateBotAliasResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetConversationLogSettings(ConversationLogSettingsT &&value)
CreateBotAliasResult & WithBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateBotAliasResult & WithBotId(BotIdT &&value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
CreateBotAliasResult & WithTags(TagsT &&value)
CreateBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
CreateBotAliasResult & WithBotAliasId(BotAliasIdT &&value)
void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
CreateBotAliasResult & WithConversationLogSettings(ConversationLogSettingsT &&value)
CreateBotAliasResult & WithBotAliasName(BotAliasNameT &&value)
CreateBotAliasResult & WithRequestId(RequestIdT &&value)
CreateBotAliasResult & WithBotVersion(BotVersionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
AWS_LEXMODELSV2_API CreateBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELSV2_API CreateBotAliasResult()=default
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