/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

The parameters for a STEP_FUNCTIONS task.

For information * about specifying and updating task parameters, see * RegisterTaskWithMaintenanceWindow and * UpdateMaintenanceWindowTask.

LoggingInfo has * been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket * to contain logs, instead use the OutputS3BucketName and * OutputS3KeyPrefix options in the * TaskInvocationParameters structure. For information about how * Amazon Web Services Systems Manager handles these options for the supported * maintenance window task types, see * MaintenanceWindowTaskInvocationParameters.

* TaskParameters has been deprecated. To specify parameters to pass * to a task when it runs, instead use the Parameters option in the * TaskInvocationParameters structure. For information about how * Systems Manager handles these options for the supported maintenance window task * types, see MaintenanceWindowTaskInvocationParameters.

For Step * Functions tasks, Systems Manager ignores any values specified for * TaskParameters and LoggingInfo.

See * Also:

AWS * API Reference

*/ class MaintenanceWindowStepFunctionsParameters { public: AWS_SSM_API MaintenanceWindowStepFunctionsParameters(); AWS_SSM_API MaintenanceWindowStepFunctionsParameters(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API MaintenanceWindowStepFunctionsParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline const Aws::String& GetInput() const{ return m_input; } /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; } /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); } /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline MaintenanceWindowStepFunctionsParameters& WithInput(const Aws::String& value) { SetInput(value); return *this;} /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline MaintenanceWindowStepFunctionsParameters& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;} /** *

The inputs for the STEP_FUNCTIONS task.

*/ inline MaintenanceWindowStepFunctionsParameters& WithInput(const char* value) { SetInput(value); return *this;} /** *

The name of the STEP_FUNCTIONS task.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the STEP_FUNCTIONS task.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the STEP_FUNCTIONS task.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the STEP_FUNCTIONS task.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the STEP_FUNCTIONS task.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the STEP_FUNCTIONS task.

*/ inline MaintenanceWindowStepFunctionsParameters& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the STEP_FUNCTIONS task.

*/ inline MaintenanceWindowStepFunctionsParameters& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the STEP_FUNCTIONS task.

*/ inline MaintenanceWindowStepFunctionsParameters& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_input; bool m_inputHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws