AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VoiceSettings.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/VoiceEngine.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
37 {
38 public:
39 AWS_LEXMODELSV2_API VoiceSettings() = default;
40 AWS_LEXMODELSV2_API VoiceSettings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API VoiceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetVoiceId() const { return m_voiceId; }
50 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
51 template<typename VoiceIdT = Aws::String>
52 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet = true; m_voiceId = std::forward<VoiceIdT>(value); }
53 template<typename VoiceIdT = Aws::String>
54 VoiceSettings& WithVoiceId(VoiceIdT&& value) { SetVoiceId(std::forward<VoiceIdT>(value)); return *this;}
56
58
66 inline VoiceEngine GetEngine() const { return m_engine; }
67 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
68 inline void SetEngine(VoiceEngine value) { m_engineHasBeenSet = true; m_engine = value; }
69 inline VoiceSettings& WithEngine(VoiceEngine value) { SetEngine(value); return *this;}
71 private:
72
73 Aws::String m_voiceId;
74 bool m_voiceIdHasBeenSet = false;
75
77 bool m_engineHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace LexModelsV2
82} // namespace Aws
AWS_LEXMODELSV2_API VoiceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API VoiceSettings()=default
VoiceSettings & WithVoiceId(VoiceIdT &&value)
const Aws::String & GetVoiceId() const
VoiceSettings & WithEngine(VoiceEngine value)
AWS_LEXMODELSV2_API VoiceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue