7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace TranscribeStreamingService
37 AWS_TRANSCRIBESTREAMINGSERVICE_API
Entity() =
default;
50 inline void SetStartTime(
double value) { m_startTimeHasBeenSet =
true; m_startTime = value; }
61 inline void SetEndTime(
double value) { m_endTimeHasBeenSet =
true; m_endTime = value; }
72 template<
typename CategoryT = Aws::String>
73 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet =
true; m_category = std::forward<CategoryT>(value); }
74 template<
typename CategoryT = Aws::String>
85 template<
typename TypeT = Aws::String>
86 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
87 template<
typename TypeT = Aws::String>
97 template<
typename ContentT = Aws::String>
98 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
99 template<
typename ContentT = Aws::String>
112 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
117 double m_startTime{0.0};
118 bool m_startTimeHasBeenSet =
false;
120 double m_endTime{0.0};
121 bool m_endTimeHasBeenSet =
false;
124 bool m_categoryHasBeenSet =
false;
127 bool m_typeHasBeenSet =
false;
130 bool m_contentHasBeenSet =
false;
132 double m_confidence{0.0};
133 bool m_confidenceHasBeenSet =
false;
void SetStartTime(double value)
const Aws::String & GetContent() const
bool EndTimeHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Entity & WithEndTime(double value)
double GetStartTime() const
Entity & WithCategory(CategoryT &&value)
Entity & WithType(TypeT &&value)
void SetContent(ContentT &&value)
Entity & WithStartTime(double value)
bool CategoryHasBeenSet() const
bool ConfidenceHasBeenSet() const
double GetEndTime() const
bool StartTimeHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfidence(double value)
bool ContentHasBeenSet() const
const Aws::String & GetType() const
bool TypeHasBeenSet() const
Entity & WithContent(ContentT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Entity(Aws::Utils::Json::JsonView jsonValue)
double GetConfidence() const
void SetCategory(CategoryT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Entity()=default
void SetEndTime(double value)
const Aws::String & GetCategory() const
void SetType(TypeT &&value)
Entity & WithConfidence(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue