1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 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/ssm/model/MaintenanceWindowExecutionStatus.h> 12 #include <aws/core/utils/DateTime.h> 13 #include <aws/core/utils/memory/stl/AWSMap.h> 14 #include <aws/ssm/model/MaintenanceWindowTaskParameterValueExpression.h> 15 #include <utility> 16 17 namespace Aws 18 { 19 template<typename RESULT_TYPE> 20 class AmazonWebServiceResult; 21 22 namespace Utils 23 { 24 namespace Json 25 { 26 class JsonValue; 27 } // namespace Json 28 } // namespace Utils 29 namespace SSM 30 { 31 namespace Model 32 { 33 class AWS_SSM_API GetMaintenanceWindowExecutionTaskResult 34 { 35 public: 36 GetMaintenanceWindowExecutionTaskResult(); 37 GetMaintenanceWindowExecutionTaskResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 38 GetMaintenanceWindowExecutionTaskResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 39 40 41 /** 42 * <p>The ID of the maintenance window execution that includes the task.</p> 43 */ GetWindowExecutionId()44 inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; } 45 46 /** 47 * <p>The ID of the maintenance window execution that includes the task.</p> 48 */ SetWindowExecutionId(const Aws::String & value)49 inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionId = value; } 50 51 /** 52 * <p>The ID of the maintenance window execution that includes the task.</p> 53 */ SetWindowExecutionId(Aws::String && value)54 inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionId = std::move(value); } 55 56 /** 57 * <p>The ID of the maintenance window execution that includes the task.</p> 58 */ SetWindowExecutionId(const char * value)59 inline void SetWindowExecutionId(const char* value) { m_windowExecutionId.assign(value); } 60 61 /** 62 * <p>The ID of the maintenance window execution that includes the task.</p> 63 */ WithWindowExecutionId(const Aws::String & value)64 inline GetMaintenanceWindowExecutionTaskResult& WithWindowExecutionId(const Aws::String& value) { SetWindowExecutionId(value); return *this;} 65 66 /** 67 * <p>The ID of the maintenance window execution that includes the task.</p> 68 */ WithWindowExecutionId(Aws::String && value)69 inline GetMaintenanceWindowExecutionTaskResult& WithWindowExecutionId(Aws::String&& value) { SetWindowExecutionId(std::move(value)); return *this;} 70 71 /** 72 * <p>The ID of the maintenance window execution that includes the task.</p> 73 */ WithWindowExecutionId(const char * value)74 inline GetMaintenanceWindowExecutionTaskResult& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;} 75 76 77 /** 78 * <p>The ID of the specific task execution in the maintenance window task that was 79 * retrieved.</p> 80 */ GetTaskExecutionId()81 inline const Aws::String& GetTaskExecutionId() const{ return m_taskExecutionId; } 82 83 /** 84 * <p>The ID of the specific task execution in the maintenance window task that was 85 * retrieved.</p> 86 */ SetTaskExecutionId(const Aws::String & value)87 inline void SetTaskExecutionId(const Aws::String& value) { m_taskExecutionId = value; } 88 89 /** 90 * <p>The ID of the specific task execution in the maintenance window task that was 91 * retrieved.</p> 92 */ SetTaskExecutionId(Aws::String && value)93 inline void SetTaskExecutionId(Aws::String&& value) { m_taskExecutionId = std::move(value); } 94 95 /** 96 * <p>The ID of the specific task execution in the maintenance window task that was 97 * retrieved.</p> 98 */ SetTaskExecutionId(const char * value)99 inline void SetTaskExecutionId(const char* value) { m_taskExecutionId.assign(value); } 100 101 /** 102 * <p>The ID of the specific task execution in the maintenance window task that was 103 * retrieved.</p> 104 */ WithTaskExecutionId(const Aws::String & value)105 inline GetMaintenanceWindowExecutionTaskResult& WithTaskExecutionId(const Aws::String& value) { SetTaskExecutionId(value); return *this;} 106 107 /** 108 * <p>The ID of the specific task execution in the maintenance window task that was 109 * retrieved.</p> 110 */ WithTaskExecutionId(Aws::String && value)111 inline GetMaintenanceWindowExecutionTaskResult& WithTaskExecutionId(Aws::String&& value) { SetTaskExecutionId(std::move(value)); return *this;} 112 113 /** 114 * <p>The ID of the specific task execution in the maintenance window task that was 115 * retrieved.</p> 116 */ WithTaskExecutionId(const char * value)117 inline GetMaintenanceWindowExecutionTaskResult& WithTaskExecutionId(const char* value) { SetTaskExecutionId(value); return *this;} 118 119 120 /** 121 * <p>The Amazon Resource Name (ARN) of the task that ran.</p> 122 */ GetTaskArn()123 inline const Aws::String& GetTaskArn() const{ return m_taskArn; } 124 125 /** 126 * <p>The Amazon Resource Name (ARN) of the task that ran.</p> 127 */ SetTaskArn(const Aws::String & value)128 inline void SetTaskArn(const Aws::String& value) { m_taskArn = value; } 129 130 /** 131 * <p>The Amazon Resource Name (ARN) of the task that ran.</p> 132 */ SetTaskArn(Aws::String && value)133 inline void SetTaskArn(Aws::String&& value) { m_taskArn = std::move(value); } 134 135 /** 136 * <p>The Amazon Resource Name (ARN) of the task that ran.</p> 137 */ SetTaskArn(const char * value)138 inline void SetTaskArn(const char* value) { m_taskArn.assign(value); } 139 140 /** 141 * <p>The Amazon Resource Name (ARN) of the task that ran.</p> 142 */ WithTaskArn(const Aws::String & value)143 inline GetMaintenanceWindowExecutionTaskResult& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;} 144 145 /** 146 * <p>The Amazon Resource Name (ARN) of the task that ran.</p> 147 */ WithTaskArn(Aws::String && value)148 inline GetMaintenanceWindowExecutionTaskResult& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;} 149 150 /** 151 * <p>The Amazon Resource Name (ARN) of the task that ran.</p> 152 */ WithTaskArn(const char * value)153 inline GetMaintenanceWindowExecutionTaskResult& WithTaskArn(const char* value) { SetTaskArn(value); return *this;} 154 155 156 /** 157 * <p>The role that was assumed when running the task.</p> 158 */ GetServiceRole()159 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } 160 161 /** 162 * <p>The role that was assumed when running the task.</p> 163 */ SetServiceRole(const Aws::String & value)164 inline void SetServiceRole(const Aws::String& value) { m_serviceRole = value; } 165 166 /** 167 * <p>The role that was assumed when running the task.</p> 168 */ SetServiceRole(Aws::String && value)169 inline void SetServiceRole(Aws::String&& value) { m_serviceRole = std::move(value); } 170 171 /** 172 * <p>The role that was assumed when running the task.</p> 173 */ SetServiceRole(const char * value)174 inline void SetServiceRole(const char* value) { m_serviceRole.assign(value); } 175 176 /** 177 * <p>The role that was assumed when running the task.</p> 178 */ WithServiceRole(const Aws::String & value)179 inline GetMaintenanceWindowExecutionTaskResult& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} 180 181 /** 182 * <p>The role that was assumed when running the task.</p> 183 */ WithServiceRole(Aws::String && value)184 inline GetMaintenanceWindowExecutionTaskResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} 185 186 /** 187 * <p>The role that was assumed when running the task.</p> 188 */ WithServiceRole(const char * value)189 inline GetMaintenanceWindowExecutionTaskResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} 190 191 192 /** 193 * <p>The type of task that was run.</p> 194 */ GetType()195 inline const MaintenanceWindowTaskType& GetType() const{ return m_type; } 196 197 /** 198 * <p>The type of task that was run.</p> 199 */ SetType(const MaintenanceWindowTaskType & value)200 inline void SetType(const MaintenanceWindowTaskType& value) { m_type = value; } 201 202 /** 203 * <p>The type of task that was run.</p> 204 */ SetType(MaintenanceWindowTaskType && value)205 inline void SetType(MaintenanceWindowTaskType&& value) { m_type = std::move(value); } 206 207 /** 208 * <p>The type of task that was run.</p> 209 */ WithType(const MaintenanceWindowTaskType & value)210 inline GetMaintenanceWindowExecutionTaskResult& WithType(const MaintenanceWindowTaskType& value) { SetType(value); return *this;} 211 212 /** 213 * <p>The type of task that was run.</p> 214 */ WithType(MaintenanceWindowTaskType && value)215 inline GetMaintenanceWindowExecutionTaskResult& WithType(MaintenanceWindowTaskType&& value) { SetType(std::move(value)); return *this;} 216 217 218 /** 219 * <p>The parameters passed to the task when it was run.</p> <p> 220 * <code>TaskParameters</code> has been deprecated. To specify parameters to pass 221 * to a task when it runs, instead use the <code>Parameters</code> option in the 222 * <code>TaskInvocationParameters</code> structure. For information about how 223 * Systems Manager handles these options for the supported maintenance window task 224 * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p> <p>The 225 * map has the following format:</p> <ul> <li> <p> <code>Key</code>: string, 226 * between 1 and 255 characters</p> </li> <li> <p> <code>Value</code>: an array of 227 * strings, each between 1 and 255 characters</p> </li> </ul> 228 */ GetTaskParameters()229 inline const Aws::Vector<Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>>& GetTaskParameters() const{ return m_taskParameters; } 230 231 /** 232 * <p>The parameters passed to the task when it was run.</p> <p> 233 * <code>TaskParameters</code> has been deprecated. To specify parameters to pass 234 * to a task when it runs, instead use the <code>Parameters</code> option in the 235 * <code>TaskInvocationParameters</code> structure. For information about how 236 * Systems Manager handles these options for the supported maintenance window task 237 * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p> <p>The 238 * map has the following format:</p> <ul> <li> <p> <code>Key</code>: string, 239 * between 1 and 255 characters</p> </li> <li> <p> <code>Value</code>: an array of 240 * strings, each between 1 and 255 characters</p> </li> </ul> 241 */ SetTaskParameters(const Aws::Vector<Aws::Map<Aws::String,MaintenanceWindowTaskParameterValueExpression>> & value)242 inline void SetTaskParameters(const Aws::Vector<Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>>& value) { m_taskParameters = value; } 243 244 /** 245 * <p>The parameters passed to the task when it was run.</p> <p> 246 * <code>TaskParameters</code> has been deprecated. To specify parameters to pass 247 * to a task when it runs, instead use the <code>Parameters</code> option in the 248 * <code>TaskInvocationParameters</code> structure. For information about how 249 * Systems Manager handles these options for the supported maintenance window task 250 * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p> <p>The 251 * map has the following format:</p> <ul> <li> <p> <code>Key</code>: string, 252 * between 1 and 255 characters</p> </li> <li> <p> <code>Value</code>: an array of 253 * strings, each between 1 and 255 characters</p> </li> </ul> 254 */ SetTaskParameters(Aws::Vector<Aws::Map<Aws::String,MaintenanceWindowTaskParameterValueExpression>> && value)255 inline void SetTaskParameters(Aws::Vector<Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>>&& value) { m_taskParameters = std::move(value); } 256 257 /** 258 * <p>The parameters passed to the task when it was run.</p> <p> 259 * <code>TaskParameters</code> has been deprecated. To specify parameters to pass 260 * to a task when it runs, instead use the <code>Parameters</code> option in the 261 * <code>TaskInvocationParameters</code> structure. For information about how 262 * Systems Manager handles these options for the supported maintenance window task 263 * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p> <p>The 264 * map has the following format:</p> <ul> <li> <p> <code>Key</code>: string, 265 * between 1 and 255 characters</p> </li> <li> <p> <code>Value</code>: an array of 266 * strings, each between 1 and 255 characters</p> </li> </ul> 267 */ WithTaskParameters(const Aws::Vector<Aws::Map<Aws::String,MaintenanceWindowTaskParameterValueExpression>> & value)268 inline GetMaintenanceWindowExecutionTaskResult& WithTaskParameters(const Aws::Vector<Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>>& value) { SetTaskParameters(value); return *this;} 269 270 /** 271 * <p>The parameters passed to the task when it was run.</p> <p> 272 * <code>TaskParameters</code> has been deprecated. To specify parameters to pass 273 * to a task when it runs, instead use the <code>Parameters</code> option in the 274 * <code>TaskInvocationParameters</code> structure. For information about how 275 * Systems Manager handles these options for the supported maintenance window task 276 * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p> <p>The 277 * map has the following format:</p> <ul> <li> <p> <code>Key</code>: string, 278 * between 1 and 255 characters</p> </li> <li> <p> <code>Value</code>: an array of 279 * strings, each between 1 and 255 characters</p> </li> </ul> 280 */ WithTaskParameters(Aws::Vector<Aws::Map<Aws::String,MaintenanceWindowTaskParameterValueExpression>> && value)281 inline GetMaintenanceWindowExecutionTaskResult& WithTaskParameters(Aws::Vector<Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>>&& value) { SetTaskParameters(std::move(value)); return *this;} 282 283 /** 284 * <p>The parameters passed to the task when it was run.</p> <p> 285 * <code>TaskParameters</code> has been deprecated. To specify parameters to pass 286 * to a task when it runs, instead use the <code>Parameters</code> option in the 287 * <code>TaskInvocationParameters</code> structure. For information about how 288 * Systems Manager handles these options for the supported maintenance window task 289 * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p> <p>The 290 * map has the following format:</p> <ul> <li> <p> <code>Key</code>: string, 291 * between 1 and 255 characters</p> </li> <li> <p> <code>Value</code>: an array of 292 * strings, each between 1 and 255 characters</p> </li> </ul> 293 */ AddTaskParameters(const Aws::Map<Aws::String,MaintenanceWindowTaskParameterValueExpression> & value)294 inline GetMaintenanceWindowExecutionTaskResult& AddTaskParameters(const Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>& value) { m_taskParameters.push_back(value); return *this; } 295 296 /** 297 * <p>The parameters passed to the task when it was run.</p> <p> 298 * <code>TaskParameters</code> has been deprecated. To specify parameters to pass 299 * to a task when it runs, instead use the <code>Parameters</code> option in the 300 * <code>TaskInvocationParameters</code> structure. For information about how 301 * Systems Manager handles these options for the supported maintenance window task 302 * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p> <p>The 303 * map has the following format:</p> <ul> <li> <p> <code>Key</code>: string, 304 * between 1 and 255 characters</p> </li> <li> <p> <code>Value</code>: an array of 305 * strings, each between 1 and 255 characters</p> </li> </ul> 306 */ AddTaskParameters(Aws::Map<Aws::String,MaintenanceWindowTaskParameterValueExpression> && value)307 inline GetMaintenanceWindowExecutionTaskResult& AddTaskParameters(Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>&& value) { m_taskParameters.push_back(std::move(value)); return *this; } 308 309 310 /** 311 * <p>The priority of the task.</p> 312 */ GetPriority()313 inline int GetPriority() const{ return m_priority; } 314 315 /** 316 * <p>The priority of the task.</p> 317 */ SetPriority(int value)318 inline void SetPriority(int value) { m_priority = value; } 319 320 /** 321 * <p>The priority of the task.</p> 322 */ WithPriority(int value)323 inline GetMaintenanceWindowExecutionTaskResult& WithPriority(int value) { SetPriority(value); return *this;} 324 325 326 /** 327 * <p>The defined maximum number of task executions that could be run in 328 * parallel.</p> 329 */ GetMaxConcurrency()330 inline const Aws::String& GetMaxConcurrency() const{ return m_maxConcurrency; } 331 332 /** 333 * <p>The defined maximum number of task executions that could be run in 334 * parallel.</p> 335 */ SetMaxConcurrency(const Aws::String & value)336 inline void SetMaxConcurrency(const Aws::String& value) { m_maxConcurrency = value; } 337 338 /** 339 * <p>The defined maximum number of task executions that could be run in 340 * parallel.</p> 341 */ SetMaxConcurrency(Aws::String && value)342 inline void SetMaxConcurrency(Aws::String&& value) { m_maxConcurrency = std::move(value); } 343 344 /** 345 * <p>The defined maximum number of task executions that could be run in 346 * parallel.</p> 347 */ SetMaxConcurrency(const char * value)348 inline void SetMaxConcurrency(const char* value) { m_maxConcurrency.assign(value); } 349 350 /** 351 * <p>The defined maximum number of task executions that could be run in 352 * parallel.</p> 353 */ WithMaxConcurrency(const Aws::String & value)354 inline GetMaintenanceWindowExecutionTaskResult& WithMaxConcurrency(const Aws::String& value) { SetMaxConcurrency(value); return *this;} 355 356 /** 357 * <p>The defined maximum number of task executions that could be run in 358 * parallel.</p> 359 */ WithMaxConcurrency(Aws::String && value)360 inline GetMaintenanceWindowExecutionTaskResult& WithMaxConcurrency(Aws::String&& value) { SetMaxConcurrency(std::move(value)); return *this;} 361 362 /** 363 * <p>The defined maximum number of task executions that could be run in 364 * parallel.</p> 365 */ WithMaxConcurrency(const char * value)366 inline GetMaintenanceWindowExecutionTaskResult& WithMaxConcurrency(const char* value) { SetMaxConcurrency(value); return *this;} 367 368 369 /** 370 * <p>The defined maximum number of task execution errors allowed before scheduling 371 * of the task execution would have been stopped.</p> 372 */ GetMaxErrors()373 inline const Aws::String& GetMaxErrors() const{ return m_maxErrors; } 374 375 /** 376 * <p>The defined maximum number of task execution errors allowed before scheduling 377 * of the task execution would have been stopped.</p> 378 */ SetMaxErrors(const Aws::String & value)379 inline void SetMaxErrors(const Aws::String& value) { m_maxErrors = value; } 380 381 /** 382 * <p>The defined maximum number of task execution errors allowed before scheduling 383 * of the task execution would have been stopped.</p> 384 */ SetMaxErrors(Aws::String && value)385 inline void SetMaxErrors(Aws::String&& value) { m_maxErrors = std::move(value); } 386 387 /** 388 * <p>The defined maximum number of task execution errors allowed before scheduling 389 * of the task execution would have been stopped.</p> 390 */ SetMaxErrors(const char * value)391 inline void SetMaxErrors(const char* value) { m_maxErrors.assign(value); } 392 393 /** 394 * <p>The defined maximum number of task execution errors allowed before scheduling 395 * of the task execution would have been stopped.</p> 396 */ WithMaxErrors(const Aws::String & value)397 inline GetMaintenanceWindowExecutionTaskResult& WithMaxErrors(const Aws::String& value) { SetMaxErrors(value); return *this;} 398 399 /** 400 * <p>The defined maximum number of task execution errors allowed before scheduling 401 * of the task execution would have been stopped.</p> 402 */ WithMaxErrors(Aws::String && value)403 inline GetMaintenanceWindowExecutionTaskResult& WithMaxErrors(Aws::String&& value) { SetMaxErrors(std::move(value)); return *this;} 404 405 /** 406 * <p>The defined maximum number of task execution errors allowed before scheduling 407 * of the task execution would have been stopped.</p> 408 */ WithMaxErrors(const char * value)409 inline GetMaintenanceWindowExecutionTaskResult& WithMaxErrors(const char* value) { SetMaxErrors(value); return *this;} 410 411 412 /** 413 * <p>The status of the task.</p> 414 */ GetStatus()415 inline const MaintenanceWindowExecutionStatus& GetStatus() const{ return m_status; } 416 417 /** 418 * <p>The status of the task.</p> 419 */ SetStatus(const MaintenanceWindowExecutionStatus & value)420 inline void SetStatus(const MaintenanceWindowExecutionStatus& value) { m_status = value; } 421 422 /** 423 * <p>The status of the task.</p> 424 */ SetStatus(MaintenanceWindowExecutionStatus && value)425 inline void SetStatus(MaintenanceWindowExecutionStatus&& value) { m_status = std::move(value); } 426 427 /** 428 * <p>The status of the task.</p> 429 */ WithStatus(const MaintenanceWindowExecutionStatus & value)430 inline GetMaintenanceWindowExecutionTaskResult& WithStatus(const MaintenanceWindowExecutionStatus& value) { SetStatus(value); return *this;} 431 432 /** 433 * <p>The status of the task.</p> 434 */ WithStatus(MaintenanceWindowExecutionStatus && value)435 inline GetMaintenanceWindowExecutionTaskResult& WithStatus(MaintenanceWindowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} 436 437 438 /** 439 * <p>The details explaining the status. Not available for all status values.</p> 440 */ GetStatusDetails()441 inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; } 442 443 /** 444 * <p>The details explaining the status. Not available for all status values.</p> 445 */ SetStatusDetails(const Aws::String & value)446 inline void SetStatusDetails(const Aws::String& value) { m_statusDetails = value; } 447 448 /** 449 * <p>The details explaining the status. Not available for all status values.</p> 450 */ SetStatusDetails(Aws::String && value)451 inline void SetStatusDetails(Aws::String&& value) { m_statusDetails = std::move(value); } 452 453 /** 454 * <p>The details explaining the status. Not available for all status values.</p> 455 */ SetStatusDetails(const char * value)456 inline void SetStatusDetails(const char* value) { m_statusDetails.assign(value); } 457 458 /** 459 * <p>The details explaining the status. Not available for all status values.</p> 460 */ WithStatusDetails(const Aws::String & value)461 inline GetMaintenanceWindowExecutionTaskResult& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;} 462 463 /** 464 * <p>The details explaining the status. Not available for all status values.</p> 465 */ WithStatusDetails(Aws::String && value)466 inline GetMaintenanceWindowExecutionTaskResult& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;} 467 468 /** 469 * <p>The details explaining the status. Not available for all status values.</p> 470 */ WithStatusDetails(const char * value)471 inline GetMaintenanceWindowExecutionTaskResult& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;} 472 473 474 /** 475 * <p>The time the task execution started.</p> 476 */ GetStartTime()477 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } 478 479 /** 480 * <p>The time the task execution started.</p> 481 */ SetStartTime(const Aws::Utils::DateTime & value)482 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } 483 484 /** 485 * <p>The time the task execution started.</p> 486 */ SetStartTime(Aws::Utils::DateTime && value)487 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } 488 489 /** 490 * <p>The time the task execution started.</p> 491 */ WithStartTime(const Aws::Utils::DateTime & value)492 inline GetMaintenanceWindowExecutionTaskResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} 493 494 /** 495 * <p>The time the task execution started.</p> 496 */ WithStartTime(Aws::Utils::DateTime && value)497 inline GetMaintenanceWindowExecutionTaskResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} 498 499 500 /** 501 * <p>The time the task execution completed.</p> 502 */ GetEndTime()503 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } 504 505 /** 506 * <p>The time the task execution completed.</p> 507 */ SetEndTime(const Aws::Utils::DateTime & value)508 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } 509 510 /** 511 * <p>The time the task execution completed.</p> 512 */ SetEndTime(Aws::Utils::DateTime && value)513 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } 514 515 /** 516 * <p>The time the task execution completed.</p> 517 */ WithEndTime(const Aws::Utils::DateTime & value)518 inline GetMaintenanceWindowExecutionTaskResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} 519 520 /** 521 * <p>The time the task execution completed.</p> 522 */ WithEndTime(Aws::Utils::DateTime && value)523 inline GetMaintenanceWindowExecutionTaskResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} 524 525 private: 526 527 Aws::String m_windowExecutionId; 528 529 Aws::String m_taskExecutionId; 530 531 Aws::String m_taskArn; 532 533 Aws::String m_serviceRole; 534 535 MaintenanceWindowTaskType m_type; 536 537 Aws::Vector<Aws::Map<Aws::String, MaintenanceWindowTaskParameterValueExpression>> m_taskParameters; 538 539 int m_priority; 540 541 Aws::String m_maxConcurrency; 542 543 Aws::String m_maxErrors; 544 545 MaintenanceWindowExecutionStatus m_status; 546 547 Aws::String m_statusDetails; 548 549 Aws::Utils::DateTime m_startTime; 550 551 Aws::Utils::DateTime m_endTime; 552 }; 553 554 } // namespace Model 555 } // namespace SSM 556 } // namespace Aws 557