/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the details of the
* Access
* Control You can use IAM policies to control this decision's access
* to Amazon SWF resources as follows: Use a Use an You cannot use an IAM policy to constrain
* this action's parameters. If the caller doesn't have
* sufficient permissions to invoke the action, or the parameter values fall
* outside the specified constraints, the action fails. The associated event
* attribute's RequestCancelExternalWorkflowExecution
decision.
Resource
* element with the domain name to limit the action to only specified domains.Action
element to allow or deny permission to
* call this action.cause
parameter is set to
* OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
* Using
* IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer
* Guide.See Also:
AWS
* API Reference
The workflowId
of the external workflow execution to
* cancel.
The workflowId
of the external workflow execution to
* cancel.
The workflowId
of the external workflow execution to
* cancel.
The workflowId
of the external workflow execution to
* cancel.
The workflowId
of the external workflow execution to
* cancel.
The workflowId
of the external workflow execution to
* cancel.
The workflowId
of the external workflow execution to
* cancel.
The workflowId
of the external workflow execution to
* cancel.
The runId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The runId
of the external workflow execution to cancel.
The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline const Aws::String& GetControl() const{ return m_control; } /** *The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; } /** *The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; } /** *The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = std::move(value); } /** *The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); } /** *The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline RequestCancelExternalWorkflowExecutionDecisionAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;} /** *The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline RequestCancelExternalWorkflowExecutionDecisionAttributes& WithControl(Aws::String&& value) { SetControl(std::move(value)); return *this;} /** *The data attached to the event that can be used by the decider in subsequent * workflow tasks.
*/ inline RequestCancelExternalWorkflowExecutionDecisionAttributes& WithControl(const char* value) { SetControl(value); return *this;} private: Aws::String m_workflowId; bool m_workflowIdHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; Aws::String m_control; bool m_controlHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws