/** * 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 BatchGetStreamKeyResult { public: BatchGetStreamKeyResult(); BatchGetStreamKeyResult(const Aws::AmazonWebServiceResult& result); BatchGetStreamKeyResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::Vector& GetStreamKeys() const{ return m_streamKeys; } inline void SetStreamKeys(const Aws::Vector& value) { m_streamKeys = value; } inline void SetStreamKeys(Aws::Vector&& value) { m_streamKeys = std::move(value); } inline BatchGetStreamKeyResult& WithStreamKeys(const Aws::Vector& value) { SetStreamKeys(value); return *this;} inline BatchGetStreamKeyResult& WithStreamKeys(Aws::Vector&& value) { SetStreamKeys(std::move(value)); return *this;} inline BatchGetStreamKeyResult& AddStreamKeys(const StreamKey& value) { m_streamKeys.push_back(value); return *this; } inline BatchGetStreamKeyResult& AddStreamKeys(StreamKey&& value) { m_streamKeys.push_back(std::move(value)); return *this; } inline const Aws::Vector& GetErrors() const{ return m_errors; } inline void SetErrors(const Aws::Vector& value) { m_errors = value; } inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } inline BatchGetStreamKeyResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} inline BatchGetStreamKeyResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} inline BatchGetStreamKeyResult& AddErrors(const BatchError& value) { m_errors.push_back(value); return *this; } inline BatchGetStreamKeyResult& AddErrors(BatchError&& value) { m_errors.push_back(std::move(value)); return *this; } private: Aws::Vector m_streamKeys; Aws::Vector m_errors; }; } // namespace Model } // namespace IVS } // namespace Aws