AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 UpdateBotAliasResult& 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 UpdateBotAliasResult& 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 UpdateBotAliasResult& 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 UpdateBotAliasResult& 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 UpdateBotAliasResult& WithBotAliasLocaleSettings(BotAliasLocaleSettingsT&& value) { SetBotAliasLocaleSettings(std::forward<BotAliasLocaleSettingsT>(value)); return *this;}
94 template<typename BotAliasLocaleSettingsKeyT = Aws::String, typename BotAliasLocaleSettingsValueT = BotAliasLocaleSettings>
95 UpdateBotAliasResult& 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
105 inline const ConversationLogSettings& GetConversationLogSettings() const { return m_conversationLogSettings; }
106 template<typename ConversationLogSettingsT = ConversationLogSettings>
107 void SetConversationLogSettings(ConversationLogSettingsT&& value) { m_conversationLogSettingsHasBeenSet = true; m_conversationLogSettings = std::forward<ConversationLogSettingsT>(value); }
108 template<typename ConversationLogSettingsT = ConversationLogSettings>
109 UpdateBotAliasResult& WithConversationLogSettings(ConversationLogSettingsT&& value) { SetConversationLogSettings(std::forward<ConversationLogSettingsT>(value)); return *this;}
111
113
114 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const { return m_sentimentAnalysisSettings; }
115 template<typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
116 void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { m_sentimentAnalysisSettingsHasBeenSet = true; m_sentimentAnalysisSettings = std::forward<SentimentAnalysisSettingsT>(value); }
117 template<typename SentimentAnalysisSettingsT = SentimentAnalysisSettings>
118 UpdateBotAliasResult& WithSentimentAnalysisSettings(SentimentAnalysisSettingsT&& value) { SetSentimentAnalysisSettings(std::forward<SentimentAnalysisSettingsT>(value)); return *this;}
120
122
126 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
127 inline void SetBotAliasStatus(BotAliasStatus value) { m_botAliasStatusHasBeenSet = true; m_botAliasStatus = value; }
130
132
135 inline const Aws::String& GetBotId() const { return m_botId; }
136 template<typename BotIdT = Aws::String>
137 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
138 template<typename BotIdT = Aws::String>
139 UpdateBotAliasResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
147 template<typename CreationDateTimeT = Aws::Utils::DateTime>
148 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
149 template<typename CreationDateTimeT = Aws::Utils::DateTime>
150 UpdateBotAliasResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
158 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
159 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
160 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
161 UpdateBotAliasResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
163
165
166 inline const Aws::String& GetRequestId() const { return m_requestId; }
167 template<typename RequestIdT = Aws::String>
168 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
169 template<typename RequestIdT = Aws::String>
170 UpdateBotAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
172 private:
173
174 Aws::String m_botAliasId;
175 bool m_botAliasIdHasBeenSet = false;
176
177 Aws::String m_botAliasName;
178 bool m_botAliasNameHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::String m_botVersion;
184 bool m_botVersionHasBeenSet = false;
185
186 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
187 bool m_botAliasLocaleSettingsHasBeenSet = false;
188
189 ConversationLogSettings m_conversationLogSettings;
190 bool m_conversationLogSettingsHasBeenSet = false;
191
192 SentimentAnalysisSettings m_sentimentAnalysisSettings;
193 bool m_sentimentAnalysisSettingsHasBeenSet = false;
194
195 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
196 bool m_botAliasStatusHasBeenSet = false;
197
198 Aws::String m_botId;
199 bool m_botIdHasBeenSet = false;
200
201 Aws::Utils::DateTime m_creationDateTime{};
202 bool m_creationDateTimeHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastUpdatedDateTime{};
205 bool m_lastUpdatedDateTimeHasBeenSet = false;
206
207 Aws::String m_requestId;
208 bool m_requestIdHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace LexModelsV2
213} // namespace Aws
UpdateBotAliasResult & WithSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
UpdateBotAliasResult & WithBotAliasId(BotAliasIdT &&value)
UpdateBotAliasResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
AWS_LEXMODELSV2_API UpdateBotAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
void SetConversationLogSettings(ConversationLogSettingsT &&value)
UpdateBotAliasResult & WithBotAliasName(BotAliasNameT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
UpdateBotAliasResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API UpdateBotAliasResult()=default
UpdateBotAliasResult & AddBotAliasLocaleSettings(BotAliasLocaleSettingsKeyT &&key, BotAliasLocaleSettingsValueT &&value)
UpdateBotAliasResult & WithBotId(BotIdT &&value)
UpdateBotAliasResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
UpdateBotAliasResult & WithBotVersion(BotVersionT &&value)
UpdateBotAliasResult & WithBotAliasStatus(BotAliasStatus value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettingsT &&value)
const ConversationLogSettings & GetConversationLogSettings() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateBotAliasResult & WithBotAliasLocaleSettings(BotAliasLocaleSettingsT &&value)
UpdateBotAliasResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API UpdateBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotAliasResult & WithConversationLogSettings(ConversationLogSettingsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
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