AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
49 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
50 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
51 inline BotLocaleImportSpecification& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
52 inline BotLocaleImportSpecification& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
53 inline BotLocaleImportSpecification& WithBotId(const char* value) { SetBotId(value); return *this;}
55
57
61 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
62 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
63 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
64 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
65 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
66 inline BotLocaleImportSpecification& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
67 inline BotLocaleImportSpecification& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
68 inline BotLocaleImportSpecification& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
70
72
80 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
81 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
82 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
83 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
84 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
85 inline BotLocaleImportSpecification& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
86 inline BotLocaleImportSpecification& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
87 inline BotLocaleImportSpecification& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
89
91
105 inline double GetNluIntentConfidenceThreshold() const{ return m_nluIntentConfidenceThreshold; }
106 inline bool NluIntentConfidenceThresholdHasBeenSet() const { return m_nluIntentConfidenceThresholdHasBeenSet; }
107 inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThresholdHasBeenSet = true; m_nluIntentConfidenceThreshold = value; }
110
112
113 inline const VoiceSettings& GetVoiceSettings() const{ return m_voiceSettings; }
114 inline bool VoiceSettingsHasBeenSet() const { return m_voiceSettingsHasBeenSet; }
115 inline void SetVoiceSettings(const VoiceSettings& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = value; }
116 inline void SetVoiceSettings(VoiceSettings&& value) { m_voiceSettingsHasBeenSet = true; m_voiceSettings = std::move(value); }
118 inline BotLocaleImportSpecification& WithVoiceSettings(VoiceSettings&& value) { SetVoiceSettings(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_botId;
123 bool m_botIdHasBeenSet = false;
124
125 Aws::String m_botVersion;
126 bool m_botVersionHasBeenSet = false;
127
128 Aws::String m_localeId;
129 bool m_localeIdHasBeenSet = false;
130
131 double m_nluIntentConfidenceThreshold;
132 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
133
134 VoiceSettings m_voiceSettings;
135 bool m_voiceSettingsHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace LexModelsV2
140} // namespace Aws
BotLocaleImportSpecification & WithLocaleId(const Aws::String &value)
BotLocaleImportSpecification & WithBotId(const Aws::String &value)
BotLocaleImportSpecification & WithBotId(Aws::String &&value)
BotLocaleImportSpecification & WithBotId(const char *value)
BotLocaleImportSpecification & WithLocaleId(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotLocaleImportSpecification & WithLocaleId(const char *value)
BotLocaleImportSpecification & WithBotVersion(const Aws::String &value)
AWS_LEXMODELSV2_API BotLocaleImportSpecification(Aws::Utils::Json::JsonView jsonValue)
BotLocaleImportSpecification & WithVoiceSettings(VoiceSettings &&value)
BotLocaleImportSpecification & WithVoiceSettings(const VoiceSettings &value)
BotLocaleImportSpecification & WithNluIntentConfidenceThreshold(double value)
BotLocaleImportSpecification & WithBotVersion(const char *value)
BotLocaleImportSpecification & WithBotVersion(Aws::String &&value)
AWS_LEXMODELSV2_API BotLocaleImportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue