/**
* 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 CompleteWorkflowExecution
* 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 result of the workflow execution. The form of the result is * implementation defined.
*/ inline const Aws::String& GetResult() const{ return m_result; } /** *The result of the workflow execution. The form of the result is * implementation defined.
*/ inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; } /** *The result of the workflow execution. The form of the result is * implementation defined.
*/ inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; } /** *The result of the workflow execution. The form of the result is * implementation defined.
*/ inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); } /** *The result of the workflow execution. The form of the result is * implementation defined.
*/ inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); } /** *The result of the workflow execution. The form of the result is * implementation defined.
*/ inline CompleteWorkflowExecutionDecisionAttributes& WithResult(const Aws::String& value) { SetResult(value); return *this;} /** *The result of the workflow execution. The form of the result is * implementation defined.
*/ inline CompleteWorkflowExecutionDecisionAttributes& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;} /** *The result of the workflow execution. The form of the result is * implementation defined.
*/ inline CompleteWorkflowExecutionDecisionAttributes& WithResult(const char* value) { SetResult(value); return *this;} private: Aws::String m_result; bool m_resultHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws