118 lines
3.3 KiB
C++
118 lines
3.3 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/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/mediaconnect/model/Output.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 AddFlowOutputsResult
|
|
{
|
|
public:
|
|
AddFlowOutputsResult();
|
|
AddFlowOutputsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
AddFlowOutputsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* The ARN of the flow that these outputs were added to.
|
|
*/
|
|
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
|
|
|
|
/**
|
|
* The ARN of the flow that these outputs were added to.
|
|
*/
|
|
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
|
|
|
|
/**
|
|
* The ARN of the flow that these outputs were added to.
|
|
*/
|
|
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
|
|
|
|
/**
|
|
* The ARN of the flow that these outputs were added to.
|
|
*/
|
|
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
|
|
|
|
/**
|
|
* The ARN of the flow that these outputs were added to.
|
|
*/
|
|
inline AddFlowOutputsResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
|
|
|
|
/**
|
|
* The ARN of the flow that these outputs were added to.
|
|
*/
|
|
inline AddFlowOutputsResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The ARN of the flow that these outputs were added to.
|
|
*/
|
|
inline AddFlowOutputsResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The details of the newly added outputs.
|
|
*/
|
|
inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
|
|
|
|
/**
|
|
* The details of the newly added outputs.
|
|
*/
|
|
inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputs = value; }
|
|
|
|
/**
|
|
* The details of the newly added outputs.
|
|
*/
|
|
inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputs = std::move(value); }
|
|
|
|
/**
|
|
* The details of the newly added outputs.
|
|
*/
|
|
inline AddFlowOutputsResult& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
|
|
|
|
/**
|
|
* The details of the newly added outputs.
|
|
*/
|
|
inline AddFlowOutputsResult& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The details of the newly added outputs.
|
|
*/
|
|
inline AddFlowOutputsResult& AddOutputs(const Output& value) { m_outputs.push_back(value); return *this; }
|
|
|
|
/**
|
|
* The details of the newly added outputs.
|
|
*/
|
|
inline AddFlowOutputsResult& AddOutputs(Output&& value) { m_outputs.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_flowArn;
|
|
|
|
Aws::Vector<Output> m_outputs;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MediaConnect
|
|
} // namespace Aws
|