This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

107 lines
2.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Status.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API StopFlowResult
{
public:
StopFlowResult();
StopFlowResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
StopFlowResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that you stopped.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you stopped.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that you stopped.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that you stopped.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that you stopped.
*/
inline StopFlowResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you stopped.
*/
inline StopFlowResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you stopped.
*/
inline StopFlowResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The status of the flow when the StopFlow process begins.
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* The status of the flow when the StopFlow process begins.
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* The status of the flow when the StopFlow process begins.
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* The status of the flow when the StopFlow process begins.
*/
inline StopFlowResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* The status of the flow when the StopFlow process begins.
*/
inline StopFlowResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::String m_flowArn;
Status m_status;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws