AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Timing.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 MediaConvert
22{
23namespace Model
24{
25
32 class Timing
33 {
34 public:
35 AWS_MEDIACONVERT_API Timing();
36 AWS_MEDIACONVERT_API Timing(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API Timing& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetFinishTime() const{ return m_finishTime; }
46 inline bool FinishTimeHasBeenSet() const { return m_finishTimeHasBeenSet; }
47 inline void SetFinishTime(const Aws::Utils::DateTime& value) { m_finishTimeHasBeenSet = true; m_finishTime = value; }
48 inline void SetFinishTime(Aws::Utils::DateTime&& value) { m_finishTimeHasBeenSet = true; m_finishTime = std::move(value); }
49 inline Timing& WithFinishTime(const Aws::Utils::DateTime& value) { SetFinishTime(value); return *this;}
50 inline Timing& WithFinishTime(Aws::Utils::DateTime&& value) { SetFinishTime(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
58 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
59 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
60 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
61 inline Timing& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
62 inline Timing& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
70 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
71 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
72 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
73 inline Timing& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;}
74 inline Timing& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
76 private:
77
78 Aws::Utils::DateTime m_finishTime;
79 bool m_finishTimeHasBeenSet = false;
80
81 Aws::Utils::DateTime m_startTime;
82 bool m_startTimeHasBeenSet = false;
83
84 Aws::Utils::DateTime m_submitTime;
85 bool m_submitTimeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace MediaConvert
90} // namespace Aws
AWS_MEDIACONVERT_API Timing & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(Aws::Utils::DateTime &&value)
Definition Timing.h:60
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartTime() const
Definition Timing.h:57
void SetStartTime(const Aws::Utils::DateTime &value)
Definition Timing.h:59
void SetFinishTime(Aws::Utils::DateTime &&value)
Definition Timing.h:48
AWS_MEDIACONVERT_API Timing()
bool StartTimeHasBeenSet() const
Definition Timing.h:58
Timing & WithStartTime(Aws::Utils::DateTime &&value)
Definition Timing.h:62
bool FinishTimeHasBeenSet() const
Definition Timing.h:46
bool SubmitTimeHasBeenSet() const
Definition Timing.h:70
const Aws::Utils::DateTime & GetFinishTime() const
Definition Timing.h:45
void SetSubmitTime(const Aws::Utils::DateTime &value)
Definition Timing.h:71
void SetFinishTime(const Aws::Utils::DateTime &value)
Definition Timing.h:47
AWS_MEDIACONVERT_API Timing(Aws::Utils::Json::JsonView jsonValue)
Timing & WithSubmitTime(const Aws::Utils::DateTime &value)
Definition Timing.h:73
Timing & WithStartTime(const Aws::Utils::DateTime &value)
Definition Timing.h:61
Timing & WithFinishTime(Aws::Utils::DateTime &&value)
Definition Timing.h:50
const Aws::Utils::DateTime & GetSubmitTime() const
Definition Timing.h:69
void SetSubmitTime(Aws::Utils::DateTime &&value)
Definition Timing.h:72
Timing & WithFinishTime(const Aws::Utils::DateTime &value)
Definition Timing.h:49
Timing & WithSubmitTime(Aws::Utils::DateTime &&value)
Definition Timing.h:74
Aws::Utils::Json::JsonValue JsonValue