AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CallAnalyticsItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
9#include <aws/transcribestreaming/model/ItemType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TranscribeStreamingService {
21namespace Model {
22
31 public:
32 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem() = default;
33 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline long long GetBeginOffsetMillis() const { return m_beginOffsetMillis; }
43 inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; }
44 inline void SetBeginOffsetMillis(long long value) {
45 m_beginOffsetMillisHasBeenSet = true;
46 m_beginOffsetMillis = value;
47 }
48 inline CallAnalyticsItem& WithBeginOffsetMillis(long long value) {
50 return *this;
51 }
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) {
62 m_endOffsetMillisHasBeenSet = true;
63 m_endOffsetMillis = value;
64 }
65 inline CallAnalyticsItem& WithEndOffsetMillis(long long value) {
66 SetEndOffsetMillis(value);
67 return *this;
68 }
70
72
76 inline ItemType GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(ItemType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetContent() const { return m_content; }
93 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
94 template <typename ContentT = Aws::String>
95 void SetContent(ContentT&& value) {
96 m_contentHasBeenSet = true;
97 m_content = std::forward<ContentT>(value);
98 }
99 template <typename ContentT = Aws::String>
100 CallAnalyticsItem& WithContent(ContentT&& value) {
101 SetContent(std::forward<ContentT>(value));
102 return *this;
103 }
105
107
113 inline double GetConfidence() const { return m_confidence; }
114 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
115 inline void SetConfidence(double value) {
116 m_confidenceHasBeenSet = true;
117 m_confidence = value;
118 }
119 inline CallAnalyticsItem& WithConfidence(double value) {
120 SetConfidence(value);
121 return *this;
122 }
124
126
131 inline bool GetVocabularyFilterMatch() const { return m_vocabularyFilterMatch; }
132 inline bool VocabularyFilterMatchHasBeenSet() const { return m_vocabularyFilterMatchHasBeenSet; }
133 inline void SetVocabularyFilterMatch(bool value) {
134 m_vocabularyFilterMatchHasBeenSet = true;
135 m_vocabularyFilterMatch = value;
136 }
139 return *this;
140 }
142
144
149 inline bool GetStable() const { return m_stable; }
150 inline bool StableHasBeenSet() const { return m_stableHasBeenSet; }
151 inline void SetStable(bool value) {
152 m_stableHasBeenSet = true;
153 m_stable = value;
154 }
155 inline CallAnalyticsItem& WithStable(bool value) {
156 SetStable(value);
157 return *this;
158 }
160 private:
161 long long m_beginOffsetMillis{0};
162
163 long long m_endOffsetMillis{0};
164
166
167 Aws::String m_content;
168
169 double m_confidence{0.0};
170
171 bool m_vocabularyFilterMatch{false};
172
173 bool m_stable{false};
174 bool m_beginOffsetMillisHasBeenSet = false;
175 bool m_endOffsetMillisHasBeenSet = false;
176 bool m_typeHasBeenSet = false;
177 bool m_contentHasBeenSet = false;
178 bool m_confidenceHasBeenSet = false;
179 bool m_vocabularyFilterMatchHasBeenSet = false;
180 bool m_stableHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace TranscribeStreamingService
185} // 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