/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class StartBlueprintRunRequest : public GlueRequest { public: AWS_GLUE_API StartBlueprintRunRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartBlueprintRun"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the blueprint.

*/ inline const Aws::String& GetBlueprintName() const{ return m_blueprintName; } /** *

The name of the blueprint.

*/ inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; } /** *

The name of the blueprint.

*/ inline void SetBlueprintName(const Aws::String& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = value; } /** *

The name of the blueprint.

*/ inline void SetBlueprintName(Aws::String&& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = std::move(value); } /** *

The name of the blueprint.

*/ inline void SetBlueprintName(const char* value) { m_blueprintNameHasBeenSet = true; m_blueprintName.assign(value); } /** *

The name of the blueprint.

*/ inline StartBlueprintRunRequest& WithBlueprintName(const Aws::String& value) { SetBlueprintName(value); return *this;} /** *

The name of the blueprint.

*/ inline StartBlueprintRunRequest& WithBlueprintName(Aws::String&& value) { SetBlueprintName(std::move(value)); return *this;} /** *

The name of the blueprint.

*/ inline StartBlueprintRunRequest& WithBlueprintName(const char* value) { SetBlueprintName(value); return *this;} /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline const Aws::String& GetParameters() const{ return m_parameters; } /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); } /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline StartBlueprintRunRequest& WithParameters(const Aws::String& value) { SetParameters(value); return *this;} /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline StartBlueprintRunRequest& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;} /** *

Specifies the parameters as a BlueprintParameters object.

*/ inline StartBlueprintRunRequest& WithParameters(const char* value) { SetParameters(value); return *this;} /** *

Specifies the IAM role used to create the workflow.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

Specifies the IAM role used to create the workflow.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

Specifies the IAM role used to create the workflow.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

Specifies the IAM role used to create the workflow.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

Specifies the IAM role used to create the workflow.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

Specifies the IAM role used to create the workflow.

*/ inline StartBlueprintRunRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

Specifies the IAM role used to create the workflow.

*/ inline StartBlueprintRunRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

Specifies the IAM role used to create the workflow.

*/ inline StartBlueprintRunRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_blueprintName; bool m_blueprintNameHasBeenSet = false; Aws::String m_parameters; bool m_parametersHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws