/** * 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 IVS { namespace Model { class AWS_IVS_API BatchGetChannelResult { public: BatchGetChannelResult(); BatchGetChannelResult(const Aws::AmazonWebServiceResult& result); BatchGetChannelResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::Vector& GetChannels() const{ return m_channels; } inline void SetChannels(const Aws::Vector& value) { m_channels = value; } inline void SetChannels(Aws::Vector&& value) { m_channels = std::move(value); } inline BatchGetChannelResult& WithChannels(const Aws::Vector& value) { SetChannels(value); return *this;} inline BatchGetChannelResult& WithChannels(Aws::Vector&& value) { SetChannels(std::move(value)); return *this;} inline BatchGetChannelResult& AddChannels(const Channel& value) { m_channels.push_back(value); return *this; } inline BatchGetChannelResult& AddChannels(Channel&& value) { m_channels.push_back(std::move(value)); return *this; } /** *

Each error object is related to a specific ARN in the request.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

Each error object is related to a specific ARN in the request.

*/ inline void SetErrors(const Aws::Vector& value) { m_errors = value; } /** *

Each error object is related to a specific ARN in the request.

*/ inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } /** *

Each error object is related to a specific ARN in the request.

*/ inline BatchGetChannelResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

Each error object is related to a specific ARN in the request.

*/ inline BatchGetChannelResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

Each error object is related to a specific ARN in the request.

*/ inline BatchGetChannelResult& AddErrors(const BatchError& value) { m_errors.push_back(value); return *this; } /** *

Each error object is related to a specific ARN in the request.

*/ inline BatchGetChannelResult& AddErrors(BatchError&& value) { m_errors.push_back(std::move(value)); return *this; } private: Aws::Vector m_channels; Aws::Vector m_errors; }; } // namespace Model } // namespace IVS } // namespace Aws