AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMaintenanceWindowResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SSM_API UpdateMaintenanceWindowResult() = default;
33
34
36
39 inline const Aws::String& GetWindowId() const { return m_windowId; }
40 template<typename WindowIdT = Aws::String>
41 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet = true; m_windowId = std::forward<WindowIdT>(value); }
42 template<typename WindowIdT = Aws::String>
43 UpdateMaintenanceWindowResult& WithWindowId(WindowIdT&& value) { SetWindowId(std::forward<WindowIdT>(value)); return *this;}
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 UpdateMaintenanceWindowResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 template<typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
64 template<typename DescriptionT = Aws::String>
65 UpdateMaintenanceWindowResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
74 inline const Aws::String& GetStartDate() const { return m_startDate; }
75 template<typename StartDateT = Aws::String>
76 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
77 template<typename StartDateT = Aws::String>
78 UpdateMaintenanceWindowResult& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
80
82
87 inline const Aws::String& GetEndDate() const { return m_endDate; }
88 template<typename EndDateT = Aws::String>
89 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet = true; m_endDate = std::forward<EndDateT>(value); }
90 template<typename EndDateT = Aws::String>
91 UpdateMaintenanceWindowResult& WithEndDate(EndDateT&& value) { SetEndDate(std::forward<EndDateT>(value)); return *this;}
93
95
99 inline const Aws::String& GetSchedule() const { return m_schedule; }
100 template<typename ScheduleT = Aws::String>
101 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
102 template<typename ScheduleT = Aws::String>
103 UpdateMaintenanceWindowResult& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
105
107
114 inline const Aws::String& GetScheduleTimezone() const { return m_scheduleTimezone; }
115 template<typename ScheduleTimezoneT = Aws::String>
116 void SetScheduleTimezone(ScheduleTimezoneT&& value) { m_scheduleTimezoneHasBeenSet = true; m_scheduleTimezone = std::forward<ScheduleTimezoneT>(value); }
117 template<typename ScheduleTimezoneT = Aws::String>
118 UpdateMaintenanceWindowResult& WithScheduleTimezone(ScheduleTimezoneT&& value) { SetScheduleTimezone(std::forward<ScheduleTimezoneT>(value)); return *this;}
120
122
126 inline int GetScheduleOffset() const { return m_scheduleOffset; }
127 inline void SetScheduleOffset(int value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
128 inline UpdateMaintenanceWindowResult& WithScheduleOffset(int value) { SetScheduleOffset(value); return *this;}
130
132
135 inline int GetDuration() const { return m_duration; }
136 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
137 inline UpdateMaintenanceWindowResult& WithDuration(int value) { SetDuration(value); return *this;}
139
141
145 inline int GetCutoff() const { return m_cutoff; }
146 inline void SetCutoff(int value) { m_cutoffHasBeenSet = true; m_cutoff = value; }
147 inline UpdateMaintenanceWindowResult& WithCutoff(int value) { SetCutoff(value); return *this;}
149
151
155 inline bool GetAllowUnassociatedTargets() const { return m_allowUnassociatedTargets; }
156 inline void SetAllowUnassociatedTargets(bool value) { m_allowUnassociatedTargetsHasBeenSet = true; m_allowUnassociatedTargets = value; }
159
161
164 inline bool GetEnabled() const { return m_enabled; }
165 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
166 inline UpdateMaintenanceWindowResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
168
170
171 inline const Aws::String& GetRequestId() const { return m_requestId; }
172 template<typename RequestIdT = Aws::String>
173 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
174 template<typename RequestIdT = Aws::String>
175 UpdateMaintenanceWindowResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
177 private:
178
179 Aws::String m_windowId;
180 bool m_windowIdHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
188 Aws::String m_startDate;
189 bool m_startDateHasBeenSet = false;
190
191 Aws::String m_endDate;
192 bool m_endDateHasBeenSet = false;
193
194 Aws::String m_schedule;
195 bool m_scheduleHasBeenSet = false;
196
197 Aws::String m_scheduleTimezone;
198 bool m_scheduleTimezoneHasBeenSet = false;
199
200 int m_scheduleOffset{0};
201 bool m_scheduleOffsetHasBeenSet = false;
202
203 int m_duration{0};
204 bool m_durationHasBeenSet = false;
205
206 int m_cutoff{0};
207 bool m_cutoffHasBeenSet = false;
208
209 bool m_allowUnassociatedTargets{false};
210 bool m_allowUnassociatedTargetsHasBeenSet = false;
211
212 bool m_enabled{false};
213 bool m_enabledHasBeenSet = false;
214
215 Aws::String m_requestId;
216 bool m_requestIdHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace SSM
221} // namespace Aws
UpdateMaintenanceWindowResult & WithDescription(DescriptionT &&value)
UpdateMaintenanceWindowResult & WithWindowId(WindowIdT &&value)
UpdateMaintenanceWindowResult & WithDuration(int value)
UpdateMaintenanceWindowResult & WithEndDate(EndDateT &&value)
UpdateMaintenanceWindowResult & WithScheduleTimezone(ScheduleTimezoneT &&value)
UpdateMaintenanceWindowResult & WithCutoff(int value)
UpdateMaintenanceWindowResult & WithRequestId(RequestIdT &&value)
UpdateMaintenanceWindowResult & WithName(NameT &&value)
AWS_SSM_API UpdateMaintenanceWindowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowResult & WithSchedule(ScheduleT &&value)
UpdateMaintenanceWindowResult & WithEnabled(bool value)
UpdateMaintenanceWindowResult & WithAllowUnassociatedTargets(bool value)
AWS_SSM_API UpdateMaintenanceWindowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowResult & WithStartDate(StartDateT &&value)
UpdateMaintenanceWindowResult & WithScheduleOffset(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue