/** * 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 AddFlowSourcesResult { public: AWS_MEDIACONNECT_API AddFlowSourcesResult(); AWS_MEDIACONNECT_API AddFlowSourcesResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIACONNECT_API AddFlowSourcesResult& operator=(const Aws::AmazonWebServiceResult& result); /** * The ARN of the flow that these sources were added to. */ inline const Aws::String& GetFlowArn() const{ return m_flowArn; } /** * The ARN of the flow that these sources were added to. */ inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; } /** * The ARN of the flow that these sources were added to. */ inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); } /** * The ARN of the flow that these sources were added to. */ inline void SetFlowArn(const char* value) { m_flowArn.assign(value); } /** * The ARN of the flow that these sources were added to. */ inline AddFlowSourcesResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} /** * The ARN of the flow that these sources were added to. */ inline AddFlowSourcesResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} /** * The ARN of the flow that these sources were added to. */ inline AddFlowSourcesResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} /** * The details of the newly added sources. */ inline const Aws::Vector& GetSources() const{ return m_sources; } /** * The details of the newly added sources. */ inline void SetSources(const Aws::Vector& value) { m_sources = value; } /** * The details of the newly added sources. */ inline void SetSources(Aws::Vector&& value) { m_sources = std::move(value); } /** * The details of the newly added sources. */ inline AddFlowSourcesResult& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** * The details of the newly added sources. */ inline AddFlowSourcesResult& WithSources(Aws::Vector&& value) { SetSources(std::move(value)); return *this;} /** * The details of the newly added sources. */ inline AddFlowSourcesResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; } /** * The details of the newly added sources. */ inline AddFlowSourcesResult& AddSources(Source&& value) { m_sources.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 AddFlowSourcesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddFlowSourcesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddFlowSourcesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_flowArn; Aws::Vector m_sources; Aws::String m_requestId; }; } // namespace Model } // namespace MediaConnect } // namespace Aws