AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ScheduleMaintenanceWindow.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTManagedIntegrations {
20namespace Model {
21
29 public:
30 AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow() = default;
31 AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTMANAGEDINTEGRATIONS_API ScheduleMaintenanceWindow& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetDurationInMinutes() const { return m_durationInMinutes; }
40 inline bool DurationInMinutesHasBeenSet() const { return m_durationInMinutesHasBeenSet; }
41 inline void SetDurationInMinutes(int value) {
42 m_durationInMinutesHasBeenSet = true;
43 m_durationInMinutes = value;
44 }
47 return *this;
48 }
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) {
59 m_startTimeHasBeenSet = true;
60 m_startTime = std::forward<StartTimeT>(value);
61 }
62 template <typename StartTimeT = Aws::String>
64 SetStartTime(std::forward<StartTimeT>(value));
65 return *this;
66 }
68 private:
69 int m_durationInMinutes{0};
70
71 Aws::String m_startTime;
72 bool m_durationInMinutesHasBeenSet = false;
73 bool m_startTimeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace IoTManagedIntegrations
78} // 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