AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
VoiceSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/VoiceEngine.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
33 public:
34 AWS_LEXMODELSV2_API VoiceSettings() = default;
35 AWS_LEXMODELSV2_API VoiceSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API VoiceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline VoiceEngine GetEngine() const { return m_engine; }
49 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
50 inline void SetEngine(VoiceEngine value) {
51 m_engineHasBeenSet = true;
52 m_engine = value;
53 }
55 SetEngine(value);
56 return *this;
57 }
59
61
64 inline const Aws::String& GetVoiceId() const { return m_voiceId; }
65 inline bool VoiceIdHasBeenSet() const { return m_voiceIdHasBeenSet; }
66 template <typename VoiceIdT = Aws::String>
67 void SetVoiceId(VoiceIdT&& value) {
68 m_voiceIdHasBeenSet = true;
69 m_voiceId = std::forward<VoiceIdT>(value);
70 }
71 template <typename VoiceIdT = Aws::String>
72 VoiceSettings& WithVoiceId(VoiceIdT&& value) {
73 SetVoiceId(std::forward<VoiceIdT>(value));
74 return *this;
75 }
77 private:
79
80 Aws::String m_voiceId;
81 bool m_engineHasBeenSet = false;
82 bool m_voiceIdHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace LexModelsV2
87} // 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