AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceWindow.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_IOT_API MaintenanceWindow();
41
42
44
47 inline const Aws::String& GetStartTime() const{ return m_startTime; }
48 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
49 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
50 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
51 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
52 inline MaintenanceWindow& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
53 inline MaintenanceWindow& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
54 inline MaintenanceWindow& WithStartTime(const char* value) { SetStartTime(value); return *this;}
56
58
61 inline int GetDurationInMinutes() const{ return m_durationInMinutes; }
62 inline bool DurationInMinutesHasBeenSet() const { return m_durationInMinutesHasBeenSet; }
63 inline void SetDurationInMinutes(int value) { m_durationInMinutesHasBeenSet = true; m_durationInMinutes = value; }
64 inline MaintenanceWindow& WithDurationInMinutes(int value) { SetDurationInMinutes(value); return *this;}
66 private:
67
68 Aws::String m_startTime;
69 bool m_startTimeHasBeenSet = false;
70
71 int m_durationInMinutes;
72 bool m_durationInMinutesHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
void SetStartTime(const char *value)
MaintenanceWindow & WithDurationInMinutes(int value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API MaintenanceWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(Aws::String &&value)
const Aws::String & GetStartTime() const
MaintenanceWindow & WithStartTime(Aws::String &&value)
MaintenanceWindow & WithStartTime(const Aws::String &value)
void SetStartTime(const Aws::String &value)
MaintenanceWindow & WithStartTime(const char *value)
AWS_IOT_API MaintenanceWindow(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue