/** * 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 Appflow { namespace Model { class StopFlowResult { public: AWS_APPFLOW_API StopFlowResult(); AWS_APPFLOW_API StopFlowResult(const Aws::AmazonWebServiceResult& result); AWS_APPFLOW_API StopFlowResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The flow's Amazon Resource Name (ARN).

*/ inline const Aws::String& GetFlowArn() const{ return m_flowArn; } /** *

The flow's Amazon Resource Name (ARN).

*/ inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; } /** *

The flow's Amazon Resource Name (ARN).

*/ inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); } /** *

The flow's Amazon Resource Name (ARN).

*/ inline void SetFlowArn(const char* value) { m_flowArn.assign(value); } /** *

The flow's Amazon Resource Name (ARN).

*/ inline StopFlowResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} /** *

The flow's Amazon Resource Name (ARN).

*/ inline StopFlowResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} /** *

The flow's Amazon Resource Name (ARN).

*/ inline StopFlowResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} /** *

Indicates the current status of the flow.

*/ inline const FlowStatus& GetFlowStatus() const{ return m_flowStatus; } /** *

Indicates the current status of the flow.

*/ inline void SetFlowStatus(const FlowStatus& value) { m_flowStatus = value; } /** *

Indicates the current status of the flow.

*/ inline void SetFlowStatus(FlowStatus&& value) { m_flowStatus = std::move(value); } /** *

Indicates the current status of the flow.

*/ inline StopFlowResult& WithFlowStatus(const FlowStatus& value) { SetFlowStatus(value); return *this;} /** *

Indicates the current status of the flow.

*/ inline StopFlowResult& WithFlowStatus(FlowStatus&& value) { SetFlowStatus(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 StopFlowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopFlowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopFlowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_flowArn; FlowStatus m_flowStatus; Aws::String m_requestId; }; } // namespace Model } // namespace Appflow } // namespace Aws