AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CallAnalyticsItem.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
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem() = default;
38 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline long long GetBeginOffsetMillis() const { return m_beginOffsetMillis; }
49 inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; }
50 inline void SetBeginOffsetMillis(long long value) { m_beginOffsetMillisHasBeenSet = true; m_beginOffsetMillis = value; }
51 inline CallAnalyticsItem& WithBeginOffsetMillis(long long value) { SetBeginOffsetMillis(value); return *this;}
53
55
59 inline long long GetEndOffsetMillis() const { return m_endOffsetMillis; }
60 inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; }
61 inline void SetEndOffsetMillis(long long value) { m_endOffsetMillisHasBeenSet = true; m_endOffsetMillis = value; }
62 inline CallAnalyticsItem& WithEndOffsetMillis(long long value) { SetEndOffsetMillis(value); return *this;}
64
66
70 inline ItemType GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(ItemType value) { m_typeHasBeenSet = true; m_type = value; }
73 inline CallAnalyticsItem& WithType(ItemType value) { SetType(value); return *this;}
75
77
80 inline const Aws::String& GetContent() const { return m_content; }
81 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
82 template<typename ContentT = Aws::String>
83 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
84 template<typename ContentT = Aws::String>
85 CallAnalyticsItem& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
87
89
95 inline double GetConfidence() const { return m_confidence; }
96 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
97 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
98 inline CallAnalyticsItem& WithConfidence(double value) { SetConfidence(value); return *this;}
100
102
107 inline bool GetVocabularyFilterMatch() const { return m_vocabularyFilterMatch; }
108 inline bool VocabularyFilterMatchHasBeenSet() const { return m_vocabularyFilterMatchHasBeenSet; }
109 inline void SetVocabularyFilterMatch(bool value) { m_vocabularyFilterMatchHasBeenSet = true; m_vocabularyFilterMatch = value; }
110 inline CallAnalyticsItem& WithVocabularyFilterMatch(bool value) { SetVocabularyFilterMatch(value); return *this;}
112
114
119 inline bool GetStable() const { return m_stable; }
120 inline bool StableHasBeenSet() const { return m_stableHasBeenSet; }
121 inline void SetStable(bool value) { m_stableHasBeenSet = true; m_stable = value; }
122 inline CallAnalyticsItem& WithStable(bool value) { SetStable(value); return *this;}
124 private:
125
126 long long m_beginOffsetMillis{0};
127 bool m_beginOffsetMillisHasBeenSet = false;
128
129 long long m_endOffsetMillis{0};
130 bool m_endOffsetMillisHasBeenSet = false;
131
133 bool m_typeHasBeenSet = false;
134
135 Aws::String m_content;
136 bool m_contentHasBeenSet = false;
137
138 double m_confidence{0.0};
139 bool m_confidenceHasBeenSet = false;
140
141 bool m_vocabularyFilterMatch{false};
142 bool m_vocabularyFilterMatchHasBeenSet = false;
143
144 bool m_stable{false};
145 bool m_stableHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace TranscribeStreamingService
150} // namespace Aws
CallAnalyticsItem & WithEndOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem()=default
CallAnalyticsItem & WithBeginOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue