AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BotLocaleImportSpecification.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/lexv2-models/model/VoiceSettings.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API BotLocaleImportSpecification() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBotId() const { return m_botId; }
47 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
48 template<typename BotIdT = Aws::String>
49 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
50 template<typename BotIdT = Aws::String>
51 BotLocaleImportSpecification& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
60 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
61 template<typename BotVersionT = Aws::String>
62 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
63 template<typename BotVersionT = Aws::String>
64 BotLocaleImportSpecification& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
66
68
76 inline const Aws::String& GetLocaleId() const { return m_localeId; }
77 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
78 template<typename LocaleIdT = Aws::String>
79 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
80 template<typename LocaleIdT = Aws::String>
81 BotLocaleImportSpecification& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
83
85
99 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
100 inline bool NluIntentConfidenceThresholdHasBeenSet() const { return m_nluIntentConfidenceThresholdHasBeenSet; }
101 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
104
106
107 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
108 inline bool VoiceSettingsHasBeenSet() const { return m_voiceSettingsHasBeenSet; }
109 template<typename VoiceSettingsT = VoiceSettings>
110 void SetVoiceSettings(VoiceSettingsT&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::forward<VoiceSettingsT>(value); }
111 template<typename VoiceSettingsT = VoiceSettings>
112 BotLocaleImportSpecification& WithVoiceSettings(VoiceSettingsT&& value) { SetVoiceSettings(std::forward<VoiceSettingsT>(value)); return *this;}
114 private:
115
116 Aws::String m_botId;
117 bool m_botIdHasBeenSet = false;
118
119 Aws::String m_botVersion;
120 bool m_botVersionHasBeenSet = false;
121
122 Aws::String m_localeId;
123 bool m_localeIdHasBeenSet = false;
124
125 double m_nluIntentConfidenceThreshold{0.0};
126 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
127
128 VoiceSettings m_voiceSettings;
129 bool m_voiceSettingsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace LexModelsV2
134} // namespace Aws
BotLocaleImportSpecification & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotLocaleImportSpecification()=default
BotLocaleImportSpecification & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API BotLocaleImportSpecification(Aws::Utils::Json::JsonView jsonValue)
BotLocaleImportSpecification & WithVoiceSettings(VoiceSettingsT &&value)
BotLocaleImportSpecification & WithNluIntentConfidenceThreshold(double value)
AWS_LEXMODELSV2_API BotLocaleImportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
BotLocaleImportSpecification & WithLocaleId(LocaleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue