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>
57 inline void SetWindowId(
const char* value) { m_windowIdHasBeenSet =
true; m_windowId.assign(value); }
71 inline void SetWindowTaskId(
const char* value) { m_windowTaskIdHasBeenSet =
true; m_windowTaskId.assign(value); }
89 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
155 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
198 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
219 inline void SetMaxConcurrency(
const char* value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency.assign(value); }
240 inline void SetMaxErrors(
const char* value) { m_maxErrorsHasBeenSet =
true; m_maxErrors.assign(value); }
254 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
268 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
302 bool m_windowIdHasBeenSet =
false;
305 bool m_windowTaskIdHasBeenSet =
false;
308 bool m_taskArnHasBeenSet =
false;
311 bool m_typeHasBeenSet =
false;
314 bool m_targetsHasBeenSet =
false;
317 bool m_taskParametersHasBeenSet =
false;
320 bool m_priorityHasBeenSet =
false;
323 bool m_loggingInfoHasBeenSet =
false;
326 bool m_serviceRoleArnHasBeenSet =
false;
329 bool m_maxConcurrencyHasBeenSet =
false;
332 bool m_maxErrorsHasBeenSet =
false;
335 bool m_nameHasBeenSet =
false;
338 bool m_descriptionHasBeenSet =
false;
341 bool m_cutoffBehaviorHasBeenSet =
false;
344 bool m_alarmConfigurationHasBeenSet =
false;
void SetName(const char *value)
MaintenanceWindowTask & WithType(const MaintenanceWindowTaskType &value)
const Aws::String & GetWindowId() const
AWS_SSM_API MaintenanceWindowTask(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowTask & AddTaskParameters(const Aws::String &key, MaintenanceWindowTaskParameterValueExpression &&value)
MaintenanceWindowTask & WithServiceRoleArn(Aws::String &&value)
bool WindowTaskIdHasBeenSet() const
const Aws::String & GetMaxConcurrency() const
MaintenanceWindowTask & WithTaskArn(const Aws::String &value)
MaintenanceWindowTask & WithMaxErrors(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetTargets(Aws::Vector< Target > &&value)
bool ServiceRoleArnHasBeenSet() const
MaintenanceWindowTask & WithTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
void SetTaskArn(const char *value)
MaintenanceWindowTask & AddTaskParameters(const char *key, MaintenanceWindowTaskParameterValueExpression &&value)
MaintenanceWindowTask & WithTaskArn(Aws::String &&value)
MaintenanceWindowTask & WithCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
MaintenanceWindowTask & WithType(MaintenanceWindowTaskType &&value)
MaintenanceWindowTask & WithMaxErrors(Aws::String &&value)
AWS_SSM_API MaintenanceWindowTask & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
void SetServiceRoleArn(Aws::String &&value)
void SetLoggingInfo(const LoggingInfo &value)
const MaintenanceWindowTaskCutoffBehavior & GetCutoffBehavior() const
void SetAlarmConfiguration(const AlarmConfiguration &value)
bool PriorityHasBeenSet() const
MaintenanceWindowTask & WithLoggingInfo(LoggingInfo &&value)
MaintenanceWindowTask & WithWindowId(const Aws::String &value)
AWS_SSM_API MaintenanceWindowTask()
MaintenanceWindowTask & WithLoggingInfo(const LoggingInfo &value)
MaintenanceWindowTask & WithAlarmConfiguration(AlarmConfiguration &&value)
MaintenanceWindowTask & WithTaskParameters(const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &value)
bool TaskParametersHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
MaintenanceWindowTask & AddTaskParameters(Aws::String &&key, MaintenanceWindowTaskParameterValueExpression &&value)
const Aws::String & GetServiceRoleArn() const
bool TargetsHasBeenSet() const
MaintenanceWindowTask & WithWindowTaskId(const char *value)
bool LoggingInfoHasBeenSet() const
void SetCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
bool TaskArnHasBeenSet() const
void SetWindowId(const Aws::String &value)
MaintenanceWindowTask & AddTaskParameters(Aws::String &&key, const MaintenanceWindowTaskParameterValueExpression &value)
bool AlarmConfigurationHasBeenSet() const
MaintenanceWindowTask & WithName(const Aws::String &value)
void SetPriority(int value)
MaintenanceWindowTask & AddTaskParameters(const char *key, const MaintenanceWindowTaskParameterValueExpression &value)
MaintenanceWindowTask & WithTaskArn(const char *value)
bool DescriptionHasBeenSet() const
void SetWindowId(const char *value)
bool MaxConcurrencyHasBeenSet() const
void SetTargets(const Aws::Vector< Target > &value)
const Aws::String & GetMaxErrors() const
MaintenanceWindowTask & WithPriority(int value)
void SetMaxErrors(Aws::String &&value)
const Aws::String & GetTaskArn() const
const Aws::String & GetWindowTaskId() const
MaintenanceWindowTask & WithWindowTaskId(Aws::String &&value)
void SetTaskArn(const Aws::String &value)
void SetTaskArn(Aws::String &&value)
void SetMaxErrors(const char *value)
MaintenanceWindowTask & WithServiceRoleArn(const Aws::String &value)
MaintenanceWindowTask & WithTargets(const Aws::Vector< Target > &value)
void SetType(MaintenanceWindowTaskType &&value)
void SetMaxConcurrency(Aws::String &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
const Aws::String & GetName() const
void SetDescription(const Aws::String &value)
MaintenanceWindowTask & WithMaxConcurrency(const char *value)
void SetCutoffBehavior(MaintenanceWindowTaskCutoffBehavior &&value)
MaintenanceWindowTask & WithName(const char *value)
MaintenanceWindowTask & WithWindowId(Aws::String &&value)
MaintenanceWindowTask & AddTargets(Target &&value)
void SetServiceRoleArn(const char *value)
MaintenanceWindowTask & WithDescription(const char *value)
MaintenanceWindowTask & WithWindowTaskId(const Aws::String &value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
void SetName(const Aws::String &value)
MaintenanceWindowTask & WithServiceRoleArn(const char *value)
bool TypeHasBeenSet() const
MaintenanceWindowTask & WithWindowId(const char *value)
bool WindowIdHasBeenSet() const
MaintenanceWindowTask & WithDescription(Aws::String &&value)
MaintenanceWindowTask & WithDescription(const Aws::String &value)
void SetName(Aws::String &&value)
void SetDescription(const char *value)
MaintenanceWindowTask & WithName(Aws::String &&value)
MaintenanceWindowTask & WithCutoffBehavior(const MaintenanceWindowTaskCutoffBehavior &value)
void SetLoggingInfo(LoggingInfo &&value)
void SetWindowTaskId(const char *value)
MaintenanceWindowTask & WithMaxConcurrency(const Aws::String &value)
const MaintenanceWindowTaskType & GetType() const
bool MaxErrorsHasBeenSet() const
const Aws::Vector< Target > & GetTargets() const
void SetWindowTaskId(Aws::String &&value)
void SetTaskParameters(Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > &&value)
void SetMaxConcurrency(const Aws::String &value)
void SetServiceRoleArn(const Aws::String &value)
MaintenanceWindowTask & AddTargets(const Target &value)
void SetWindowTaskId(const Aws::String &value)
bool NameHasBeenSet() const
void SetType(const MaintenanceWindowTaskType &value)
void SetMaxErrors(const Aws::String &value)
void SetWindowId(Aws::String &&value)
const LoggingInfo & GetLoggingInfo() const
void SetMaxConcurrency(const char *value)
MaintenanceWindowTask & WithTargets(Aws::Vector< Target > &&value)
const Aws::Map< Aws::String, MaintenanceWindowTaskParameterValueExpression > & GetTaskParameters() const
MaintenanceWindowTask & WithMaxConcurrency(Aws::String &&value)
MaintenanceWindowTask & WithAlarmConfiguration(const AlarmConfiguration &value)
bool CutoffBehaviorHasBeenSet() const
MaintenanceWindowTask & WithMaxErrors(const char *value)
MaintenanceWindowTask & AddTaskParameters(const Aws::String &key, const MaintenanceWindowTaskParameterValueExpression &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