/**
* 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 BatchStartResponseSee Also:
AWS
* API Reference
*/
class BatchStartResult
{
public:
AWS_MEDIALIVE_API BatchStartResult();
AWS_MEDIALIVE_API BatchStartResult(const Aws::AmazonWebServiceResult& result);
AWS_MEDIALIVE_API BatchStartResult& 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 BatchStartResult& WithFailed(const Aws::Vector& value) { SetFailed(value); return *this;}
/**
* List of failed operations
*/
inline BatchStartResult& WithFailed(Aws::Vector&& value) { SetFailed(std::move(value)); return *this;}
/**
* List of failed operations
*/
inline BatchStartResult& AddFailed(const BatchFailedResultModel& value) { m_failed.push_back(value); return *this; }
/**
* List of failed operations
*/
inline BatchStartResult& 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 BatchStartResult& WithSuccessful(const Aws::Vector& value) { SetSuccessful(value); return *this;}
/**
* List of successful operations
*/
inline BatchStartResult& WithSuccessful(Aws::Vector&& value) { SetSuccessful(std::move(value)); return *this;}
/**
* List of successful operations
*/
inline BatchStartResult& AddSuccessful(const BatchSuccessfulResultModel& value) { m_successful.push_back(value); return *this; }
/**
* List of successful operations
*/
inline BatchStartResult& 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 BatchStartResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline BatchStartResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline BatchStartResult& 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