7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ssm/model/MaintenanceWindowTaskInvocationParameters.h>
13#include <aws/ssm/model/LoggingInfo.h>
14#include <aws/ssm/model/MaintenanceWindowTaskCutoffBehavior.h>
15#include <aws/ssm/model/AlarmConfiguration.h>
16#include <aws/ssm/model/Target.h>
17#include <aws/ssm/model/MaintenanceWindowTaskParameterValueExpression.h>
51 template<
typename WindowIdT = Aws::String>
52 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet =
true; m_windowId = std::forward<WindowIdT>(value); }
53 template<
typename WindowIdT = Aws::String>
63 template<
typename WindowTaskIdT = Aws::String>
64 void SetWindowTaskId(WindowTaskIdT&& value) { m_windowTaskIdHasBeenSet =
true; m_windowTaskId = std::forward<WindowTaskIdT>(value); }
65 template<
typename WindowTaskIdT = Aws::String>
85 template<
typename TargetsT = Aws::Vector<Target>>
86 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
87 template<
typename TargetsT = Aws::Vector<Target>>
89 template<
typename TargetsT = Target>
99 template<
typename TaskArnT = Aws::String>
100 void SetTaskArn(TaskArnT&& value) { m_taskArnHasBeenSet =
true; m_taskArn = std::forward<TaskArnT>(value); }
101 template<
typename TaskArnT = Aws::String>
123 template<
typename ServiceRoleArnT = Aws::String>
124 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
125 template<
typename ServiceRoleArnT = Aws::String>
142 template<
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
143 void SetTaskParameters(TaskParametersT&& value) { m_taskParametersHasBeenSet =
true; m_taskParameters = std::forward<TaskParametersT>(value); }
144 template<
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
146 template<
typename TaskParametersKeyT = Aws::String,
typename TaskParametersValueT = Ma
intenanceWindowTaskParameterValueExpression>
148 m_taskParametersHasBeenSet =
true; m_taskParameters.emplace(std::forward<TaskParametersKeyT>(key), std::forward<TaskParametersValueT>(value));
return *
this;
169 template<
typename TaskInvocationParametersT = Ma
intenanceWindowTaskInvocationParameters>
170 void SetTaskInvocationParameters(TaskInvocationParametersT&& value) { m_taskInvocationParametersHasBeenSet =
true; m_taskInvocationParameters = std::forward<TaskInvocationParametersT>(value); }
171 template<
typename TaskInvocationParametersT = Ma
intenanceWindowTaskInvocationParameters>
182 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
201 template<
typename MaxConcurrencyT = Aws::String>
202 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
203 template<
typename MaxConcurrencyT = Aws::String>
221 template<
typename MaxErrorsT = Aws::String>
222 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet =
true; m_maxErrors = std::forward<MaxErrorsT>(value); }
223 template<
typename MaxErrorsT = Aws::String>
240 template<
typename LoggingInfoT = LoggingInfo>
241 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet =
true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
242 template<
typename LoggingInfoT = LoggingInfo>
252 template<
typename NameT = Aws::String>
253 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
254 template<
typename NameT = Aws::String>
264 template<
typename DescriptionT = Aws::String>
265 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
266 template<
typename DescriptionT = Aws::String>
278 inline void SetReplace(
bool value) { m_replaceHasBeenSet =
true; m_replace = value; }
309 template<
typename AlarmConfigurationT = AlarmConfiguration>
310 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
311 template<
typename AlarmConfigurationT = AlarmConfiguration>
317 bool m_windowIdHasBeenSet =
false;
320 bool m_windowTaskIdHasBeenSet =
false;
323 bool m_targetsHasBeenSet =
false;
326 bool m_taskArnHasBeenSet =
false;
329 bool m_serviceRoleArnHasBeenSet =
false;
332 bool m_taskParametersHasBeenSet =
false;
335 bool m_taskInvocationParametersHasBeenSet =
false;
338 bool m_priorityHasBeenSet =
false;
341 bool m_maxConcurrencyHasBeenSet =
false;
344 bool m_maxErrorsHasBeenSet =
false;
346 LoggingInfo m_loggingInfo;
347 bool m_loggingInfoHasBeenSet =
false;
350 bool m_nameHasBeenSet =
false;
353 bool m_descriptionHasBeenSet =
false;
355 bool m_replace{
false};
356 bool m_replaceHasBeenSet =
false;
359 bool m_cutoffBehaviorHasBeenSet =
false;
361 AlarmConfiguration m_alarmConfiguration;
362 bool m_alarmConfigurationHasBeenSet =
false;
UpdateMaintenanceWindowTaskRequest & WithTaskInvocationParameters(TaskInvocationParametersT &&value)
UpdateMaintenanceWindowTaskRequest & AddTargets(TargetsT &&value)
const Aws::String & GetWindowTaskId() const
void SetTargets(TargetsT &&value)
const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > & GetTaskParameters() const
bool ServiceRoleArnHasBeenSet() const
void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior value)
UpdateMaintenanceWindowTaskRequest & WithCutoffBehavior(MaintenanceWindowTaskCutoffBehavior value)
void SetTaskInvocationParameters(TaskInvocationParametersT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetWindowId() const
UpdateMaintenanceWindowTaskRequest & WithLoggingInfo(LoggingInfoT &&value)
void SetMaxErrors(MaxErrorsT &&value)
void SetTaskArn(TaskArnT &&value)
const Aws::String & GetMaxErrors() const
bool MaxErrorsHasBeenSet() const
bool TaskArnHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithTaskArn(TaskArnT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetMaxConcurrency() const
void SetWindowId(WindowIdT &&value)
UpdateMaintenanceWindowTaskRequest & WithTaskParameters(TaskParametersT &&value)
UpdateMaintenanceWindowTaskRequest & WithAlarmConfiguration(AlarmConfigurationT &&value)
UpdateMaintenanceWindowTaskRequest & WithPriority(int value)
void SetLoggingInfo(LoggingInfoT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SSM_API UpdateMaintenanceWindowTaskRequest()=default
const Aws::String & GetDescription() const
UpdateMaintenanceWindowTaskRequest & WithReplace(bool value)
void SetPriority(int value)
const Aws::String & GetName() const
UpdateMaintenanceWindowTaskRequest & WithName(NameT &&value)
void SetWindowTaskId(WindowTaskIdT &&value)
UpdateMaintenanceWindowTaskRequest & WithServiceRoleArn(ServiceRoleArnT &&value)
bool PriorityHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithMaxErrors(MaxErrorsT &&value)
bool TargetsHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithDescription(DescriptionT &&value)
bool TaskInvocationParametersHasBeenSet() const
void SetServiceRoleArn(ServiceRoleArnT &&value)
void SetName(NameT &&value)
bool MaxConcurrencyHasBeenSet() const
bool AlarmConfigurationHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & AddTaskParameters(TaskParametersKeyT &&key, TaskParametersValueT &&value)
MaintenanceWindowTaskCutoffBehavior GetCutoffBehavior() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetServiceRoleArn() const
const Aws::Vector< Target > & GetTargets() const
UpdateMaintenanceWindowTaskRequest & WithMaxConcurrency(MaxConcurrencyT &&value)
UpdateMaintenanceWindowTaskRequest & WithTargets(TargetsT &&value)
bool ReplaceHasBeenSet() const
bool LoggingInfoHasBeenSet() const
AWS_SSM_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
bool WindowIdHasBeenSet() const
const MaintenanceWindowTaskInvocationParameters & GetTaskInvocationParameters() const
const Aws::String & GetTaskArn() const
UpdateMaintenanceWindowTaskRequest & WithWindowId(WindowIdT &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
void SetReplace(bool value)
const LoggingInfo & GetLoggingInfo() const
bool WindowTaskIdHasBeenSet() const
bool TaskParametersHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithWindowTaskId(WindowTaskIdT &&value)
void SetTaskParameters(TaskParametersT &&value)
void SetMaxConcurrency(MaxConcurrencyT &&value)
bool CutoffBehaviorHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
MaintenanceWindowTaskCutoffBehavior
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