AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UtteranceInputSpecification.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/UtteranceAudioInputSpecification.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
30 public:
31 AWS_LEXMODELSV2_API UtteranceInputSpecification() = default;
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetTextInput() const { return m_textInput; }
42 inline bool TextInputHasBeenSet() const { return m_textInputHasBeenSet; }
43 template <typename TextInputT = Aws::String>
44 void SetTextInput(TextInputT&& value) {
45 m_textInputHasBeenSet = true;
46 m_textInput = std::forward<TextInputT>(value);
47 }
48 template <typename TextInputT = Aws::String>
50 SetTextInput(std::forward<TextInputT>(value));
51 return *this;
52 }
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) {
63 m_audioInputHasBeenSet = true;
64 m_audioInput = std::forward<AudioInputT>(value);
65 }
66 template <typename AudioInputT = UtteranceAudioInputSpecification>
68 SetAudioInput(std::forward<AudioInputT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_textInput;
74
76 bool m_textInputHasBeenSet = false;
77 bool m_audioInputHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace LexModelsV2
82} // 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