AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceSchedule.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_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 MainframeModernization
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MAINFRAMEMODERNIZATION_API MaintenanceSchedule();
35 AWS_MAINFRAMEMODERNIZATION_API MaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MAINFRAMEMODERNIZATION_API MaintenanceSchedule& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
45 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
46 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
47 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
48 inline MaintenanceSchedule& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
49 inline MaintenanceSchedule& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
57 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
58 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
59 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
60 inline MaintenanceSchedule& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
61 inline MaintenanceSchedule& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
63 private:
64
65 Aws::Utils::DateTime m_endTime;
66 bool m_endTimeHasBeenSet = false;
67
68 Aws::Utils::DateTime m_startTime;
69 bool m_startTimeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MainframeModernization
74} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceSchedule & WithEndTime(const Aws::Utils::DateTime &value)
MaintenanceSchedule & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_MAINFRAMEMODERNIZATION_API MaintenanceSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_MAINFRAMEMODERNIZATION_API MaintenanceSchedule()
AWS_MAINFRAMEMODERNIZATION_API MaintenanceSchedule(Aws::Utils::Json::JsonView jsonValue)
MaintenanceSchedule & WithEndTime(Aws::Utils::DateTime &&value)
MaintenanceSchedule & WithStartTime(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue