AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename StartTimeT = Aws::Utils::DateTime>
48 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
49 template<typename StartTimeT = Aws::Utils::DateTime>
50 HarvesterScheduleConfiguration& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(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 template<typename EndTimeT = Aws::Utils::DateTime>
60 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
61 template<typename EndTimeT = Aws::Utils::DateTime>
62 HarvesterScheduleConfiguration& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(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)
HarvesterScheduleConfiguration & WithEndTime(EndTimeT &&value)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
HarvesterScheduleConfiguration & WithStartTime(StartTimeT &&value)
AWS_MEDIAPACKAGEV2_API HarvesterScheduleConfiguration()=default
AWS_MEDIAPACKAGEV2_API HarvesterScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue