AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVoiceId(const Aws::String& value) { m_voiceIdHasBeenSet = true; m_voiceId = value; }
52 inline void SetVoiceId(Aws::String&& value) { m_voiceIdHasBeenSet = true; m_voiceId = std::move(value); }
53 inline void SetVoiceId(const char* value) { m_voiceIdHasBeenSet = true; m_voiceId.assign(value); }
54 inline VoiceSettings& WithVoiceId(const Aws::String& value) { SetVoiceId(value); return *this;}
55 inline VoiceSettings& WithVoiceId(Aws::String&& value) { SetVoiceId(std::move(value)); return *this;}
56 inline VoiceSettings& WithVoiceId(const char* value) { SetVoiceId(value); return *this;}
58
60
68 inline const VoiceEngine& GetEngine() const{ return m_engine; }
69 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
70 inline void SetEngine(const VoiceEngine& value) { m_engineHasBeenSet = true; m_engine = value; }
71 inline void SetEngine(VoiceEngine&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
72 inline VoiceSettings& WithEngine(const VoiceEngine& value) { SetEngine(value); return *this;}
73 inline VoiceSettings& WithEngine(VoiceEngine&& value) { SetEngine(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_voiceId;
78 bool m_voiceIdHasBeenSet = false;
79
80 VoiceEngine m_engine;
81 bool m_engineHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace LexModelsV2
86} // namespace Aws
const VoiceEngine & GetEngine() const
AWS_LEXMODELSV2_API VoiceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
VoiceSettings & WithVoiceId(const Aws::String &value)
VoiceSettings & WithEngine(const VoiceEngine &value)
void SetEngine(VoiceEngine &&value)
VoiceSettings & WithVoiceId(Aws::String &&value)
void SetVoiceId(Aws::String &&value)
const Aws::String & GetVoiceId() const
AWS_LEXMODELSV2_API VoiceSettings(Aws::Utils::Json::JsonView jsonValue)
void SetEngine(const VoiceEngine &value)
VoiceSettings & WithEngine(VoiceEngine &&value)
VoiceSettings & WithVoiceId(const char *value)
void SetVoiceId(const Aws::String &value)
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