/** * 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 AddFlowMediaStreamsResult { public: AWS_MEDIACONNECT_API AddFlowMediaStreamsResult(); AWS_MEDIACONNECT_API AddFlowMediaStreamsResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIACONNECT_API AddFlowMediaStreamsResult& operator=(const Aws::AmazonWebServiceResult& result); /** * The ARN of the flow that you added media streams to. */ inline const Aws::String& GetFlowArn() const{ return m_flowArn; } /** * The ARN of the flow that you added media streams to. */ inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; } /** * The ARN of the flow that you added media streams to. */ inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); } /** * The ARN of the flow that you added media streams to. */ inline void SetFlowArn(const char* value) { m_flowArn.assign(value); } /** * The ARN of the flow that you added media streams to. */ inline AddFlowMediaStreamsResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} /** * The ARN of the flow that you added media streams to. */ inline AddFlowMediaStreamsResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} /** * The ARN of the flow that you added media streams to. */ inline AddFlowMediaStreamsResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} /** * The media streams that you added to the flow. */ inline const Aws::Vector& GetMediaStreams() const{ return m_mediaStreams; } /** * The media streams that you added to the flow. */ inline void SetMediaStreams(const Aws::Vector& value) { m_mediaStreams = value; } /** * The media streams that you added to the flow. */ inline void SetMediaStreams(Aws::Vector&& value) { m_mediaStreams = std::move(value); } /** * The media streams that you added to the flow. */ inline AddFlowMediaStreamsResult& WithMediaStreams(const Aws::Vector& value) { SetMediaStreams(value); return *this;} /** * The media streams that you added to the flow. */ inline AddFlowMediaStreamsResult& WithMediaStreams(Aws::Vector&& value) { SetMediaStreams(std::move(value)); return *this;} /** * The media streams that you added to the flow. */ inline AddFlowMediaStreamsResult& AddMediaStreams(const MediaStream& value) { m_mediaStreams.push_back(value); return *this; } /** * The media streams that you added to the flow. */ inline AddFlowMediaStreamsResult& AddMediaStreams(MediaStream&& value) { m_mediaStreams.push_back(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 AddFlowMediaStreamsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddFlowMediaStreamsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddFlowMediaStreamsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_flowArn; Aws::Vector m_mediaStreams; Aws::String m_requestId; }; } // namespace Model } // namespace MediaConnect } // namespace Aws