AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBotLocaleRequest.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/lexv2-models/model/VoiceSettings.h>
11#include <aws/lexv2-models/model/GenerativeAISettings.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LexModelsV2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LEXMODELSV2_API UpdateBotLocaleRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateBotLocale"; }
33
34 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetBotId() const{ return m_botId; }
42 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
43 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
44 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
45 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
46 inline UpdateBotLocaleRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline UpdateBotLocaleRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline UpdateBotLocaleRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
50
52
56 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
57 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
58 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
59 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
60 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
61 inline UpdateBotLocaleRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
62 inline UpdateBotLocaleRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
63 inline UpdateBotLocaleRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
65
67
73 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
74 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
75 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
76 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
77 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
78 inline UpdateBotLocaleRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
79 inline UpdateBotLocaleRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
80 inline UpdateBotLocaleRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline UpdateBotLocaleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline UpdateBotLocaleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline UpdateBotLocaleRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
103 inline double GetNluIntentConfidenceThreshold() const{ return m_nluIntentConfidenceThreshold; }
104 inline bool NluIntentConfidenceThresholdHasBeenSet() const { return m_nluIntentConfidenceThresholdHasBeenSet; }
105 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
108
110
114 inline const VoiceSettings& GetVoiceSettings() const{ return m_voiceSettings; }
115 inline bool VoiceSettingsHasBeenSet() const { return m_voiceSettingsHasBeenSet; }
116 inline void SetVoiceSettings(const VoiceSettings& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = value; }
117 inline void SetVoiceSettings(VoiceSettings&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::move(value); }
118 inline UpdateBotLocaleRequest& WithVoiceSettings(const VoiceSettings& value) { SetVoiceSettings(value); return *this;}
119 inline UpdateBotLocaleRequest& WithVoiceSettings(VoiceSettings&& value) { SetVoiceSettings(std::move(value)); return *this;}
121
123
128 inline const GenerativeAISettings& GetGenerativeAISettings() const{ return m_generativeAISettings; }
129 inline bool GenerativeAISettingsHasBeenSet() const { return m_generativeAISettingsHasBeenSet; }
130 inline void SetGenerativeAISettings(const GenerativeAISettings& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = value; }
131 inline void SetGenerativeAISettings(GenerativeAISettings&& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = std::move(value); }
135 private:
136
137 Aws::String m_botId;
138 bool m_botIdHasBeenSet = false;
139
140 Aws::String m_botVersion;
141 bool m_botVersionHasBeenSet = false;
142
143 Aws::String m_localeId;
144 bool m_localeIdHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 double m_nluIntentConfidenceThreshold;
150 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
151
152 VoiceSettings m_voiceSettings;
153 bool m_voiceSettingsHasBeenSet = false;
154
155 GenerativeAISettings m_generativeAISettings;
156 bool m_generativeAISettingsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace LexModelsV2
161} // namespace Aws
UpdateBotLocaleRequest & WithLocaleId(const char *value)
UpdateBotLocaleRequest & WithDescription(Aws::String &&value)
UpdateBotLocaleRequest & WithDescription(const Aws::String &value)
const GenerativeAISettings & GetGenerativeAISettings() const
UpdateBotLocaleRequest & WithVoiceSettings(VoiceSettings &&value)
UpdateBotLocaleRequest & WithVoiceSettings(const VoiceSettings &value)
void SetGenerativeAISettings(const GenerativeAISettings &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateBotLocaleRequest & WithBotVersion(Aws::String &&value)
UpdateBotLocaleRequest & WithBotVersion(const char *value)
UpdateBotLocaleRequest & WithBotVersion(const Aws::String &value)
UpdateBotLocaleRequest & WithBotId(Aws::String &&value)
UpdateBotLocaleRequest & WithBotId(const char *value)
UpdateBotLocaleRequest & WithNluIntentConfidenceThreshold(double value)
UpdateBotLocaleRequest & WithLocaleId(Aws::String &&value)
UpdateBotLocaleRequest & WithBotId(const Aws::String &value)
UpdateBotLocaleRequest & WithLocaleId(const Aws::String &value)
void SetGenerativeAISettings(GenerativeAISettings &&value)
UpdateBotLocaleRequest & WithGenerativeAISettings(const GenerativeAISettings &value)
UpdateBotLocaleRequest & WithGenerativeAISettings(GenerativeAISettings &&value)
UpdateBotLocaleRequest & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String