AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TimestampRange.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
26 public:
27 AWS_TRANSCRIBESTREAMINGSERVICE_API TimestampRange() = default;
28 AWS_TRANSCRIBESTREAMINGSERVICE_API TimestampRange(Aws::Utils::Json::JsonView jsonValue);
29 AWS_TRANSCRIBESTREAMINGSERVICE_API TimestampRange& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline long long GetBeginOffsetMillis() const { return m_beginOffsetMillis; }
38 inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; }
39 inline void SetBeginOffsetMillis(long long value) {
40 m_beginOffsetMillisHasBeenSet = true;
41 m_beginOffsetMillis = value;
42 }
43 inline TimestampRange& WithBeginOffsetMillis(long long value) {
45 return *this;
46 }
48
50
54 inline long long GetEndOffsetMillis() const { return m_endOffsetMillis; }
55 inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; }
56 inline void SetEndOffsetMillis(long long value) {
57 m_endOffsetMillisHasBeenSet = true;
58 m_endOffsetMillis = value;
59 }
60 inline TimestampRange& WithEndOffsetMillis(long long value) {
61 SetEndOffsetMillis(value);
62 return *this;
63 }
65 private:
66 long long m_beginOffsetMillis{0};
67
68 long long m_endOffsetMillis{0};
69 bool m_beginOffsetMillisHasBeenSet = false;
70 bool m_endOffsetMillisHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace TranscribeStreamingService
75} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API TimestampRange(Aws::Utils::Json::JsonView jsonValue)
TimestampRange & WithEndOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API TimestampRange()=default
AWS_TRANSCRIBESTREAMINGSERVICE_API TimestampRange & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestampRange & WithBeginOffsetMillis(long long value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue