AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename BotIdT = Aws::String>
44 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
45 template<typename BotIdT = Aws::String>
46 UpdateBotLocaleRequest& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
55 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
56 template<typename BotVersionT = Aws::String>
57 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
58 template<typename BotVersionT = Aws::String>
59 UpdateBotLocaleRequest& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
61
63
69 inline const Aws::String& GetLocaleId() const { return m_localeId; }
70 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
71 template<typename LocaleIdT = Aws::String>
72 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
73 template<typename LocaleIdT = Aws::String>
74 UpdateBotLocaleRequest& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 UpdateBotLocaleRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
95 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
96 inline bool NluIntentConfidenceThresholdHasBeenSet() const { return m_nluIntentConfidenceThresholdHasBeenSet; }
97 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
100
102
106 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
107 inline bool VoiceSettingsHasBeenSet() const { return m_voiceSettingsHasBeenSet; }
108 template<typename VoiceSettingsT = VoiceSettings>
109 void SetVoiceSettings(VoiceSettingsT&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::forward<VoiceSettingsT>(value); }
110 template<typename VoiceSettingsT = VoiceSettings>
111 UpdateBotLocaleRequest& WithVoiceSettings(VoiceSettingsT&& value) { SetVoiceSettings(std::forward<VoiceSettingsT>(value)); return *this;}
113
115
120 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
121 inline bool GenerativeAISettingsHasBeenSet() const { return m_generativeAISettingsHasBeenSet; }
122 template<typename GenerativeAISettingsT = GenerativeAISettings>
123 void SetGenerativeAISettings(GenerativeAISettingsT&& value) { m_generativeAISettingsHasBeenSet = true; m_generativeAISettings = std::forward<GenerativeAISettingsT>(value); }
124 template<typename GenerativeAISettingsT = GenerativeAISettings>
125 UpdateBotLocaleRequest& WithGenerativeAISettings(GenerativeAISettingsT&& value) { SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value)); return *this;}
127 private:
128
129 Aws::String m_botId;
130 bool m_botIdHasBeenSet = false;
131
132 Aws::String m_botVersion;
133 bool m_botVersionHasBeenSet = false;
134
135 Aws::String m_localeId;
136 bool m_localeIdHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 double m_nluIntentConfidenceThreshold{0.0};
142 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
143
144 VoiceSettings m_voiceSettings;
145 bool m_voiceSettingsHasBeenSet = false;
146
147 GenerativeAISettings m_generativeAISettings;
148 bool m_generativeAISettingsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace LexModelsV2
153} // namespace Aws
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
const GenerativeAISettings & GetGenerativeAISettings() const
UpdateBotLocaleRequest & WithBotId(BotIdT &&value)
UpdateBotLocaleRequest & WithVoiceSettings(VoiceSettingsT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
AWS_LEXMODELSV2_API UpdateBotLocaleRequest()=default
virtual const char * GetServiceRequestName() const override
UpdateBotLocaleRequest & WithDescription(DescriptionT &&value)
UpdateBotLocaleRequest & WithGenerativeAISettings(GenerativeAISettingsT &&value)
UpdateBotLocaleRequest & WithBotVersion(BotVersionT &&value)
UpdateBotLocaleRequest & WithNluIntentConfidenceThreshold(double value)
UpdateBotLocaleRequest & WithLocaleId(LocaleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String