AWS SDK for C++  1.9.154
AWS SDK for C++
Item.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace TranscribeStreamingService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
36  Item();
40 
41 
46  inline double GetStartTime() const{ return m_startTime; }
47 
52  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
53 
58  inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; }
59 
64  inline Item& WithStartTime(double value) { SetStartTime(value); return *this;}
65 
66 
71  inline double GetEndTime() const{ return m_endTime; }
72 
77  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
78 
83  inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; }
84 
89  inline Item& WithEndTime(double value) { SetEndTime(value); return *this;}
90 
91 
97  inline const ItemType& GetType() const{ return m_type; }
98 
104  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
105 
111  inline void SetType(const ItemType& value) { m_typeHasBeenSet = true; m_type = value; }
112 
118  inline void SetType(ItemType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
119 
125  inline Item& WithType(const ItemType& value) { SetType(value); return *this;}
126 
132  inline Item& WithType(ItemType&& value) { SetType(std::move(value)); return *this;}
133 
134 
138  inline const Aws::String& GetContent() const{ return m_content; }
139 
143  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
144 
148  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
149 
153  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
154 
158  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
159 
163  inline Item& WithContent(const Aws::String& value) { SetContent(value); return *this;}
164 
168  inline Item& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
169 
173  inline Item& WithContent(const char* value) { SetContent(value); return *this;}
174 
175 
181  inline bool GetVocabularyFilterMatch() const{ return m_vocabularyFilterMatch; }
182 
188  inline bool VocabularyFilterMatchHasBeenSet() const { return m_vocabularyFilterMatchHasBeenSet; }
189 
195  inline void SetVocabularyFilterMatch(bool value) { m_vocabularyFilterMatchHasBeenSet = true; m_vocabularyFilterMatch = value; }
196 
202  inline Item& WithVocabularyFilterMatch(bool value) { SetVocabularyFilterMatch(value); return *this;}
203 
204 
209  inline const Aws::String& GetSpeaker() const{ return m_speaker; }
210 
215  inline bool SpeakerHasBeenSet() const { return m_speakerHasBeenSet; }
216 
221  inline void SetSpeaker(const Aws::String& value) { m_speakerHasBeenSet = true; m_speaker = value; }
222 
227  inline void SetSpeaker(Aws::String&& value) { m_speakerHasBeenSet = true; m_speaker = std::move(value); }
228 
233  inline void SetSpeaker(const char* value) { m_speakerHasBeenSet = true; m_speaker.assign(value); }
234 
239  inline Item& WithSpeaker(const Aws::String& value) { SetSpeaker(value); return *this;}
240 
245  inline Item& WithSpeaker(Aws::String&& value) { SetSpeaker(std::move(value)); return *this;}
246 
251  inline Item& WithSpeaker(const char* value) { SetSpeaker(value); return *this;}
252 
253 
258  inline double GetConfidence() const{ return m_confidence; }
259 
264  inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
265 
270  inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
271 
276  inline Item& WithConfidence(double value) { SetConfidence(value); return *this;}
277 
278 
284  inline bool GetStable() const{ return m_stable; }
285 
291  inline bool StableHasBeenSet() const { return m_stableHasBeenSet; }
292 
298  inline void SetStable(bool value) { m_stableHasBeenSet = true; m_stable = value; }
299 
305  inline Item& WithStable(bool value) { SetStable(value); return *this;}
306 
307  private:
308 
309  double m_startTime;
310  bool m_startTimeHasBeenSet;
311 
312  double m_endTime;
313  bool m_endTimeHasBeenSet;
314 
315  ItemType m_type;
316  bool m_typeHasBeenSet;
317 
318  Aws::String m_content;
319  bool m_contentHasBeenSet;
320 
321  bool m_vocabularyFilterMatch;
322  bool m_vocabularyFilterMatchHasBeenSet;
323 
324  Aws::String m_speaker;
325  bool m_speakerHasBeenSet;
326 
327  double m_confidence;
328  bool m_confidenceHasBeenSet;
329 
330  bool m_stable;
331  bool m_stableHasBeenSet;
332  };
333 
334 } // namespace Model
335 } // namespace TranscribeStreamingService
336 } // namespace Aws
Aws::TranscribeStreamingService::Model::ItemType
ItemType
Definition: ItemType.h:17
Aws::TranscribeStreamingService::Model::Item::StableHasBeenSet
bool StableHasBeenSet() const
Definition: Item.h:291
AWS_TRANSCRIBESTREAMINGSERVICE_API
#define AWS_TRANSCRIBESTREAMINGSERVICE_API
Definition: TranscribeStreamingService_EXPORTS.h:28
Aws::TranscribeStreamingService::Model::Item::GetType
const ItemType & GetType() const
Definition: Item.h:97
Aws::TranscribeStreamingService::Model::Item::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: Item.h:52
Aws::TranscribeStreamingService::Model::Item::GetSpeaker
const Aws::String & GetSpeaker() const
Definition: Item.h:209
Aws::TranscribeStreamingService::Model::Item::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::TranscribeStreamingService::Model::Item::WithSpeaker
Item & WithSpeaker(Aws::String &&value)
Definition: Item.h:245
Aws::TranscribeStreamingService::Model::Item::WithStable
Item & WithStable(bool value)
Definition: Item.h:305
Aws::TranscribeStreamingService::Model::Item::WithConfidence
Item & WithConfidence(double value)
Definition: Item.h:276
Aws::TranscribeStreamingService::Model::Item::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: Item.h:143
Aws::TranscribeStreamingService::Model::Item::ConfidenceHasBeenSet
bool ConfidenceHasBeenSet() const
Definition: Item.h:264
Aws::TranscribeStreamingService::Model::Item::SetContent
void SetContent(const char *value)
Definition: Item.h:158
Aws::TranscribeStreamingService::Model::Item::Item
Item()
Aws::TranscribeStreamingService::Model::Item::GetConfidence
double GetConfidence() const
Definition: Item.h:258
Aws::TranscribeStreamingService::Model::Item::WithVocabularyFilterMatch
Item & WithVocabularyFilterMatch(bool value)
Definition: Item.h:202
Aws::TranscribeStreamingService::Model::Item::WithType
Item & WithType(ItemType &&value)
Definition: Item.h:132
Aws::TranscribeStreamingService::Model::Item::SetSpeaker
void SetSpeaker(Aws::String &&value)
Definition: Item.h:227
Aws::TranscribeStreamingService::Model::Item::SetEndTime
void SetEndTime(double value)
Definition: Item.h:83
Aws::TranscribeStreamingService::Model::Item::WithStartTime
Item & WithStartTime(double value)
Definition: Item.h:64
Aws::TranscribeStreamingService::Model::Item::WithSpeaker
Item & WithSpeaker(const Aws::String &value)
Definition: Item.h:239
Aws::TranscribeStreamingService::Model::Item::WithEndTime
Item & WithEndTime(double value)
Definition: Item.h:89
Aws::TranscribeStreamingService::Model::Item::SetSpeaker
void SetSpeaker(const Aws::String &value)
Definition: Item.h:221
Aws::TranscribeStreamingService::Model::Item::SetType
void SetType(const ItemType &value)
Definition: Item.h:111
Aws::TranscribeStreamingService::Model::Item::SpeakerHasBeenSet
bool SpeakerHasBeenSet() const
Definition: Item.h:215
Aws::TranscribeStreamingService::Model::Item
Definition: Item.h:34
Aws::TranscribeStreamingService::Model::Item::GetStable
bool GetStable() const
Definition: Item.h:284
Aws::TranscribeStreamingService::Model::Item::SetContent
void SetContent(const Aws::String &value)
Definition: Item.h:148
Aws::TranscribeStreamingService::Model::Item::WithContent
Item & WithContent(const Aws::String &value)
Definition: Item.h:163
Aws::TranscribeStreamingService::Model::Item::SetStable
void SetStable(bool value)
Definition: Item.h:298
ItemType.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::TranscribeStreamingService::Model::Item::WithType
Item & WithType(const ItemType &value)
Definition: Item.h:125
Aws::TranscribeStreamingService::Model::Item::VocabularyFilterMatchHasBeenSet
bool VocabularyFilterMatchHasBeenSet() const
Definition: Item.h:188
TranscribeStreamingService_EXPORTS.h
Aws::TranscribeStreamingService::Model::Item::WithContent
Item & WithContent(const char *value)
Definition: Item.h:173
Aws::TranscribeStreamingService::Model::Item::GetEndTime
double GetEndTime() const
Definition: Item.h:71
Aws::TranscribeStreamingService::Model::Item::GetContent
const Aws::String & GetContent() const
Definition: Item.h:138
Aws::TranscribeStreamingService::Model::Item::SetType
void SetType(ItemType &&value)
Definition: Item.h:118
Aws::TranscribeStreamingService::Model::Item::WithContent
Item & WithContent(Aws::String &&value)
Definition: Item.h:168
Aws::TranscribeStreamingService::Model::Item::SetSpeaker
void SetSpeaker(const char *value)
Definition: Item.h:233
Aws::TranscribeStreamingService::Model::Item::SetConfidence
void SetConfidence(double value)
Definition: Item.h:270
Aws::TranscribeStreamingService::Model::Item::GetVocabularyFilterMatch
bool GetVocabularyFilterMatch() const
Definition: Item.h:181
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::TranscribeStreamingService::Model::Item::Item
Item(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::TranscribeStreamingService::Model::Item::SetVocabularyFilterMatch
void SetVocabularyFilterMatch(bool value)
Definition: Item.h:195
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeStreamingService::Model::Item::SetContent
void SetContent(Aws::String &&value)
Definition: Item.h:153
Aws::TranscribeStreamingService::Model::Item::WithSpeaker
Item & WithSpeaker(const char *value)
Definition: Item.h:251
Aws::TranscribeStreamingService::Model::Item::GetStartTime
double GetStartTime() const
Definition: Item.h:46
Aws::TranscribeStreamingService::Model::Item::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: Item.h:77
Aws::TranscribeStreamingService::Model::Item::SetStartTime
void SetStartTime(double value)
Definition: Item.h:58
Aws::TranscribeStreamingService::Model::Item::operator=
Item & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::TranscribeStreamingService::Model::Item::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Item.h:104