AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Item.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/ItemType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 TranscribeStreamingService
23{
24namespace Model
25{
26
34 class Item
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API Item();
38 AWS_TRANSCRIBESTREAMINGSERVICE_API Item(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API Item& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline double GetStartTime() const{ return m_startTime; }
48 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
49 inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; }
50 inline Item& WithStartTime(double value) { SetStartTime(value); return *this;}
52
54
57 inline double GetEndTime() const{ return m_endTime; }
58 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
59 inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; }
60 inline Item& WithEndTime(double value) { SetEndTime(value); return *this;}
62
64
68 inline const ItemType& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const ItemType& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(ItemType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline Item& WithType(const ItemType& value) { SetType(value); return *this;}
73 inline Item& WithType(ItemType&& value) { SetType(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetContent() const{ return m_content; }
81 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
82 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
83 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
84 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
85 inline Item& WithContent(const Aws::String& value) { SetContent(value); return *this;}
86 inline Item& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
87 inline Item& WithContent(const char* value) { SetContent(value); return *this;}
89
91
96 inline bool GetVocabularyFilterMatch() const{ return m_vocabularyFilterMatch; }
97 inline bool VocabularyFilterMatchHasBeenSet() const { return m_vocabularyFilterMatchHasBeenSet; }
98 inline void SetVocabularyFilterMatch(bool value) { m_vocabularyFilterMatchHasBeenSet = true; m_vocabularyFilterMatch = value; }
99 inline Item& WithVocabularyFilterMatch(bool value) { SetVocabularyFilterMatch(value); return *this;}
101
103
107 inline const Aws::String& GetSpeaker() const{ return m_speaker; }
108 inline bool SpeakerHasBeenSet() const { return m_speakerHasBeenSet; }
109 inline void SetSpeaker(const Aws::String& value) { m_speakerHasBeenSet = true; m_speaker = value; }
110 inline void SetSpeaker(Aws::String&& value) { m_speakerHasBeenSet = true; m_speaker = std::move(value); }
111 inline void SetSpeaker(const char* value) { m_speakerHasBeenSet = true; m_speaker.assign(value); }
112 inline Item& WithSpeaker(const Aws::String& value) { SetSpeaker(value); return *this;}
113 inline Item& WithSpeaker(Aws::String&& value) { SetSpeaker(std::move(value)); return *this;}
114 inline Item& WithSpeaker(const char* value) { SetSpeaker(value); return *this;}
116
118
124 inline double GetConfidence() const{ return m_confidence; }
125 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
126 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
127 inline Item& WithConfidence(double value) { SetConfidence(value); return *this;}
129
131
136 inline bool GetStable() const{ return m_stable; }
137 inline bool StableHasBeenSet() const { return m_stableHasBeenSet; }
138 inline void SetStable(bool value) { m_stableHasBeenSet = true; m_stable = value; }
139 inline Item& WithStable(bool value) { SetStable(value); return *this;}
141 private:
142
143 double m_startTime;
144 bool m_startTimeHasBeenSet = false;
145
146 double m_endTime;
147 bool m_endTimeHasBeenSet = false;
148
149 ItemType m_type;
150 bool m_typeHasBeenSet = false;
151
152 Aws::String m_content;
153 bool m_contentHasBeenSet = false;
154
155 bool m_vocabularyFilterMatch;
156 bool m_vocabularyFilterMatchHasBeenSet = false;
157
158 Aws::String m_speaker;
159 bool m_speakerHasBeenSet = false;
160
161 double m_confidence;
162 bool m_confidenceHasBeenSet = false;
163
164 bool m_stable;
165 bool m_stableHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace TranscribeStreamingService
170} // namespace Aws
void SetSpeaker(const Aws::String &value)
Definition Item.h:109
AWS_TRANSCRIBESTREAMINGSERVICE_API Item & operator=(Aws::Utils::Json::JsonView jsonValue)
Item & WithContent(const char *value)
Definition Item.h:87
Item & WithSpeaker(Aws::String &&value)
Definition Item.h:113
Item & WithContent(const Aws::String &value)
Definition Item.h:85
void SetContent(const char *value)
Definition Item.h:84
const Aws::String & GetSpeaker() const
Definition Item.h:107
Item & WithSpeaker(const Aws::String &value)
Definition Item.h:112
Item & WithType(ItemType &&value)
Definition Item.h:73
AWS_TRANSCRIBESTREAMINGSERVICE_API Item()
void SetContent(const Aws::String &value)
Definition Item.h:82
Item & WithSpeaker(const char *value)
Definition Item.h:114
void SetContent(Aws::String &&value)
Definition Item.h:83
const ItemType & GetType() const
Definition Item.h:68
AWS_TRANSCRIBESTREAMINGSERVICE_API Item(Aws::Utils::Json::JsonView jsonValue)
void SetSpeaker(Aws::String &&value)
Definition Item.h:110
Item & WithContent(Aws::String &&value)
Definition Item.h:86
void SetSpeaker(const char *value)
Definition Item.h:111
Item & WithVocabularyFilterMatch(bool value)
Definition Item.h:99
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const ItemType &value)
Definition Item.h:70
Item & WithType(const ItemType &value)
Definition Item.h:72
const Aws::String & GetContent() const
Definition Item.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue