7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/MaintenanceWindowTaskType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ssm/model/LoggingInfo.h>
13#include <aws/ssm/model/MaintenanceWindowTaskCutoffBehavior.h>
14#include <aws/ssm/model/AlarmConfiguration.h>
15#include <aws/ssm/model/Target.h>
16#include <aws/ssm/model/MaintenanceWindowTaskParameterValueExpression.h>
55 template<
typename WindowIdT = Aws::String>
56 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet =
true; m_windowId = std::forward<WindowIdT>(value); }
57 template<
typename WindowIdT = Aws::String>
67 template<
typename WindowTaskIdT = Aws::String>
68 void SetWindowTaskId(WindowTaskIdT&& value) { m_windowTaskIdHasBeenSet =
true; m_windowTaskId = std::forward<WindowTaskIdT>(value); }
69 template<
typename WindowTaskIdT = Aws::String>
83 template<
typename TaskArnT = Aws::String>
84 void SetTaskArn(TaskArnT&& value) { m_taskArnHasBeenSet =
true; m_taskArn = std::forward<TaskArnT>(value); }
85 template<
typename TaskArnT = Aws::String>
108 template<
typename TargetsT = Aws::Vector<Target>>
109 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
110 template<
typename TargetsT = Aws::Vector<Target>>
112 template<
typename TargetsT = Target>
127 template<
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
128 void SetTaskParameters(TaskParametersT&& value) { m_taskParametersHasBeenSet =
true; m_taskParameters = std::forward<TaskParametersT>(value); }
129 template<
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
131 template<
typename TaskParametersKeyT = Aws::String,
typename TaskParametersValueT = Ma
intenanceWindowTaskParameterValueExpression>
133 m_taskParametersHasBeenSet =
true; m_taskParameters.emplace(std::forward<TaskParametersKeyT>(key), std::forward<TaskParametersValueT>(value));
return *
this;
145 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
162 template<
typename LoggingInfoT = LoggingInfo>
163 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet =
true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
164 template<
typename LoggingInfoT = LoggingInfo>
186 template<
typename ServiceRoleArnT = Aws::String>
187 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
188 template<
typename ServiceRoleArnT = Aws::String>
205 template<
typename MaxConcurrencyT = Aws::String>
206 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
207 template<
typename MaxConcurrencyT = Aws::String>
224 template<
typename MaxErrorsT = Aws::String>
225 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet =
true; m_maxErrors = std::forward<MaxErrorsT>(value); }
226 template<
typename MaxErrorsT = Aws::String>
236 template<
typename NameT = Aws::String>
237 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
238 template<
typename NameT = Aws::String>
248 template<
typename DescriptionT = Aws::String>
249 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
250 template<
typename DescriptionT = Aws::String>
272 template<
typename AlarmConfigurationT = AlarmConfiguration>
273 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
274 template<
typename AlarmConfigurationT = AlarmConfiguration>
280 bool m_windowIdHasBeenSet =
false;
283 bool m_windowTaskIdHasBeenSet =
false;
286 bool m_taskArnHasBeenSet =
false;
289 bool m_typeHasBeenSet =
false;
292 bool m_targetsHasBeenSet =
false;
295 bool m_taskParametersHasBeenSet =
false;
298 bool m_priorityHasBeenSet =
false;
300 LoggingInfo m_loggingInfo;
301 bool m_loggingInfoHasBeenSet =
false;
304 bool m_serviceRoleArnHasBeenSet =
false;
307 bool m_maxConcurrencyHasBeenSet =
false;
310 bool m_maxErrorsHasBeenSet =
false;
313 bool m_nameHasBeenSet =
false;
316 bool m_descriptionHasBeenSet =
false;
319 bool m_cutoffBehaviorHasBeenSet =
false;
321 AlarmConfiguration m_alarmConfiguration;
322 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