AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBotAliasRequest.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/lexv2-models/model/ConversationLogSettings.h>
12#include <aws/lexv2-models/model/SentimentAnalysisSettings.h>
13#include <aws/lexv2-models/model/BotAliasLocaleSettings.h>
14#include <utility>
15
16namespace Aws
17{
18namespace LexModelsV2
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LEXMODELSV2_API UpdateBotAliasRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateBotAlias"; }
35
36 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
44 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
45 inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
46 inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
47 inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
48 inline UpdateBotAliasRequest& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
49 inline UpdateBotAliasRequest& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
50 inline UpdateBotAliasRequest& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
52
54
57 inline const Aws::String& GetBotAliasName() const{ return m_botAliasName; }
58 inline bool BotAliasNameHasBeenSet() const { return m_botAliasNameHasBeenSet; }
59 inline void SetBotAliasName(const Aws::String& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = value; }
60 inline void SetBotAliasName(Aws::String&& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = std::move(value); }
61 inline void SetBotAliasName(const char* value) { m_botAliasNameHasBeenSet = true; m_botAliasName.assign(value); }
62 inline UpdateBotAliasRequest& WithBotAliasName(const Aws::String& value) { SetBotAliasName(value); return *this;}
63 inline UpdateBotAliasRequest& WithBotAliasName(Aws::String&& value) { SetBotAliasName(std::move(value)); return *this;}
64 inline UpdateBotAliasRequest& WithBotAliasName(const char* value) { SetBotAliasName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline UpdateBotAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline UpdateBotAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline UpdateBotAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
86 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
87 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
88 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
89 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
90 inline UpdateBotAliasRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
91 inline UpdateBotAliasRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
92 inline UpdateBotAliasRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
94
96
99 inline const Aws::Map<Aws::String, BotAliasLocaleSettings>& GetBotAliasLocaleSettings() const{ return m_botAliasLocaleSettings; }
100 inline bool BotAliasLocaleSettingsHasBeenSet() const { return m_botAliasLocaleSettingsHasBeenSet; }
101 inline void SetBotAliasLocaleSettings(const Aws::Map<Aws::String, BotAliasLocaleSettings>& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings = value; }
102 inline void SetBotAliasLocaleSettings(Aws::Map<Aws::String, BotAliasLocaleSettings>&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings = std::move(value); }
105 inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const Aws::String& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, value); return *this; }
106 inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(Aws::String&& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(std::move(key), value); return *this; }
107 inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const Aws::String& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
108 inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(Aws::String&& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(std::move(key), std::move(value)); return *this; }
109 inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const char* key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; }
110 inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const char* key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, value); return *this; }
112
114
118 inline const ConversationLogSettings& GetConversationLogSettings() const{ return m_conversationLogSettings; }
119 inline bool ConversationLogSettingsHasBeenSet() const { return m_conversationLogSettingsHasBeenSet; }
120 inline void SetConversationLogSettings(const ConversationLogSettings& value) { m_conversationLogSettingsHasBeenSet = true; m_conversationLogSettings = value; }
121 inline void SetConversationLogSettings(ConversationLogSettings&& value) { m_conversationLogSettingsHasBeenSet = true; m_conversationLogSettings = std::move(value); }
125
127
128 inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const{ return m_sentimentAnalysisSettings; }
129 inline bool SentimentAnalysisSettingsHasBeenSet() const { return m_sentimentAnalysisSettingsHasBeenSet; }
130 inline void SetSentimentAnalysisSettings(const SentimentAnalysisSettings& value) { m_sentimentAnalysisSettingsHasBeenSet = true; m_sentimentAnalysisSettings = value; }
131 inline void SetSentimentAnalysisSettings(SentimentAnalysisSettings&& value) { m_sentimentAnalysisSettingsHasBeenSet = true; m_sentimentAnalysisSettings = std::move(value); }
135
137
140 inline const Aws::String& GetBotId() const{ return m_botId; }
141 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
142 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
143 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
144 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
145 inline UpdateBotAliasRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
146 inline UpdateBotAliasRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
147 inline UpdateBotAliasRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
149 private:
150
151 Aws::String m_botAliasId;
152 bool m_botAliasIdHasBeenSet = false;
153
154 Aws::String m_botAliasName;
155 bool m_botAliasNameHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::String m_botVersion;
161 bool m_botVersionHasBeenSet = false;
162
163 Aws::Map<Aws::String, BotAliasLocaleSettings> m_botAliasLocaleSettings;
164 bool m_botAliasLocaleSettingsHasBeenSet = false;
165
166 ConversationLogSettings m_conversationLogSettings;
167 bool m_conversationLogSettingsHasBeenSet = false;
168
169 SentimentAnalysisSettings m_sentimentAnalysisSettings;
170 bool m_sentimentAnalysisSettingsHasBeenSet = false;
171
172 Aws::String m_botId;
173 bool m_botIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace LexModelsV2
178} // namespace Aws
UpdateBotAliasRequest & WithBotVersion(const char *value)
UpdateBotAliasRequest & WithBotAliasName(Aws::String &&value)
UpdateBotAliasRequest & AddBotAliasLocaleSettings(const Aws::String &key, const BotAliasLocaleSettings &value)
void SetSentimentAnalysisSettings(SentimentAnalysisSettings &&value)
UpdateBotAliasRequest & AddBotAliasLocaleSettings(Aws::String &&key, const BotAliasLocaleSettings &value)
const ConversationLogSettings & GetConversationLogSettings() const
UpdateBotAliasRequest & WithConversationLogSettings(const ConversationLogSettings &value)
void SetSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
UpdateBotAliasRequest & AddBotAliasLocaleSettings(const Aws::String &key, BotAliasLocaleSettings &&value)
const SentimentAnalysisSettings & GetSentimentAnalysisSettings() const
UpdateBotAliasRequest & WithSentimentAnalysisSettings(const SentimentAnalysisSettings &value)
UpdateBotAliasRequest & WithBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
UpdateBotAliasRequest & WithBotId(const char *value)
const Aws::Map< Aws::String, BotAliasLocaleSettings > & GetBotAliasLocaleSettings() const
UpdateBotAliasRequest & WithBotAliasId(const Aws::String &value)
UpdateBotAliasRequest & WithConversationLogSettings(ConversationLogSettings &&value)
UpdateBotAliasRequest & WithDescription(const Aws::String &value)
void SetBotAliasLocaleSettings(const Aws::Map< Aws::String, BotAliasLocaleSettings > &value)
UpdateBotAliasRequest & WithBotVersion(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
UpdateBotAliasRequest & WithBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
UpdateBotAliasRequest & WithBotId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateBotAliasRequest & WithBotAliasId(Aws::String &&value)
UpdateBotAliasRequest & WithDescription(Aws::String &&value)
UpdateBotAliasRequest & WithBotAliasName(const char *value)
void SetConversationLogSettings(ConversationLogSettings &&value)
UpdateBotAliasRequest & AddBotAliasLocaleSettings(Aws::String &&key, BotAliasLocaleSettings &&value)
UpdateBotAliasRequest & WithDescription(const char *value)
UpdateBotAliasRequest & WithBotVersion(const Aws::String &value)
UpdateBotAliasRequest & WithBotId(Aws::String &&value)
void SetConversationLogSettings(const ConversationLogSettings &value)
UpdateBotAliasRequest & WithBotAliasId(const char *value)
void SetBotAliasLocaleSettings(Aws::Map< Aws::String, BotAliasLocaleSettings > &&value)
UpdateBotAliasRequest & AddBotAliasLocaleSettings(const char *key, BotAliasLocaleSettings &&value)
UpdateBotAliasRequest & AddBotAliasLocaleSettings(const char *key, const BotAliasLocaleSettings &value)
UpdateBotAliasRequest & WithBotAliasName(const Aws::String &value)
UpdateBotAliasRequest & WithSentimentAnalysisSettings(SentimentAnalysisSettings &&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