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/ssm/model/MaintenanceWindowTaskType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ssm/model/MaintenanceWindowTaskInvocationParameters.h>
14#include <aws/ssm/model/LoggingInfo.h>
15#include <aws/ssm/model/MaintenanceWindowTaskCutoffBehavior.h>
16#include <aws/ssm/model/AlarmConfiguration.h>
17#include <aws/ssm/model/Target.h>
18#include <aws/ssm/model/MaintenanceWindowTaskParameterValueExpression.h>
20#include <aws/core/utils/UUID.h>
40 inline virtual const char*
GetServiceRequestName()
const override {
return "RegisterTaskWithMaintenanceWindow"; }
55 inline void SetWindowId(
const char* value) { m_windowIdHasBeenSet =
true; m_windowId.assign(value); }
95 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
121 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
183 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
202 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
223 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
257 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
271 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
285 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
328 bool m_windowIdHasBeenSet =
false;
331 bool m_targetsHasBeenSet =
false;
334 bool m_taskArnHasBeenSet =
false;
337 bool m_serviceRoleArnHasBeenSet =
false;
340 bool m_taskTypeHasBeenSet =
false;
343 bool m_taskParametersHasBeenSet =
false;
346 bool m_taskInvocationParametersHasBeenSet =
false;
349 bool m_priorityHasBeenSet =
false;
352 bool m_maxConcurrencyHasBeenSet =
false;
355 bool m_maxErrorsHasBeenSet =
false;
358 bool m_loggingInfoHasBeenSet =
false;
361 bool m_nameHasBeenSet =
false;
364 bool m_descriptionHasBeenSet =
false;
367 bool m_clientTokenHasBeenSet =
false;
370 bool m_cutoffBehaviorHasBeenSet =
false;
373 bool m_alarmConfigurationHasBeenSet =
false;
void SetTaskInvocationParameters(const MaintenanceWindowTaskInvocationParameters &value)
bool MaxConcurrencyHasBeenSet() const
const Aws::String & GetName() const
void SetDescription(Aws::String &&value)
RegisterTaskWithMaintenanceWindowRequest & WithWindowId(Aws::String &&value)
const Aws::Vector< Target > & GetTargets() const
RegisterTaskWithMaintenanceWindowRequest & WithTaskInvocationParameters(const MaintenanceWindowTaskInvocationParameters &value)
void SetName(Aws::String &&value)
void SetServiceRoleArn(const char *value)
RegisterTaskWithMaintenanceWindowRequest & WithLoggingInfo(LoggingInfo &&value)
RegisterTaskWithMaintenanceWindowRequest & WithTargets(Aws::Vector< Target > &&value)
RegisterTaskWithMaintenanceWindowRequest & WithTaskType(MaintenanceWindowTaskType &&value)
virtual const char * GetServiceRequestName() const override
AWS_SSM_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithTaskArn(Aws::String &&value)
RegisterTaskWithMaintenanceWindowRequest & WithLoggingInfo(const LoggingInfo &value)
RegisterTaskWithMaintenanceWindowRequest & WithName(Aws::String &&value)
const MaintenanceWindowTaskType & GetTaskType() const
void SetTargets(const Aws::Vector< Target > &value)
RegisterTaskWithMaintenanceWindowRequest & AddTaskParameters(const char *key, const MaintenanceWindowTaskParameterValueExpression &value)
RegisterTaskWithMaintenanceWindowRequest & WithServiceRoleArn(const char *value)
RegisterTaskWithMaintenanceWindowRequest & WithMaxConcurrency(const char *value)
const LoggingInfo & GetLoggingInfo() const
bool AlarmConfigurationHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
const MaintenanceWindowTaskInvocationParameters & GetTaskInvocationParameters() const
RegisterTaskWithMaintenanceWindowRequest & WithAlarmConfiguration(AlarmConfiguration &&value)
RegisterTaskWithMaintenanceWindowRequest & WithAlarmConfiguration(const AlarmConfiguration &value)
void SetClientToken(const Aws::String &value)
void SetCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
RegisterTaskWithMaintenanceWindowRequest & WithDescription(const char *value)
AWS_SSM_API RegisterTaskWithMaintenanceWindowRequest()
RegisterTaskWithMaintenanceWindowRequest & WithClientToken(const Aws::String &value)
void SetTaskType(MaintenanceWindowTaskType &&value)
RegisterTaskWithMaintenanceWindowRequest & WithWindowId(const char *value)
void SetMaxErrors(const Aws::String &value)
RegisterTaskWithMaintenanceWindowRequest & WithMaxErrors(Aws::String &&value)
void SetWindowId(Aws::String &&value)
bool TaskArnHasBeenSet() const
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
bool ServiceRoleArnHasBeenSet() const
void SetServiceRoleArn(Aws::String &&value)
RegisterTaskWithMaintenanceWindowRequest & WithWindowId(const Aws::String &value)
RegisterTaskWithMaintenanceWindowRequest & WithMaxConcurrency(const Aws::String &value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
bool WindowIdHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
RegisterTaskWithMaintenanceWindowRequest & WithCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
void SetDescription(const char *value)
RegisterTaskWithMaintenanceWindowRequest & WithName(const char *value)
RegisterTaskWithMaintenanceWindowRequest & WithDescription(const Aws::String &value)
RegisterTaskWithMaintenanceWindowRequest & WithTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
bool MaxErrorsHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithClientToken(const char *value)
void SetLoggingInfo(const LoggingInfo &value)
void SetName(const char *value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
RegisterTaskWithMaintenanceWindowRequest & AddTaskParameters(const Aws::String &key, const MaintenanceWindowTaskParameterValueExpression &value)
void SetTaskArn(const char *value)
const Aws::String & GetWindowId() const
void SetMaxErrors(const char *value)
bool PriorityHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithName(const Aws::String &value)
RegisterTaskWithMaintenanceWindowRequest & WithTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters &&value)
bool ClientTokenHasBeenSet() const
void SetMaxErrors(Aws::String &&value)
const Aws::String & GetServiceRoleArn() const
void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
RegisterTaskWithMaintenanceWindowRequest & WithTaskType(const MaintenanceWindowTaskType &value)
void SetWindowId(const Aws::String &value)
void SetClientToken(Aws::String &&value)
RegisterTaskWithMaintenanceWindowRequest & WithMaxConcurrency(Aws::String &&value)
void SetTargets(Aws::Vector< Target > &&value)
RegisterTaskWithMaintenanceWindowRequest & AddTargets(Target &&value)
const Aws::String & GetMaxConcurrency() const
RegisterTaskWithMaintenanceWindowRequest & AddTaskParameters(Aws::String &&key, const MaintenanceWindowTaskParameterValueExpression &value)
const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > & GetTaskParameters() const
void SetTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
void SetTaskType(const MaintenanceWindowTaskType &value)
void SetServiceRoleArn(const Aws::String &value)
RegisterTaskWithMaintenanceWindowRequest & AddTargets(const Target &value)
const Aws::String & GetTaskArn() const
RegisterTaskWithMaintenanceWindowRequest & AddTaskParameters(const Aws::String &key, MaintenanceWindowTaskParameterValueExpression &&value)
void SetTaskArn(const Aws::String &value)
void SetClientToken(const char *value)
bool TaskTypeHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithServiceRoleArn(Aws::String &&value)
RegisterTaskWithMaintenanceWindowRequest & AddTaskParameters(const char *key, MaintenanceWindowTaskParameterValueExpression &&value)
bool TaskParametersHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithMaxErrors(const Aws::String &value)
void SetMaxConcurrency(const Aws::String &value)
RegisterTaskWithMaintenanceWindowRequest & WithTargets(const Aws::Vector< Target > &value)
RegisterTaskWithMaintenanceWindowRequest & WithTaskArn(const char *value)
void SetWindowId(const char *value)
void SetTaskArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
const AlarmConfiguration & GetAlarmConfiguration() const
void SetPriority(int value)
void SetTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
void SetTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters &&value)
bool CutoffBehaviorHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & AddTaskParameters(Aws::String &&key, MaintenanceWindowTaskParameterValueExpression &&value)
RegisterTaskWithMaintenanceWindowRequest & WithServiceRoleArn(const Aws::String &value)
RegisterTaskWithMaintenanceWindowRequest & WithTaskArn(const Aws::String &value)
void SetMaxConcurrency(const char *value)
const Aws::String & GetMaxErrors() const
bool TargetsHasBeenSet() const
void SetMaxConcurrency(Aws::String &&value)
RegisterTaskWithMaintenanceWindowRequest & WithPriority(int value)
void SetLoggingInfo(LoggingInfo &&value)
bool NameHasBeenSet() const
bool TaskInvocationParametersHasBeenSet() const
RegisterTaskWithMaintenanceWindowRequest & WithMaxErrors(const char *value)
RegisterTaskWithMaintenanceWindowRequest & WithDescription(Aws::String &&value)
const Aws::String & GetClientToken() const
RegisterTaskWithMaintenanceWindowRequest & WithClientToken(Aws::String &&value)
const MaintenanceWindowTaskCutoffBehavior & GetCutoffBehavior() const
bool LoggingInfoHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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