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>
89 template <
typename TaskArnT = Aws::String>
91 m_taskArnHasBeenSet =
true;
92 m_taskArn = std::forward<TaskArnT>(value);
94 template <
typename TaskArnT = Aws::String>
108 m_typeHasBeenSet =
true;
126 template <
typename TargetsT = Aws::Vector<Target>>
128 m_targetsHasBeenSet =
true;
129 m_targets = std::forward<TargetsT>(value);
131 template <
typename TargetsT = Aws::Vector<Target>>
136 template <
typename TargetsT = Target>
138 m_targetsHasBeenSet =
true;
139 m_targets.emplace_back(std::forward<TargetsT>(value));
155 template <
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
157 m_taskParametersHasBeenSet =
true;
158 m_taskParameters = std::forward<TaskParametersT>(value);
160 template <
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
165 template <
typename TaskParametersKeyT = Aws::String,
typename TaskParametersValueT = Ma
intenanceWindowTaskParameterValueExpression>
167 m_taskParametersHasBeenSet =
true;
168 m_taskParameters.emplace(std::forward<TaskParametersKeyT>(key), std::forward<TaskParametersValueT>(value));
182 m_priorityHasBeenSet =
true;
204 template <
typename LoggingInfoT = LoggingInfo>
206 m_loggingInfoHasBeenSet =
true;
207 m_loggingInfo = std::forward<LoggingInfoT>(value);
209 template <
typename LoggingInfoT = LoggingInfo>
234 template <
typename ServiceRoleArnT = Aws::String>
236 m_serviceRoleArnHasBeenSet =
true;
237 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
239 template <
typename ServiceRoleArnT = Aws::String>
259 template <
typename MaxConcurrencyT = Aws::String>
261 m_maxConcurrencyHasBeenSet =
true;
262 m_maxConcurrency = std::forward<MaxConcurrencyT>(value);
264 template <
typename MaxConcurrencyT = Aws::String>
284 template <
typename MaxErrorsT = Aws::String>
286 m_maxErrorsHasBeenSet =
true;
287 m_maxErrors = std::forward<MaxErrorsT>(value);
289 template <
typename MaxErrorsT = Aws::String>
302 template <
typename NameT = Aws::String>
304 m_nameHasBeenSet =
true;
305 m_name = std::forward<NameT>(value);
307 template <
typename NameT = Aws::String>
309 SetName(std::forward<NameT>(value));
320 template <
typename DescriptionT = Aws::String>
322 m_descriptionHasBeenSet =
true;
323 m_description = std::forward<DescriptionT>(value);
325 template <
typename DescriptionT = Aws::String>
340 m_cutoffBehaviorHasBeenSet =
true;
341 m_cutoffBehavior = value;
356 template <
typename AlarmConfigurationT = AlarmConfiguration>
358 m_alarmConfigurationHasBeenSet =
true;
359 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
361 template <
typename AlarmConfigurationT = AlarmConfiguration>
382 LoggingInfo m_loggingInfo;
396 AlarmConfiguration m_alarmConfiguration;
397 bool m_windowIdHasBeenSet =
false;
398 bool m_windowTaskIdHasBeenSet =
false;
399 bool m_taskArnHasBeenSet =
false;
400 bool m_typeHasBeenSet =
false;
401 bool m_targetsHasBeenSet =
false;
402 bool m_taskParametersHasBeenSet =
false;
403 bool m_priorityHasBeenSet =
false;
404 bool m_loggingInfoHasBeenSet =
false;
405 bool m_serviceRoleArnHasBeenSet =
false;
406 bool m_maxConcurrencyHasBeenSet =
false;
407 bool m_maxErrorsHasBeenSet =
false;
408 bool m_nameHasBeenSet =
false;
409 bool m_descriptionHasBeenSet =
false;
410 bool m_cutoffBehaviorHasBeenSet =
false;
411 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