AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AbsoluteTimeRange.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TranscribeService
20{
21namespace Model
22{
23
44 {
45 public:
46 AWS_TRANSCRIBESERVICE_API AbsoluteTimeRange();
47 AWS_TRANSCRIBESERVICE_API AbsoluteTimeRange(Aws::Utils::Json::JsonView jsonValue);
48 AWS_TRANSCRIBESERVICE_API AbsoluteTimeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
58 inline long long GetStartTime() const{ return m_startTime; }
59 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
60 inline void SetStartTime(long long value) { m_startTimeHasBeenSet = true; m_startTime = value; }
61 inline AbsoluteTimeRange& WithStartTime(long long value) { SetStartTime(value); return *this;}
63
65
70 inline long long GetEndTime() const{ return m_endTime; }
71 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
72 inline void SetEndTime(long long value) { m_endTimeHasBeenSet = true; m_endTime = value; }
73 inline AbsoluteTimeRange& WithEndTime(long long value) { SetEndTime(value); return *this;}
75
77
82 inline long long GetFirst() const{ return m_first; }
83 inline bool FirstHasBeenSet() const { return m_firstHasBeenSet; }
84 inline void SetFirst(long long value) { m_firstHasBeenSet = true; m_first = value; }
85 inline AbsoluteTimeRange& WithFirst(long long value) { SetFirst(value); return *this;}
87
89
94 inline long long GetLast() const{ return m_last; }
95 inline bool LastHasBeenSet() const { return m_lastHasBeenSet; }
96 inline void SetLast(long long value) { m_lastHasBeenSet = true; m_last = value; }
97 inline AbsoluteTimeRange& WithLast(long long value) { SetLast(value); return *this;}
99 private:
100
101 long long m_startTime;
102 bool m_startTimeHasBeenSet = false;
103
104 long long m_endTime;
105 bool m_endTimeHasBeenSet = false;
106
107 long long m_first;
108 bool m_firstHasBeenSet = false;
109
110 long long m_last;
111 bool m_lastHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace TranscribeService
116} // namespace Aws
AbsoluteTimeRange & WithLast(long long value)
AWS_TRANSCRIBESERVICE_API AbsoluteTimeRange()
AbsoluteTimeRange & WithStartTime(long long value)
AWS_TRANSCRIBESERVICE_API AbsoluteTimeRange(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AbsoluteTimeRange & WithEndTime(long long value)
AWS_TRANSCRIBESERVICE_API AbsoluteTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AbsoluteTimeRange & WithFirst(long long value)
Aws::Utils::Json::JsonValue JsonValue