AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTextInput(const Aws::String& value) { m_textInputHasBeenSet = true; m_textInput = value; }
50 inline void SetTextInput(Aws::String&& value) { m_textInputHasBeenSet = true; m_textInput = std::move(value); }
51 inline void SetTextInput(const char* value) { m_textInputHasBeenSet = true; m_textInput.assign(value); }
52 inline UtteranceInputSpecification& WithTextInput(const Aws::String& value) { SetTextInput(value); return *this;}
53 inline UtteranceInputSpecification& WithTextInput(Aws::String&& value) { SetTextInput(std::move(value)); return *this;}
54 inline UtteranceInputSpecification& WithTextInput(const char* value) { SetTextInput(value); return *this;}
56
58
61 inline const UtteranceAudioInputSpecification& GetAudioInput() const{ return m_audioInput; }
62 inline bool AudioInputHasBeenSet() const { return m_audioInputHasBeenSet; }
63 inline void SetAudioInput(const UtteranceAudioInputSpecification& value) { m_audioInputHasBeenSet = true; m_audioInput = value; }
64 inline void SetAudioInput(UtteranceAudioInputSpecification&& value) { m_audioInputHasBeenSet = true; m_audioInput = std::move(value); }
68 private:
69
70 Aws::String m_textInput;
71 bool m_textInputHasBeenSet = false;
72
74 bool m_audioInputHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace LexModelsV2
79} // namespace Aws
AWS_LEXMODELSV2_API UtteranceInputSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const UtteranceAudioInputSpecification & GetAudioInput() const
UtteranceInputSpecification & WithTextInput(const Aws::String &value)
AWS_LEXMODELSV2_API UtteranceInputSpecification(Aws::Utils::Json::JsonView jsonValue)
UtteranceInputSpecification & WithAudioInput(UtteranceAudioInputSpecification &&value)
UtteranceInputSpecification & WithTextInput(const char *value)
void SetAudioInput(UtteranceAudioInputSpecification &&value)
UtteranceInputSpecification & WithTextInput(Aws::String &&value)
UtteranceInputSpecification & WithAudioInput(const UtteranceAudioInputSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAudioInput(const UtteranceAudioInputSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue