7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/polly/Polly_EXPORTS.h>
9#include <aws/polly/model/FlushStreamConfiguration.h>
10#include <aws/polly/model/TextType.h>
43 template <
typename TextT = Aws::String>
45 m_textHasBeenSet =
true;
46 m_text = std::forward<TextT>(value);
48 template <
typename TextT = Aws::String>
50 SetText(std::forward<TextT>(value));
63 m_textTypeHasBeenSet =
true;
79 template <
typename FlushStreamConfigurationT = FlushStreamConfiguration>
81 m_flushStreamConfigurationHasBeenSet =
true;
82 m_flushStreamConfiguration = std::forward<FlushStreamConfigurationT>(value);
84 template <
typename FlushStreamConfigurationT = FlushStreamConfiguration>
95 FlushStreamConfiguration m_flushStreamConfiguration;
96 bool m_textHasBeenSet =
false;
97 bool m_textTypeHasBeenSet =
false;
98 bool m_flushStreamConfigurationHasBeenSet =
false;
AWS_POLLY_API TextEvent()=default
bool TextTypeHasBeenSet() const
TextEvent & WithTextType(TextType value)
const Aws::String & GetText() const
TextEvent & WithFlushStreamConfiguration(FlushStreamConfigurationT &&value)
TextType GetTextType() const
AWS_POLLY_API TextEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FlushStreamConfigurationHasBeenSet() const
const FlushStreamConfiguration & GetFlushStreamConfiguration() const
void SetFlushStreamConfiguration(FlushStreamConfigurationT &&value)
TextEvent & WithText(TextT &&value)
void SetTextType(TextType value)
bool TextHasBeenSet() const
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_POLLY_API TextEvent(Aws::Utils::Json::JsonView jsonValue)
void SetText(TextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue