AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceWindowExecution.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/MaintenanceWindowExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetWindowId() const{ return m_windowId; }
48 inline bool WindowIdHasBeenSet() const { return m_windowIdHasBeenSet; }
49 inline void SetWindowId(const Aws::String& value) { m_windowIdHasBeenSet = true; m_windowId = value; }
50 inline void SetWindowId(Aws::String&& value) { m_windowIdHasBeenSet = true; m_windowId = std::move(value); }
51 inline void SetWindowId(const char* value) { m_windowIdHasBeenSet = true; m_windowId.assign(value); }
52 inline MaintenanceWindowExecution& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
53 inline MaintenanceWindowExecution& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
54 inline MaintenanceWindowExecution& WithWindowId(const char* value) { SetWindowId(value); return *this;}
56
58
61 inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
62 inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; }
63 inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = value; }
64 inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = std::move(value); }
65 inline void SetWindowExecutionId(const char* value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId.assign(value); }
67 inline MaintenanceWindowExecution& WithWindowExecutionId(Aws::String&& value) { SetWindowExecutionId(std::move(value)); return *this;}
68 inline MaintenanceWindowExecution& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;}
70
72
75 inline const MaintenanceWindowExecutionStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const MaintenanceWindowExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(MaintenanceWindowExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline MaintenanceWindowExecution& WithStatus(MaintenanceWindowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
88 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
89 inline void SetStatusDetails(const Aws::String& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
90 inline void SetStatusDetails(Aws::String&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
91 inline void SetStatusDetails(const char* value) { m_statusDetailsHasBeenSet = true; m_statusDetails.assign(value); }
92 inline MaintenanceWindowExecution& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;}
93 inline MaintenanceWindowExecution& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;}
94 inline MaintenanceWindowExecution& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
102 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
103 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
104 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
105 inline MaintenanceWindowExecution& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
106 inline MaintenanceWindowExecution& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
114 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
115 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
116 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
117 inline MaintenanceWindowExecution& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
118 inline MaintenanceWindowExecution& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_windowId;
123 bool m_windowIdHasBeenSet = false;
124
125 Aws::String m_windowExecutionId;
126 bool m_windowExecutionIdHasBeenSet = false;
127
129 bool m_statusHasBeenSet = false;
130
131 Aws::String m_statusDetails;
132 bool m_statusDetailsHasBeenSet = false;
133
134 Aws::Utils::DateTime m_startTime;
135 bool m_startTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_endTime;
138 bool m_endTimeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace SSM
143} // namespace Aws
AWS_SSM_API MaintenanceWindowExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowExecution & WithWindowExecutionId(const char *value)
MaintenanceWindowExecution & WithWindowId(Aws::String &&value)
const Aws::Utils::DateTime & GetEndTime() const
MaintenanceWindowExecution & WithWindowExecutionId(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
MaintenanceWindowExecution & WithWindowId(const char *value)
void SetStatus(MaintenanceWindowExecutionStatus &&value)
MaintenanceWindowExecution & WithStatusDetails(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
MaintenanceWindowExecution & WithWindowId(const Aws::String &value)
MaintenanceWindowExecution & WithStatus(const MaintenanceWindowExecutionStatus &value)
const MaintenanceWindowExecutionStatus & GetStatus() const
MaintenanceWindowExecution & WithStartTime(const Aws::Utils::DateTime &value)
MaintenanceWindowExecution & WithStatusDetails(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowExecution & WithStatus(MaintenanceWindowExecutionStatus &&value)
MaintenanceWindowExecution & WithWindowExecutionId(const Aws::String &value)
void SetStatus(const MaintenanceWindowExecutionStatus &value)
AWS_SSM_API MaintenanceWindowExecution(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowExecution & WithEndTime(const Aws::Utils::DateTime &value)
MaintenanceWindowExecution & WithStatusDetails(const Aws::String &value)
MaintenanceWindowExecution & WithStartTime(Aws::Utils::DateTime &&value)
MaintenanceWindowExecution & WithEndTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue