/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Transfer { namespace Model { class DescribeWorkflowResult { public: AWS_TRANSFER_API DescribeWorkflowResult(); AWS_TRANSFER_API DescribeWorkflowResult(const Aws::AmazonWebServiceResult& result); AWS_TRANSFER_API DescribeWorkflowResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The structure that contains the details of the workflow.

*/ inline const DescribedWorkflow& GetWorkflow() const{ return m_workflow; } /** *

The structure that contains the details of the workflow.

*/ inline void SetWorkflow(const DescribedWorkflow& value) { m_workflow = value; } /** *

The structure that contains the details of the workflow.

*/ inline void SetWorkflow(DescribedWorkflow&& value) { m_workflow = std::move(value); } /** *

The structure that contains the details of the workflow.

*/ inline DescribeWorkflowResult& WithWorkflow(const DescribedWorkflow& value) { SetWorkflow(value); return *this;} /** *

The structure that contains the details of the workflow.

*/ inline DescribeWorkflowResult& WithWorkflow(DescribedWorkflow&& value) { SetWorkflow(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeWorkflowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeWorkflowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeWorkflowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DescribedWorkflow m_workflow; Aws::String m_requestId; }; } // namespace Model } // namespace Transfer } // namespace Aws