AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CallAnalyticsEntity.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TranscribeStreamingService {
20namespace Model {
21
31 public:
32 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity() = default;
33 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity& 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 CallAnalyticsEntity& 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 CallAnalyticsEntity& WithEndOffsetMillis(long long value) {
66 SetEndOffsetMillis(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetCategory() const { return m_category; }
76 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
77 template <typename CategoryT = Aws::String>
78 void SetCategory(CategoryT&& value) {
79 m_categoryHasBeenSet = true;
80 m_category = std::forward<CategoryT>(value);
81 }
82 template <typename CategoryT = Aws::String>
83 CallAnalyticsEntity& WithCategory(CategoryT&& value) {
84 SetCategory(std::forward<CategoryT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 template <typename TypeT = Aws::String>
97 void SetType(TypeT&& value) {
98 m_typeHasBeenSet = true;
99 m_type = std::forward<TypeT>(value);
100 }
101 template <typename TypeT = Aws::String>
103 SetType(std::forward<TypeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetContent() const { return m_content; }
113 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
114 template <typename ContentT = Aws::String>
115 void SetContent(ContentT&& value) {
116 m_contentHasBeenSet = true;
117 m_content = std::forward<ContentT>(value);
118 }
119 template <typename ContentT = Aws::String>
120 CallAnalyticsEntity& WithContent(ContentT&& value) {
121 SetContent(std::forward<ContentT>(value));
122 return *this;
123 }
125
127
133 inline double GetConfidence() const { return m_confidence; }
134 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
135 inline void SetConfidence(double value) {
136 m_confidenceHasBeenSet = true;
137 m_confidence = value;
138 }
139 inline CallAnalyticsEntity& WithConfidence(double value) {
140 SetConfidence(value);
141 return *this;
142 }
144 private:
145 long long m_beginOffsetMillis{0};
146
147 long long m_endOffsetMillis{0};
148
149 Aws::String m_category;
150
151 Aws::String m_type;
152
153 Aws::String m_content;
154
155 double m_confidence{0.0};
156 bool m_beginOffsetMillisHasBeenSet = false;
157 bool m_endOffsetMillisHasBeenSet = false;
158 bool m_categoryHasBeenSet = false;
159 bool m_typeHasBeenSet = false;
160 bool m_contentHasBeenSet = false;
161 bool m_confidenceHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace TranscribeStreamingService
166} // namespace Aws
CallAnalyticsEntity & WithBeginOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity()=default
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