AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBotLocaleRequest.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 CreateBotLocaleRequest();
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 "CreateBotLocale"; }
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 CreateBotLocaleRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline CreateBotLocaleRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline CreateBotLocaleRequest& 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 CreateBotLocaleRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
62 inline CreateBotLocaleRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
63 inline CreateBotLocaleRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
65
67
75 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
76 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
77 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
78 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
79 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
80 inline CreateBotLocaleRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
81 inline CreateBotLocaleRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
82 inline CreateBotLocaleRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
84
86
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
95 inline CreateBotLocaleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline CreateBotLocaleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline CreateBotLocaleRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
99
101
113 inline double GetNluIntentConfidenceThreshold() const{ return m_nluIntentConfidenceThreshold; }
114 inline bool NluIntentConfidenceThresholdHasBeenSet() const { return m_nluIntentConfidenceThresholdHasBeenSet; }
115 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
118
120
124 inline const VoiceSettings& GetVoiceSettings() const{ return m_voiceSettings; }
125 inline bool VoiceSettingsHasBeenSet() const { return m_voiceSettingsHasBeenSet; }
126 inline void SetVoiceSettings(const VoiceSettings& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = value; }
127 inline void SetVoiceSettings(VoiceSettings&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::move(value); }
128 inline CreateBotLocaleRequest& WithVoiceSettings(const VoiceSettings& value) { SetVoiceSettings(value); return *this;}
129 inline CreateBotLocaleRequest& WithVoiceSettings(VoiceSettings&& value) { SetVoiceSettings(std::move(value)); return *this;}
131
133
134 inline const GenerativeAISettings& GetGenerativeAISettings() const{ return m_generativeAISettings; }
135 inline bool GenerativeAISettingsHasBeenSet() const { return m_generativeAISettingsHasBeenSet; }
136 inline void SetGenerativeAISettings(const GenerativeAISettings& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = value; }
137 inline void SetGenerativeAISettings(GenerativeAISettings&& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = std::move(value); }
141 private:
142
143 Aws::String m_botId;
144 bool m_botIdHasBeenSet = false;
145
146 Aws::String m_botVersion;
147 bool m_botVersionHasBeenSet = false;
148
149 Aws::String m_localeId;
150 bool m_localeIdHasBeenSet = false;
151
152 Aws::String m_description;
153 bool m_descriptionHasBeenSet = false;
154
155 double m_nluIntentConfidenceThreshold;
156 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
157
158 VoiceSettings m_voiceSettings;
159 bool m_voiceSettingsHasBeenSet = false;
160
161 GenerativeAISettings m_generativeAISettings;
162 bool m_generativeAISettingsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace LexModelsV2
167} // namespace Aws
CreateBotLocaleRequest & WithDescription(Aws::String &&value)
CreateBotLocaleRequest & WithDescription(const Aws::String &value)
CreateBotLocaleRequest & WithNluIntentConfidenceThreshold(double value)
void SetGenerativeAISettings(GenerativeAISettings &&value)
CreateBotLocaleRequest & WithBotVersion(Aws::String &&value)
CreateBotLocaleRequest & WithBotId(Aws::String &&value)
CreateBotLocaleRequest & WithBotId(const char *value)
CreateBotLocaleRequest & WithVoiceSettings(const VoiceSettings &value)
virtual const char * GetServiceRequestName() const override
CreateBotLocaleRequest & WithLocaleId(Aws::String &&value)
CreateBotLocaleRequest & WithBotId(const Aws::String &value)
const GenerativeAISettings & GetGenerativeAISettings() const
CreateBotLocaleRequest & WithDescription(const char *value)
void SetGenerativeAISettings(const GenerativeAISettings &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
CreateBotLocaleRequest & WithVoiceSettings(VoiceSettings &&value)
CreateBotLocaleRequest & WithGenerativeAISettings(const GenerativeAISettings &value)
CreateBotLocaleRequest & WithGenerativeAISettings(GenerativeAISettings &&value)
CreateBotLocaleRequest & WithLocaleId(const Aws::String &value)
CreateBotLocaleRequest & WithLocaleId(const char *value)
CreateBotLocaleRequest & WithBotVersion(const char *value)
CreateBotLocaleRequest & WithBotVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String