/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template 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& result); AddFlowOutputsResult& operator=(const Aws::AmazonWebServiceResult& 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& GetOutputs() const{ return m_outputs; } /** * The details of the newly added outputs. */ inline void SetOutputs(const Aws::Vector& value) { m_outputs = value; } /** * The details of the newly added outputs. */ inline void SetOutputs(Aws::Vector&& value) { m_outputs = std::move(value); } /** * The details of the newly added outputs. */ inline AddFlowOutputsResult& WithOutputs(const Aws::Vector& value) { SetOutputs(value); return *this;} /** * The details of the newly added outputs. */ inline AddFlowOutputsResult& WithOutputs(Aws::Vector&& 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 m_outputs; }; } // namespace Model } // namespace MediaConnect } // namespace Aws