AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CharacterOffsets.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace TranscribeStreamingService {
17namespace Model {
18
27 public:
28 AWS_TRANSCRIBESTREAMINGSERVICE_API CharacterOffsets() = default;
29 AWS_TRANSCRIBESTREAMINGSERVICE_API CharacterOffsets(Aws::Utils::Json::JsonView jsonValue);
30 AWS_TRANSCRIBESTREAMINGSERVICE_API CharacterOffsets& operator=(Aws::Utils::Json::JsonView jsonValue);
31 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
39 inline int GetBegin() const { return m_begin; }
40 inline bool BeginHasBeenSet() const { return m_beginHasBeenSet; }
41 inline void SetBegin(int value) {
42 m_beginHasBeenSet = true;
43 m_begin = value;
44 }
45 inline CharacterOffsets& WithBegin(int value) {
46 SetBegin(value);
47 return *this;
48 }
50
52
57 inline int GetEnd() const { return m_end; }
58 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
59 inline void SetEnd(int value) {
60 m_endHasBeenSet = true;
61 m_end = value;
62 }
63 inline CharacterOffsets& WithEnd(int value) {
64 SetEnd(value);
65 return *this;
66 }
68 private:
69 int m_begin{0};
70
71 int m_end{0};
72 bool m_beginHasBeenSet = false;
73 bool m_endHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace TranscribeStreamingService
78} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API CharacterOffsets(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CharacterOffsets & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API CharacterOffsets()=default
Aws::Utils::Json::JsonValue JsonValue