AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HarvesterScheduleConfiguration.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_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 mediapackagev2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIAPACKAGEV2_API HarvesterScheduleConfiguration();
38 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
46 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
47 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
48 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
50 inline HarvesterScheduleConfiguration& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
58 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
59 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
60 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
61 inline HarvesterScheduleConfiguration& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
62 inline HarvesterScheduleConfiguration& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
64 private:
65
66 Aws::Utils::DateTime m_startTime;
67 bool m_startTimeHasBeenSet = false;
68
69 Aws::Utils::DateTime m_endTime;
70 bool m_endTimeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace mediapackagev2
75} // namespace Aws
AWS_MEDIAPACKAGEV2_API HarvesterScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGEV2_API HarvesterScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HarvesterScheduleConfiguration & WithEndTime(Aws::Utils::DateTime &&value)
HarvesterScheduleConfiguration & WithStartTime(Aws::Utils::DateTime &&value)
HarvesterScheduleConfiguration & WithEndTime(const Aws::Utils::DateTime &value)
HarvesterScheduleConfiguration & WithStartTime(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue