AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ItemType& GetType() const{ return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(const ItemType& value) { m_typeHasBeenSet = true; m_type = value; }
73 inline void SetType(ItemType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
74 inline CallAnalyticsItem& WithType(const ItemType& value) { SetType(value); return *this;}
75 inline CallAnalyticsItem& WithType(ItemType&& value) { SetType(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetContent() const{ return m_content; }
83 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
84 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
85 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
86 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
87 inline CallAnalyticsItem& WithContent(const Aws::String& value) { SetContent(value); return *this;}
88 inline CallAnalyticsItem& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
89 inline CallAnalyticsItem& WithContent(const char* value) { SetContent(value); return *this;}
91
93
99 inline double GetConfidence() const{ return m_confidence; }
100 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
101 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
102 inline CallAnalyticsItem& WithConfidence(double value) { SetConfidence(value); return *this;}
104
106
111 inline bool GetVocabularyFilterMatch() const{ return m_vocabularyFilterMatch; }
112 inline bool VocabularyFilterMatchHasBeenSet() const { return m_vocabularyFilterMatchHasBeenSet; }
113 inline void SetVocabularyFilterMatch(bool value) { m_vocabularyFilterMatchHasBeenSet = true; m_vocabularyFilterMatch = value; }
114 inline CallAnalyticsItem& WithVocabularyFilterMatch(bool value) { SetVocabularyFilterMatch(value); return *this;}
116
118
123 inline bool GetStable() const{ return m_stable; }
124 inline bool StableHasBeenSet() const { return m_stableHasBeenSet; }
125 inline void SetStable(bool value) { m_stableHasBeenSet = true; m_stable = value; }
126 inline CallAnalyticsItem& WithStable(bool value) { SetStable(value); return *this;}
128 private:
129
130 long long m_beginOffsetMillis;
131 bool m_beginOffsetMillisHasBeenSet = false;
132
133 long long m_endOffsetMillis;
134 bool m_endOffsetMillisHasBeenSet = false;
135
136 ItemType m_type;
137 bool m_typeHasBeenSet = false;
138
139 Aws::String m_content;
140 bool m_contentHasBeenSet = false;
141
142 double m_confidence;
143 bool m_confidenceHasBeenSet = false;
144
145 bool m_vocabularyFilterMatch;
146 bool m_vocabularyFilterMatchHasBeenSet = false;
147
148 bool m_stable;
149 bool m_stableHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace TranscribeStreamingService
154} // namespace Aws
CallAnalyticsItem & WithEndOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsItem & WithType(const ItemType &value)
CallAnalyticsItem & WithContent(const Aws::String &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsItem()
CallAnalyticsItem & WithContent(Aws::String &&value)
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