AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HarvesterScheduleConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mediapackagev2 {
20namespace Model {
21
29 public:
30 AWS_MEDIAPACKAGEV2_API HarvesterScheduleConfiguration() = default;
33 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
40 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
41 template <typename StartTimeT = Aws::Utils::DateTime>
42 void SetStartTime(StartTimeT&& value) {
43 m_startTimeHasBeenSet = true;
44 m_startTime = std::forward<StartTimeT>(value);
45 }
46 template <typename StartTimeT = Aws::Utils::DateTime>
48 SetStartTime(std::forward<StartTimeT>(value));
49 return *this;
50 }
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) {
61 m_endTimeHasBeenSet = true;
62 m_endTime = std::forward<EndTimeT>(value);
63 }
64 template <typename EndTimeT = Aws::Utils::DateTime>
66 SetEndTime(std::forward<EndTimeT>(value));
67 return *this;
68 }
70 private:
71 Aws::Utils::DateTime m_startTime{};
72
73 Aws::Utils::DateTime m_endTime{};
74 bool m_startTimeHasBeenSet = false;
75 bool m_endTimeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace mediapackagev2
80} // 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