7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/AlarmConfiguration.h>
12#include <aws/ssm/model/LoggingInfo.h>
13#include <aws/ssm/model/MaintenanceWindowTaskCutoffBehavior.h>
14#include <aws/ssm/model/MaintenanceWindowTaskParameterValueExpression.h>
15#include <aws/ssm/model/MaintenanceWindowTaskType.h>
16#include <aws/ssm/model/Target.h>
49 template <
typename WindowIdT = Aws::String>
51 m_windowIdHasBeenSet =
true;
52 m_windowId = std::forward<WindowIdT>(value);
54 template <
typename WindowIdT = Aws::String>
67 template <
typename WindowTaskIdT = Aws::String>
69 m_windowTaskIdHasBeenSet =
true;
70 m_windowTaskId = std::forward<WindowTaskIdT>(value);
72 template <
typename WindowTaskIdT = Aws::String>
92 template <
typename TaskArnT = Aws::String>
94 m_taskArnHasBeenSet =
true;
95 m_taskArn = std::forward<TaskArnT>(value);
97 template <
typename TaskArnT = Aws::String>
111 m_typeHasBeenSet =
true;
129 template <
typename TargetsT = Aws::Vector<Target>>
131 m_targetsHasBeenSet =
true;
132 m_targets = std::forward<TargetsT>(value);
134 template <
typename TargetsT = Aws::Vector<Target>>
139 template <
typename TargetsT = Target>
141 m_targetsHasBeenSet =
true;
142 m_targets.emplace_back(std::forward<TargetsT>(value));
158 template <
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
160 m_taskParametersHasBeenSet =
true;
161 m_taskParameters = std::forward<TaskParametersT>(value);
163 template <
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
168 template <
typename TaskParametersKeyT = Aws::String,
typename TaskParametersValueT = Ma
intenanceWindowTaskParameterValueExpression>
170 m_taskParametersHasBeenSet =
true;
171 m_taskParameters.emplace(std::forward<TaskParametersKeyT>(key), std::forward<TaskParametersValueT>(value));
185 m_priorityHasBeenSet =
true;
207 template <
typename LoggingInfoT = LoggingInfo>
209 m_loggingInfoHasBeenSet =
true;
210 m_loggingInfo = std::forward<LoggingInfoT>(value);
212 template <
typename LoggingInfoT = LoggingInfo>
237 template <
typename ServiceRoleArnT = Aws::String>
239 m_serviceRoleArnHasBeenSet =
true;
240 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
242 template <
typename ServiceRoleArnT = Aws::String>
262 template <
typename MaxConcurrencyT = Aws::String>
264 m_maxConcurrencyHasBeenSet =
true;
265 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
267 template <
typename MaxConcurrencyT = Aws::String>
287 template <
typename MaxErrorsT = Aws::String>
289 m_maxErrorsHasBeenSet =
true;
290 m_maxErrors = std::forward<MaxErrorsT>(value);
292 template <
typename MaxErrorsT = Aws::String>
305 template <
typename NameT = Aws::String>
307 m_nameHasBeenSet =
true;
308 m_name = std::forward<NameT>(value);
310 template <
typename NameT = Aws::String>
312 SetName(std::forward<NameT>(value));
323 template <
typename DescriptionT = Aws::String>
325 m_descriptionHasBeenSet =
true;
326 m_description = std::forward<DescriptionT>(value);
328 template <
typename DescriptionT = Aws::String>
343 m_cutoffBehaviorHasBeenSet =
true;
344 m_cutoffBehavior = value;
359 template <
typename AlarmConfigurationT = AlarmConfiguration>
361 m_alarmConfigurationHasBeenSet =
true;
362 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
364 template <
typename AlarmConfigurationT = AlarmConfiguration>
385 LoggingInfo m_loggingInfo;
399 AlarmConfiguration m_alarmConfiguration;
400 bool m_windowIdHasBeenSet =
false;
401 bool m_windowTaskIdHasBeenSet =
false;
402 bool m_taskArnHasBeenSet =
false;
403 bool m_typeHasBeenSet =
false;
404 bool m_targetsHasBeenSet =
false;
405 bool m_taskParametersHasBeenSet =
false;
406 bool m_priorityHasBeenSet =
false;
407 bool m_loggingInfoHasBeenSet =
false;
408 bool m_serviceRoleArnHasBeenSet =
false;
409 bool m_maxConcurrencyHasBeenSet =
false;
410 bool m_maxErrorsHasBeenSet =
false;
411 bool m_nameHasBeenSet =
false;
412 bool m_descriptionHasBeenSet =
false;
413 bool m_cutoffBehaviorHasBeenSet =
false;
414 bool m_alarmConfigurationHasBeenSet =
false;
MaintenanceWindowTask & WithWindowId(WindowIdT &&value)
const Aws::String & GetWindowId() const
void SetName(NameT &&value)
AWS_SSM_API MaintenanceWindowTask(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowTask & WithCutoffBehavior(MaintenanceWindowTaskCutoffBehavior value)
MaintenanceWindowTask & WithLoggingInfo(LoggingInfoT &&value)
bool WindowTaskIdHasBeenSet() const
void SetWindowTaskId(WindowTaskIdT &&value)
MaintenanceWindowTask & WithTargets(TargetsT &&value)
const Aws::String & GetMaxConcurrency() const
void SetDescription(DescriptionT &&value)
MaintenanceWindowTask & AddTargets(TargetsT &&value)
MaintenanceWindowTask & WithAlarmConfiguration(AlarmConfigurationT &&value)
bool ServiceRoleArnHasBeenSet() const
MaintenanceWindowTask & WithWindowTaskId(WindowTaskIdT &&value)
void SetTargets(TargetsT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
void SetMaxErrors(MaxErrorsT &&value)
AWS_SSM_API MaintenanceWindowTask & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PriorityHasBeenSet() const
void SetTaskArn(TaskArnT &&value)
void SetWindowId(WindowIdT &&value)
void SetType(MaintenanceWindowTaskType value)
MaintenanceWindowTask & WithName(NameT &&value)
void SetLoggingInfo(LoggingInfoT &&value)
bool TaskParametersHasBeenSet() const
MaintenanceWindowTask & WithMaxConcurrency(MaxConcurrencyT &&value)
MaintenanceWindowTask & WithServiceRoleArn(ServiceRoleArnT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
const Aws::String & GetServiceRoleArn() const
MaintenanceWindowTask & AddTaskParameters(TaskParametersKeyT &&key, TaskParametersValueT &&value)
bool TargetsHasBeenSet() const
bool LoggingInfoHasBeenSet() const
bool TaskArnHasBeenSet() const
void SetServiceRoleArn(ServiceRoleArnT &&value)
AWS_SSM_API MaintenanceWindowTask()=default
bool AlarmConfigurationHasBeenSet() const
void SetPriority(int value)
bool DescriptionHasBeenSet() const
bool MaxConcurrencyHasBeenSet() const
const Aws::String & GetMaxErrors() const
MaintenanceWindowTask & WithPriority(int value)
const Aws::String & GetTaskArn() const
const Aws::String & GetWindowTaskId() const
const AlarmConfiguration & GetAlarmConfiguration() const
const Aws::String & GetName() const
MaintenanceWindowTaskType GetType() const
bool TypeHasBeenSet() const
void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior value)
bool WindowIdHasBeenSet() const
MaintenanceWindowTaskCutoffBehavior GetCutoffBehavior() const
void SetMaxConcurrency(MaxConcurrencyT &&value)
bool MaxErrorsHasBeenSet() const
void SetTaskParameters(TaskParametersT &&value)
const Aws::Vector< Target > & GetTargets() const
MaintenanceWindowTask & WithMaxErrors(MaxErrorsT &&value)
bool NameHasBeenSet() const
MaintenanceWindowTask & WithType(MaintenanceWindowTaskType value)
const LoggingInfo & GetLoggingInfo() const
const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > & GetTaskParameters() const
bool CutoffBehaviorHasBeenSet() const
MaintenanceWindowTask & WithTaskArn(TaskArnT &&value)
MaintenanceWindowTask & WithTaskParameters(TaskParametersT &&value)
MaintenanceWindowTask & WithDescription(DescriptionT &&value)
MaintenanceWindowTaskCutoffBehavior
MaintenanceWindowTaskType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue