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>
53 inline void SetWindowId(
const char* value) { m_windowIdHasBeenSet =
true; m_windowId.assign(value); }
67 inline void SetWindowTaskId(
const char* value) { m_windowTaskIdHasBeenSet =
true; m_windowTaskId.assign(value); }
105 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
131 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
192 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
213 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
235 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
268 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
282 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
296 inline void SetReplace(
bool value) { m_replaceHasBeenSet =
true; m_replace = value; }
337 bool m_windowIdHasBeenSet =
false;
340 bool m_windowTaskIdHasBeenSet =
false;
343 bool m_targetsHasBeenSet =
false;
346 bool m_taskArnHasBeenSet =
false;
349 bool m_serviceRoleArnHasBeenSet =
false;
352 bool m_taskParametersHasBeenSet =
false;
355 bool m_taskInvocationParametersHasBeenSet =
false;
358 bool m_priorityHasBeenSet =
false;
361 bool m_maxConcurrencyHasBeenSet =
false;
364 bool m_maxErrorsHasBeenSet =
false;
367 bool m_loggingInfoHasBeenSet =
false;
370 bool m_nameHasBeenSet =
false;
373 bool m_descriptionHasBeenSet =
false;
376 bool m_replaceHasBeenSet =
false;
379 bool m_cutoffBehaviorHasBeenSet =
false;
382 bool m_alarmConfigurationHasBeenSet =
false;
const MaintenanceWindowTaskCutoffBehavior & GetCutoffBehavior() const
void SetTaskArn(const char *value)
void SetMaxErrors(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & AddTaskParameters(const Aws::String &key, const MaintenanceWindowTaskParameterValueExpression &value)
void SetTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
void SetWindowId(Aws::String &&value)
const Aws::String & GetWindowTaskId() const
UpdateMaintenanceWindowTaskRequest & AddTaskParameters(const char *key, const MaintenanceWindowTaskParameterValueExpression &value)
void SetName(const char *value)
const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > & GetTaskParameters() const
bool ServiceRoleArnHasBeenSet() const
void SetTaskArn(const Aws::String &value)
const Aws::String & GetWindowId() const
void SetTargets(Aws::Vector< Target > &&value)
void SetName(const Aws::String &value)
UpdateMaintenanceWindowTaskRequest & WithCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
UpdateMaintenanceWindowTaskRequest & AddTaskParameters(const char *key, MaintenanceWindowTaskParameterValueExpression &&value)
UpdateMaintenanceWindowTaskRequest & WithWindowId(const Aws::String &value)
UpdateMaintenanceWindowTaskRequest & WithTaskInvocationParameters(const MaintenanceWindowTaskInvocationParameters &value)
UpdateMaintenanceWindowTaskRequest & WithWindowTaskId(const Aws::String &value)
void SetWindowTaskId(const char *value)
void SetWindowTaskId(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & WithMaxErrors(Aws::String &&value)
void SetName(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & WithWindowTaskId(Aws::String &&value)
void SetWindowTaskId(const Aws::String &value)
const Aws::String & GetMaxErrors() const
AWS_SSM_API UpdateMaintenanceWindowTaskRequest()
bool MaxErrorsHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithTaskArn(const Aws::String &value)
bool TaskArnHasBeenSet() const
void SetDescription(const char *value)
UpdateMaintenanceWindowTaskRequest & WithMaxErrors(const char *value)
UpdateMaintenanceWindowTaskRequest & WithCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
UpdateMaintenanceWindowTaskRequest & WithServiceRoleArn(const Aws::String &value)
void SetTargets(const Aws::Vector< Target > &value)
void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
void SetServiceRoleArn(Aws::String &&value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
UpdateMaintenanceWindowTaskRequest & WithServiceRoleArn(Aws::String &&value)
bool DescriptionHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & AddTaskParameters(Aws::String &&key, const MaintenanceWindowTaskParameterValueExpression &value)
const Aws::String & GetMaxConcurrency() const
void SetMaxErrors(const char *value)
UpdateMaintenanceWindowTaskRequest & WithTaskArn(Aws::String &&value)
void SetMaxConcurrency(const char *value)
UpdateMaintenanceWindowTaskRequest & WithPriority(int value)
void SetTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters &&value)
virtual const char * GetServiceRequestName() const override
UpdateMaintenanceWindowTaskRequest & AddTargets(const Target &value)
UpdateMaintenanceWindowTaskRequest & WithName(const Aws::String &value)
UpdateMaintenanceWindowTaskRequest & WithWindowId(Aws::String &&value)
const Aws::String & GetDescription() const
UpdateMaintenanceWindowTaskRequest & WithReplace(bool value)
UpdateMaintenanceWindowTaskRequest & WithDescription(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & WithAlarmConfiguration(AlarmConfiguration &&value)
void SetPriority(int value)
void SetTaskInvocationParameters(const MaintenanceWindowTaskInvocationParameters &value)
void SetTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
const Aws::String & GetName() const
UpdateMaintenanceWindowTaskRequest & WithMaxConcurrency(const char *value)
UpdateMaintenanceWindowTaskRequest & WithWindowId(const char *value)
bool PriorityHasBeenSet() const
bool TargetsHasBeenSet() const
void SetMaxConcurrency(const Aws::String &value)
bool TaskInvocationParametersHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithMaxErrors(const Aws::String &value)
void SetTaskArn(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & AddTargets(Target &&value)
bool MaxConcurrencyHasBeenSet() const
bool AlarmConfigurationHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithTargets(const Aws::Vector< Target > &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetWindowId(const char *value)
const Aws::String & GetServiceRoleArn() const
UpdateMaintenanceWindowTaskRequest & WithName(const char *value)
const Aws::Vector< Target > & GetTargets() const
void SetLoggingInfo(LoggingInfo &&value)
void SetMaxErrors(const Aws::String &value)
bool ReplaceHasBeenSet() const
bool LoggingInfoHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & WithAlarmConfiguration(const AlarmConfiguration &value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdateMaintenanceWindowTaskRequest & WithWindowTaskId(const char *value)
void SetDescription(const Aws::String &value)
UpdateMaintenanceWindowTaskRequest & WithTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
bool NameHasBeenSet() const
UpdateMaintenanceWindowTaskRequest & AddTaskParameters(const Aws::String &key, MaintenanceWindowTaskParameterValueExpression &&value)
void SetWindowId(const Aws::String &value)
UpdateMaintenanceWindowTaskRequest & WithName(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & WithTargets(Aws::Vector< Target > &&value)
bool WindowIdHasBeenSet() const
const MaintenanceWindowTaskInvocationParameters & GetTaskInvocationParameters() const
const Aws::String & GetTaskArn() const
void SetDescription(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & WithServiceRoleArn(const char *value)
UpdateMaintenanceWindowTaskRequest & WithLoggingInfo(LoggingInfo &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
UpdateMaintenanceWindowTaskRequest & WithMaxConcurrency(Aws::String &&value)
void SetReplace(bool value)
UpdateMaintenanceWindowTaskRequest & WithTaskArn(const char *value)
void SetLoggingInfo(const LoggingInfo &value)
void SetMaxConcurrency(Aws::String &&value)
UpdateMaintenanceWindowTaskRequest & WithLoggingInfo(const LoggingInfo &value)
const LoggingInfo & GetLoggingInfo() const
void SetCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
UpdateMaintenanceWindowTaskRequest & WithTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
UpdateMaintenanceWindowTaskRequest & AddTaskParameters(Aws::String &&key, MaintenanceWindowTaskParameterValueExpression &&value)
void SetServiceRoleArn(const char *value)
UpdateMaintenanceWindowTaskRequest & WithMaxConcurrency(const Aws::String &value)
bool WindowTaskIdHasBeenSet() const
bool TaskParametersHasBeenSet() const
void SetServiceRoleArn(const Aws::String &value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
UpdateMaintenanceWindowTaskRequest & WithDescription(const char *value)
UpdateMaintenanceWindowTaskRequest & WithDescription(const Aws::String &value)
UpdateMaintenanceWindowTaskRequest & WithTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters &&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