AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelativeTimeRange.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
41 {
42 public:
43 AWS_TRANSCRIBESERVICE_API RelativeTimeRange();
44 AWS_TRANSCRIBESERVICE_API RelativeTimeRange(Aws::Utils::Json::JsonView jsonValue);
45 AWS_TRANSCRIBESERVICE_API RelativeTimeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
56 inline int GetStartPercentage() const{ return m_startPercentage; }
57 inline bool StartPercentageHasBeenSet() const { return m_startPercentageHasBeenSet; }
58 inline void SetStartPercentage(int value) { m_startPercentageHasBeenSet = true; m_startPercentage = value; }
59 inline RelativeTimeRange& WithStartPercentage(int value) { SetStartPercentage(value); return *this;}
61
63
68 inline int GetEndPercentage() const{ return m_endPercentage; }
69 inline bool EndPercentageHasBeenSet() const { return m_endPercentageHasBeenSet; }
70 inline void SetEndPercentage(int value) { m_endPercentageHasBeenSet = true; m_endPercentage = value; }
71 inline RelativeTimeRange& WithEndPercentage(int value) { SetEndPercentage(value); return *this;}
73
75
80 inline int GetFirst() const{ return m_first; }
81 inline bool FirstHasBeenSet() const { return m_firstHasBeenSet; }
82 inline void SetFirst(int value) { m_firstHasBeenSet = true; m_first = value; }
83 inline RelativeTimeRange& WithFirst(int value) { SetFirst(value); return *this;}
85
87
92 inline int GetLast() const{ return m_last; }
93 inline bool LastHasBeenSet() const { return m_lastHasBeenSet; }
94 inline void SetLast(int value) { m_lastHasBeenSet = true; m_last = value; }
95 inline RelativeTimeRange& WithLast(int value) { SetLast(value); return *this;}
97 private:
98
99 int m_startPercentage;
100 bool m_startPercentageHasBeenSet = false;
101
102 int m_endPercentage;
103 bool m_endPercentageHasBeenSet = false;
104
105 int m_first;
106 bool m_firstHasBeenSet = false;
107
108 int m_last;
109 bool m_lastHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace TranscribeService
114} // namespace Aws
AWS_TRANSCRIBESERVICE_API RelativeTimeRange(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESERVICE_API RelativeTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API RelativeTimeRange()
RelativeTimeRange & WithStartPercentage(int value)
Aws::Utils::Json::JsonValue JsonValue