/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a blueprint run.See Also:
AWS
* API Reference
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 BlueprintRun& WithBlueprintName(const Aws::String& value) { SetBlueprintName(value); return *this;} /** *The name of the blueprint.
*/ inline BlueprintRun& WithBlueprintName(Aws::String&& value) { SetBlueprintName(std::move(value)); return *this;} /** *The name of the blueprint.
*/ inline BlueprintRun& WithBlueprintName(const char* value) { SetBlueprintName(value); return *this;} /** *The run ID for this blueprint run.
*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *The run ID for this blueprint run.
*/ inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *The run ID for this blueprint run.
*/ inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } /** *The run ID for this blueprint run.
*/ inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } /** *The run ID for this blueprint run.
*/ inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } /** *The run ID for this blueprint run.
*/ inline BlueprintRun& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *The run ID for this blueprint run.
*/ inline BlueprintRun& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *The run ID for this blueprint run.
*/ inline BlueprintRun& WithRunId(const char* value) { SetRunId(value); return *this;} /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline const Aws::String& GetWorkflowName() const{ return m_workflowName; } /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; } /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline void SetWorkflowName(const Aws::String& value) { m_workflowNameHasBeenSet = true; m_workflowName = value; } /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline void SetWorkflowName(Aws::String&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::move(value); } /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline void SetWorkflowName(const char* value) { m_workflowNameHasBeenSet = true; m_workflowName.assign(value); } /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline BlueprintRun& WithWorkflowName(const Aws::String& value) { SetWorkflowName(value); return *this;} /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline BlueprintRun& WithWorkflowName(Aws::String&& value) { SetWorkflowName(std::move(value)); return *this;} /** *The name of a workflow that is created as a result of a successful blueprint * run. If a blueprint run has an error, there will not be a workflow created.
*/ inline BlueprintRun& WithWorkflowName(const char* value) { SetWorkflowName(value); return *this;} /** *The state of the blueprint run. Possible values are:
Running * — The blueprint run is in progress.
Succeeded — The blueprint * run completed successfully.
Failed — The blueprint run failed * and rollback is complete.
Rolling Back — The blueprint run * failed and rollback is in progress.
The state of the blueprint run. Possible values are:
Running * — The blueprint run is in progress.
Succeeded — The blueprint * run completed successfully.
Failed — The blueprint run failed * and rollback is complete.
Rolling Back — The blueprint run * failed and rollback is in progress.
The state of the blueprint run. Possible values are:
Running * — The blueprint run is in progress.
Succeeded — The blueprint * run completed successfully.
Failed — The blueprint run failed * and rollback is complete.
Rolling Back — The blueprint run * failed and rollback is in progress.
The state of the blueprint run. Possible values are:
Running * — The blueprint run is in progress.
Succeeded — The blueprint * run completed successfully.
Failed — The blueprint run failed * and rollback is complete.
Rolling Back — The blueprint run * failed and rollback is in progress.
The state of the blueprint run. Possible values are:
Running * — The blueprint run is in progress.
Succeeded — The blueprint * run completed successfully.
Failed — The blueprint run failed * and rollback is complete.
Rolling Back — The blueprint run * failed and rollback is in progress.
The state of the blueprint run. Possible values are:
Running * — The blueprint run is in progress.
Succeeded — The blueprint * run completed successfully.
Failed — The blueprint run failed * and rollback is complete.
Rolling Back — The blueprint run * failed and rollback is in progress.
The date and time that the blueprint run started.
*/ inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; } /** *The date and time that the blueprint run started.
*/ inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; } /** *The date and time that the blueprint run started.
*/ inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOnHasBeenSet = true; m_startedOn = value; } /** *The date and time that the blueprint run started.
*/ inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::move(value); } /** *The date and time that the blueprint run started.
*/ inline BlueprintRun& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;} /** *The date and time that the blueprint run started.
*/ inline BlueprintRun& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;} /** *The date and time that the blueprint run completed.
*/ inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; } /** *The date and time that the blueprint run completed.
*/ inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; } /** *The date and time that the blueprint run completed.
*/ inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOnHasBeenSet = true; m_completedOn = value; } /** *The date and time that the blueprint run completed.
*/ inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::move(value); } /** *The date and time that the blueprint run completed.
*/ inline BlueprintRun& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;} /** *The date and time that the blueprint run completed.
*/ inline BlueprintRun& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;} /** *Indicates any errors that are seen while running the blueprint.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *Indicates any errors that are seen while running the blueprint.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *Indicates any errors that are seen while running the blueprint.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *Indicates any errors that are seen while running the blueprint.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *Indicates any errors that are seen while running the blueprint.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *Indicates any errors that are seen while running the blueprint.
*/ inline BlueprintRun& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *Indicates any errors that are seen while running the blueprint.
*/ inline BlueprintRun& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *Indicates any errors that are seen while running the blueprint.
*/ inline BlueprintRun& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline const Aws::String& GetRollbackErrorMessage() const{ return m_rollbackErrorMessage; } /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline bool RollbackErrorMessageHasBeenSet() const { return m_rollbackErrorMessageHasBeenSet; } /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline void SetRollbackErrorMessage(const Aws::String& value) { m_rollbackErrorMessageHasBeenSet = true; m_rollbackErrorMessage = value; } /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline void SetRollbackErrorMessage(Aws::String&& value) { m_rollbackErrorMessageHasBeenSet = true; m_rollbackErrorMessage = std::move(value); } /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline void SetRollbackErrorMessage(const char* value) { m_rollbackErrorMessageHasBeenSet = true; m_rollbackErrorMessage.assign(value); } /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline BlueprintRun& WithRollbackErrorMessage(const Aws::String& value) { SetRollbackErrorMessage(value); return *this;} /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline BlueprintRun& WithRollbackErrorMessage(Aws::String&& value) { SetRollbackErrorMessage(std::move(value)); return *this;} /** *If there are any errors while creating the entities of a workflow, we try to * roll back the created entities until that point and delete them. This attribute * indicates the errors seen while trying to delete the entities that are * created.
*/ inline BlueprintRun& WithRollbackErrorMessage(const char* value) { SetRollbackErrorMessage(value); return *this;} /** *The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The blueprint parameters as a string. You will have to provide a value for
* each key that is required from the parameter spec that is defined in the
* Blueprint$ParameterSpec
.
The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline BlueprintRun& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline BlueprintRun& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The role ARN. This role will be assumed by the Glue service and will be used * to create the workflow and other entities of a workflow.
*/ inline BlueprintRun& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_blueprintName; bool m_blueprintNameHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; Aws::String m_workflowName; bool m_workflowNameHasBeenSet = false; BlueprintRunState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_startedOn; bool m_startedOnHasBeenSet = false; Aws::Utils::DateTime m_completedOn; bool m_completedOnHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Aws::String m_rollbackErrorMessage; bool m_rollbackErrorMessageHasBeenSet = false; Aws::String m_parameters; bool m_parametersHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws