AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
ScheduleMaintenanceWindow.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 IoTManagedIntegrations
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow() = default;
36 AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetDurationInMinutes() const { return m_durationInMinutes; }
46 inline bool DurationInMinutesHasBeenSet() const { return m_durationInMinutesHasBeenSet; }
47 inline void SetDurationInMinutes(int value) { m_durationInMinutesHasBeenSet = true; m_durationInMinutes = value; }
48 inline ScheduleMaintenanceWindow& WithDurationInMinutes(int value) { SetDurationInMinutes(value); return *this;}
50
52
55 inline const Aws::String& GetStartTime() const { return m_startTime; }
56 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
57 template<typename StartTimeT = Aws::String>
58 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
59 template<typename StartTimeT = Aws::String>
60 ScheduleMaintenanceWindow& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
62 private:
63
64 int m_durationInMinutes{0};
65 bool m_durationInMinutesHasBeenSet = false;
66
67 Aws::String m_startTime;
68 bool m_startTimeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IoTManagedIntegrations
73} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow()=default
ScheduleMaintenanceWindow & WithStartTime(StartTimeT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue