7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/model/MaintenanceWindowTaskType.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>
22template<
typename RESULT_TYPE>
23class AmazonWebServiceResult;
49 template<
typename WindowIdT = Aws::String>
50 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet =
true; m_windowId = std::forward<WindowIdT>(value); }
51 template<
typename WindowIdT = Aws::String>
60 template<
typename WindowTaskIdT = Aws::String>
61 void SetWindowTaskId(WindowTaskIdT&& value) { m_windowTaskIdHasBeenSet =
true; m_windowTaskId = std::forward<WindowTaskIdT>(value); }
62 template<
typename WindowTaskIdT = Aws::String>
71 template<
typename TargetsT = Aws::Vector<Target>>
72 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
73 template<
typename TargetsT = Aws::Vector<Target>>
75 template<
typename TargetsT = Target>
88 template<
typename TaskArnT = Aws::String>
89 void SetTaskArn(TaskArnT&& value) { m_taskArnHasBeenSet =
true; m_taskArn = std::forward<TaskArnT>(value); }
90 template<
typename TaskArnT = Aws::String>
111 template<
typename ServiceRoleArnT = Aws::String>
112 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
113 template<
typename ServiceRoleArnT = Aws::String>
136 template<
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
137 void SetTaskParameters(TaskParametersT&& value) { m_taskParametersHasBeenSet =
true; m_taskParameters = std::forward<TaskParametersT>(value); }
138 template<
typename TaskParametersT = Aws::Map<Aws::String, Ma
intenanceWindowTaskParameterValueExpression>>
140 template<
typename TaskParametersKeyT = Aws::String,
typename TaskParametersValueT = Ma
intenanceWindowTaskParameterValueExpression>
142 m_taskParametersHasBeenSet =
true; m_taskParameters.emplace(std::forward<TaskParametersKeyT>(key), std::forward<TaskParametersValueT>(value));
return *
this;
151 template<
typename TaskInvocationParametersT = Ma
intenanceWindowTaskInvocationParameters>
152 void SetTaskInvocationParameters(TaskInvocationParametersT&& value) { m_taskInvocationParametersHasBeenSet =
true; m_taskInvocationParameters = std::forward<TaskInvocationParametersT>(value); }
153 template<
typename TaskInvocationParametersT = Ma
intenanceWindowTaskInvocationParameters>
163 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
176 template<
typename MaxConcurrencyT = Aws::String>
177 void SetMaxConcurrency(MaxConcurrencyT&& value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = std::forward<MaxConcurrencyT>(value); }
178 template<
typename MaxConcurrencyT = Aws::String>
192 template<
typename MaxErrorsT = Aws::String>
193 void SetMaxErrors(MaxErrorsT&& value) { m_maxErrorsHasBeenSet =
true; m_maxErrors = std::forward<MaxErrorsT>(value); }
194 template<
typename MaxErrorsT = Aws::String>
211 template<
typename LoggingInfoT = LoggingInfo>
212 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet =
true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
213 template<
typename LoggingInfoT = LoggingInfo>
222 template<
typename NameT = Aws::String>
223 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
224 template<
typename NameT = Aws::String>
233 template<
typename DescriptionT = Aws::String>
234 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
235 template<
typename DescriptionT = Aws::String>
259 template<
typename AlarmConfigurationT = AlarmConfiguration>
260 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
261 template<
typename AlarmConfigurationT = AlarmConfiguration>
268 template<
typename RequestIdT = Aws::String>
269 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
270 template<
typename RequestIdT = Aws::String>
276 bool m_windowIdHasBeenSet =
false;
279 bool m_windowTaskIdHasBeenSet =
false;
282 bool m_targetsHasBeenSet =
false;
285 bool m_taskArnHasBeenSet =
false;
288 bool m_serviceRoleArnHasBeenSet =
false;
291 bool m_taskTypeHasBeenSet =
false;
294 bool m_taskParametersHasBeenSet =
false;
296 MaintenanceWindowTaskInvocationParameters m_taskInvocationParameters;
297 bool m_taskInvocationParametersHasBeenSet =
false;
300 bool m_priorityHasBeenSet =
false;
303 bool m_maxConcurrencyHasBeenSet =
false;
306 bool m_maxErrorsHasBeenSet =
false;
308 LoggingInfo m_loggingInfo;
309 bool m_loggingInfoHasBeenSet =
false;
312 bool m_nameHasBeenSet =
false;
315 bool m_descriptionHasBeenSet =
false;
318 bool m_cutoffBehaviorHasBeenSet =
false;
320 AlarmConfiguration m_alarmConfiguration;
321 bool m_alarmConfigurationHasBeenSet =
false;
324 bool m_requestIdHasBeenSet =
false;
GetMaintenanceWindowTaskResult & WithName(NameT &&value)
MaintenanceWindowTaskCutoffBehavior GetCutoffBehavior() const
const Aws::String & GetMaxErrors() const
GetMaintenanceWindowTaskResult & WithMaxErrors(MaxErrorsT &&value)
GetMaintenanceWindowTaskResult & WithWindowTaskId(WindowTaskIdT &&value)
AWS_SSM_API GetMaintenanceWindowTaskResult()=default
GetMaintenanceWindowTaskResult & WithTaskArn(TaskArnT &&value)
void SetMaxConcurrency(MaxConcurrencyT &&value)
GetMaintenanceWindowTaskResult & AddTaskParameters(TaskParametersKeyT &&key, TaskParametersValueT &&value)
GetMaintenanceWindowTaskResult & WithTaskParameters(TaskParametersT &&value)
void SetWindowTaskId(WindowTaskIdT &&value)
const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > & GetTaskParameters() const
GetMaintenanceWindowTaskResult & WithLoggingInfo(LoggingInfoT &&value)
GetMaintenanceWindowTaskResult & WithAlarmConfiguration(AlarmConfigurationT &&value)
GetMaintenanceWindowTaskResult & WithTaskInvocationParameters(TaskInvocationParametersT &&value)
AWS_SSM_API GetMaintenanceWindowTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMaintenanceWindowTaskResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetWindowId() const
void SetWindowId(WindowIdT &&value)
void SetName(NameT &&value)
void SetTaskArn(TaskArnT &&value)
void SetMaxErrors(MaxErrorsT &&value)
AWS_SSM_API GetMaintenanceWindowTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetMaintenanceWindowTaskResult & WithCutoffBehavior(MaintenanceWindowTaskCutoffBehavior value)
MaintenanceWindowTaskType GetTaskType() const
void SetTargets(TargetsT &&value)
void SetTaskType(MaintenanceWindowTaskType value)
void SetPriority(int value)
GetMaintenanceWindowTaskResult & WithPriority(int value)
GetMaintenanceWindowTaskResult & AddTargets(TargetsT &&value)
void SetTaskInvocationParameters(TaskInvocationParametersT &&value)
GetMaintenanceWindowTaskResult & WithTargets(TargetsT &&value)
GetMaintenanceWindowTaskResult & WithWindowId(WindowIdT &&value)
GetMaintenanceWindowTaskResult & WithMaxConcurrency(MaxConcurrencyT &&value)
GetMaintenanceWindowTaskResult & WithTaskType(MaintenanceWindowTaskType value)
void SetLoggingInfo(LoggingInfoT &&value)
void SetTaskParameters(TaskParametersT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetWindowTaskId() const
void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior value)
const Aws::String & GetDescription() const
const AlarmConfiguration & GetAlarmConfiguration() const
GetMaintenanceWindowTaskResult & WithDescription(DescriptionT &&value)
const Aws::Vector< Target > & GetTargets() const
const Aws::String & GetTaskArn() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
void SetServiceRoleArn(ServiceRoleArnT &&value)
const Aws::String & GetServiceRoleArn() const
const Aws::String & GetMaxConcurrency() const
GetMaintenanceWindowTaskResult & WithServiceRoleArn(ServiceRoleArnT &&value)
const LoggingInfo & GetLoggingInfo() const
const MaintenanceWindowTaskInvocationParameters & GetTaskInvocationParameters() const
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