AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
72 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
73 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
74 inline CallAnalyticsEntity& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
75 inline CallAnalyticsEntity& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
76 inline CallAnalyticsEntity& WithCategory(const char* value) { SetCategory(value); return *this;}
78
80
84 inline const Aws::String& GetType() const{ return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
87 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
88 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
89 inline CallAnalyticsEntity& WithType(const Aws::String& value) { SetType(value); return *this;}
90 inline CallAnalyticsEntity& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
91 inline CallAnalyticsEntity& WithType(const char* value) { SetType(value); return *this;}
93
95
98 inline const Aws::String& GetContent() const{ return m_content; }
99 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
100 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
101 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
102 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
103 inline CallAnalyticsEntity& WithContent(const Aws::String& value) { SetContent(value); return *this;}
104 inline CallAnalyticsEntity& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
105 inline CallAnalyticsEntity& WithContent(const char* value) { SetContent(value); return *this;}
107
109
115 inline double GetConfidence() const{ return m_confidence; }
116 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
117 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
118 inline CallAnalyticsEntity& WithConfidence(double value) { SetConfidence(value); return *this;}
120 private:
121
122 long long m_beginOffsetMillis;
123 bool m_beginOffsetMillisHasBeenSet = false;
124
125 long long m_endOffsetMillis;
126 bool m_endOffsetMillisHasBeenSet = false;
127
128 Aws::String m_category;
129 bool m_categoryHasBeenSet = false;
130
131 Aws::String m_type;
132 bool m_typeHasBeenSet = false;
133
134 Aws::String m_content;
135 bool m_contentHasBeenSet = false;
136
137 double m_confidence;
138 bool m_confidenceHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace TranscribeStreamingService
143} // namespace Aws
CallAnalyticsEntity & WithCategory(const Aws::String &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity()
CallAnalyticsEntity & WithBeginOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CallAnalyticsEntity(Aws::Utils::Json::JsonView jsonValue)
CallAnalyticsEntity & WithContent(Aws::String &&value)
CallAnalyticsEntity & WithType(Aws::String &&value)
CallAnalyticsEntity & WithCategory(Aws::String &&value)
CallAnalyticsEntity & WithType(const Aws::String &value)
CallAnalyticsEntity & WithContent(const Aws::String &value)
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