/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Placeholder documentation for BatchDeleteResponse

See Also:

AWS * API Reference

*/ class BatchDeleteResult { public: AWS_MEDIALIVE_API BatchDeleteResult(); AWS_MEDIALIVE_API BatchDeleteResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIALIVE_API BatchDeleteResult& operator=(const Aws::AmazonWebServiceResult& result); /** * List of failed operations */ inline const Aws::Vector& GetFailed() const{ return m_failed; } /** * List of failed operations */ inline void SetFailed(const Aws::Vector& value) { m_failed = value; } /** * List of failed operations */ inline void SetFailed(Aws::Vector&& value) { m_failed = std::move(value); } /** * List of failed operations */ inline BatchDeleteResult& WithFailed(const Aws::Vector& value) { SetFailed(value); return *this;} /** * List of failed operations */ inline BatchDeleteResult& WithFailed(Aws::Vector&& value) { SetFailed(std::move(value)); return *this;} /** * List of failed operations */ inline BatchDeleteResult& AddFailed(const BatchFailedResultModel& value) { m_failed.push_back(value); return *this; } /** * List of failed operations */ inline BatchDeleteResult& AddFailed(BatchFailedResultModel&& value) { m_failed.push_back(std::move(value)); return *this; } /** * List of successful operations */ inline const Aws::Vector& GetSuccessful() const{ return m_successful; } /** * List of successful operations */ inline void SetSuccessful(const Aws::Vector& value) { m_successful = value; } /** * List of successful operations */ inline void SetSuccessful(Aws::Vector&& value) { m_successful = std::move(value); } /** * List of successful operations */ inline BatchDeleteResult& WithSuccessful(const Aws::Vector& value) { SetSuccessful(value); return *this;} /** * List of successful operations */ inline BatchDeleteResult& WithSuccessful(Aws::Vector&& value) { SetSuccessful(std::move(value)); return *this;} /** * List of successful operations */ inline BatchDeleteResult& AddSuccessful(const BatchSuccessfulResultModel& value) { m_successful.push_back(value); return *this; } /** * List of successful operations */ inline BatchDeleteResult& AddSuccessful(BatchSuccessfulResultModel&& value) { m_successful.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 BatchDeleteResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDeleteResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDeleteResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_failed; Aws::Vector m_successful; Aws::String m_requestId; }; } // namespace Model } // namespace MediaLive } // namespace Aws