AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CallAnalyticsEntity.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TranscribeStreamingService
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity() = default;
38 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity& 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 CallAnalyticsEntity& 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 CallAnalyticsEntity& WithEndOffsetMillis(long long value) { SetEndOffsetMillis(value); return *this;}
64
66
69 inline const Aws::String& GetCategory() const { return m_category; }
70 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
71 template<typename CategoryT = Aws::String>
72 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
73 template<typename CategoryT = Aws::String>
74 CallAnalyticsEntity& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
76
78
82 inline const Aws::String& GetType() const { return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 template<typename TypeT = Aws::String>
85 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
86 template<typename TypeT = Aws::String>
87 CallAnalyticsEntity& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
89
91
94 inline const Aws::String& GetContent() const { return m_content; }
95 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
96 template<typename ContentT = Aws::String>
97 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
98 template<typename ContentT = Aws::String>
99 CallAnalyticsEntity& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
101
103
109 inline double GetConfidence() const { return m_confidence; }
110 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
111 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
112 inline CallAnalyticsEntity& WithConfidence(double value) { SetConfidence(value); return *this;}
114 private:
115
116 long long m_beginOffsetMillis{0};
117 bool m_beginOffsetMillisHasBeenSet = false;
118
119 long long m_endOffsetMillis{0};
120 bool m_endOffsetMillisHasBeenSet = false;
121
122 Aws::String m_category;
123 bool m_categoryHasBeenSet = false;
124
125 Aws::String m_type;
126 bool m_typeHasBeenSet = false;
127
128 Aws::String m_content;
129 bool m_contentHasBeenSet = false;
130
131 double m_confidence{0.0};
132 bool m_confidenceHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace TranscribeStreamingService
137} // 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