AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Entity.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
34 class Entity
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API Entity();
38 AWS_TRANSCRIBESTREAMINGSERVICE_API Entity(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API Entity& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline double GetStartTime() const{ return m_startTime; }
49 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
50 inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; }
51 inline Entity& WithStartTime(double value) { SetStartTime(value); return *this;}
53
55
59 inline double GetEndTime() const{ return m_endTime; }
60 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
61 inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; }
62 inline Entity& WithEndTime(double value) { SetEndTime(value); return *this;}
64
66
70 inline const Aws::String& GetCategory() const{ return m_category; }
71 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
72 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
73 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
74 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
75 inline Entity& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
76 inline Entity& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
77 inline Entity& WithCategory(const char* value) { SetCategory(value); return *this;}
79
81
85 inline const Aws::String& GetType() const{ return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
88 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
89 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
90 inline Entity& WithType(const Aws::String& value) { SetType(value); return *this;}
91 inline Entity& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
92 inline Entity& WithType(const char* value) { SetType(value); return *this;}
94
96
99 inline const Aws::String& GetContent() const{ return m_content; }
100 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
101 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
102 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
103 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
104 inline Entity& WithContent(const Aws::String& value) { SetContent(value); return *this;}
105 inline Entity& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
106 inline Entity& WithContent(const char* value) { SetContent(value); return *this;}
108
110
116 inline double GetConfidence() const{ return m_confidence; }
117 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
118 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
119 inline Entity& WithConfidence(double value) { SetConfidence(value); return *this;}
121 private:
122
123 double m_startTime;
124 bool m_startTimeHasBeenSet = false;
125
126 double m_endTime;
127 bool m_endTimeHasBeenSet = false;
128
129 Aws::String m_category;
130 bool m_categoryHasBeenSet = false;
131
132 Aws::String m_type;
133 bool m_typeHasBeenSet = false;
134
135 Aws::String m_content;
136 bool m_contentHasBeenSet = false;
137
138 double m_confidence;
139 bool m_confidenceHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace TranscribeStreamingService
144} // namespace Aws
Entity & WithType(Aws::String &&value)
Definition Entity.h:91
const Aws::String & GetContent() const
Definition Entity.h:99
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Entity()
Entity & WithType(const Aws::String &value)
Definition Entity.h:90
void SetType(Aws::String &&value)
Definition Entity.h:88
Entity & WithContent(const Aws::String &value)
Definition Entity.h:104
void SetType(const Aws::String &value)
Definition Entity.h:87
AWS_TRANSCRIBESTREAMINGSERVICE_API Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
Entity & WithContent(Aws::String &&value)
Definition Entity.h:105
Entity & WithContent(const char *value)
Definition Entity.h:106
void SetContent(Aws::String &&value)
Definition Entity.h:102
const Aws::String & GetType() const
Definition Entity.h:85
Entity & WithCategory(Aws::String &&value)
Definition Entity.h:76
void SetContent(const Aws::String &value)
Definition Entity.h:101
AWS_TRANSCRIBESTREAMINGSERVICE_API Entity(Aws::Utils::Json::JsonView jsonValue)
Entity & WithCategory(const char *value)
Definition Entity.h:77
Entity & WithCategory(const Aws::String &value)
Definition Entity.h:75
void SetCategory(const Aws::String &value)
Definition Entity.h:72
const Aws::String & GetCategory() const
Definition Entity.h:70
Entity & WithType(const char *value)
Definition Entity.h:92
void SetCategory(Aws::String &&value)
Definition Entity.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue