AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UtteranceInputSpecification.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/UtteranceAudioInputSpecification.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 UtteranceInputSpecification() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetTextInput() const { return m_textInput; }
48 inline bool TextInputHasBeenSet() const { return m_textInputHasBeenSet; }
49 template<typename TextInputT = Aws::String>
50 void SetTextInput(TextInputT&& value) { m_textInputHasBeenSet = true; m_textInput = std::forward<TextInputT>(value); }
51 template<typename TextInputT = Aws::String>
52 UtteranceInputSpecification& WithTextInput(TextInputT&& value) { SetTextInput(std::forward<TextInputT>(value)); return *this;}
54
56
59 inline const UtteranceAudioInputSpecification& GetAudioInput() const { return m_audioInput; }
60 inline bool AudioInputHasBeenSet() const { return m_audioInputHasBeenSet; }
61 template<typename AudioInputT = UtteranceAudioInputSpecification>
62 void SetAudioInput(AudioInputT&& value) { m_audioInputHasBeenSet = true; m_audioInput = std::forward<AudioInputT>(value); }
63 template<typename AudioInputT = UtteranceAudioInputSpecification>
64 UtteranceInputSpecification& WithAudioInput(AudioInputT&& value) { SetAudioInput(std::forward<AudioInputT>(value)); return *this;}
66 private:
67
68 Aws::String m_textInput;
69 bool m_textInputHasBeenSet = false;
70
72 bool m_audioInputHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LexModelsV2
77} // namespace Aws
AWS_LEXMODELSV2_API UtteranceInputSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const UtteranceAudioInputSpecification & GetAudioInput() const
AWS_LEXMODELSV2_API UtteranceInputSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API UtteranceInputSpecification()=default
UtteranceInputSpecification & WithAudioInput(AudioInputT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
UtteranceInputSpecification & WithTextInput(TextInputT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue