/**
* 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
{
namespace MediaLive
{
namespace Model
{
/**
* A request to stop resourcesSee Also:
AWS
* API Reference
*/
class BatchStopRequest : public MediaLiveRequest
{
public:
AWS_MEDIALIVE_API BatchStopRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchStop"; }
AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
/**
* List of channel IDs
*/
inline const Aws::Vector& GetChannelIds() const{ return m_channelIds; }
/**
* List of channel IDs
*/
inline bool ChannelIdsHasBeenSet() const { return m_channelIdsHasBeenSet; }
/**
* List of channel IDs
*/
inline void SetChannelIds(const Aws::Vector& value) { m_channelIdsHasBeenSet = true; m_channelIds = value; }
/**
* List of channel IDs
*/
inline void SetChannelIds(Aws::Vector&& value) { m_channelIdsHasBeenSet = true; m_channelIds = std::move(value); }
/**
* List of channel IDs
*/
inline BatchStopRequest& WithChannelIds(const Aws::Vector& value) { SetChannelIds(value); return *this;}
/**
* List of channel IDs
*/
inline BatchStopRequest& WithChannelIds(Aws::Vector&& value) { SetChannelIds(std::move(value)); return *this;}
/**
* List of channel IDs
*/
inline BatchStopRequest& AddChannelIds(const Aws::String& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
/**
* List of channel IDs
*/
inline BatchStopRequest& AddChannelIds(Aws::String&& value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(std::move(value)); return *this; }
/**
* List of channel IDs
*/
inline BatchStopRequest& AddChannelIds(const char* value) { m_channelIdsHasBeenSet = true; m_channelIds.push_back(value); return *this; }
/**
* List of multiplex IDs
*/
inline const Aws::Vector& GetMultiplexIds() const{ return m_multiplexIds; }
/**
* List of multiplex IDs
*/
inline bool MultiplexIdsHasBeenSet() const { return m_multiplexIdsHasBeenSet; }
/**
* List of multiplex IDs
*/
inline void SetMultiplexIds(const Aws::Vector& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = value; }
/**
* List of multiplex IDs
*/
inline void SetMultiplexIds(Aws::Vector&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds = std::move(value); }
/**
* List of multiplex IDs
*/
inline BatchStopRequest& WithMultiplexIds(const Aws::Vector& value) { SetMultiplexIds(value); return *this;}
/**
* List of multiplex IDs
*/
inline BatchStopRequest& WithMultiplexIds(Aws::Vector&& value) { SetMultiplexIds(std::move(value)); return *this;}
/**
* List of multiplex IDs
*/
inline BatchStopRequest& AddMultiplexIds(const Aws::String& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
/**
* List of multiplex IDs
*/
inline BatchStopRequest& AddMultiplexIds(Aws::String&& value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(std::move(value)); return *this; }
/**
* List of multiplex IDs
*/
inline BatchStopRequest& AddMultiplexIds(const char* value) { m_multiplexIdsHasBeenSet = true; m_multiplexIds.push_back(value); return *this; }
private:
Aws::Vector m_channelIds;
bool m_channelIdsHasBeenSet = false;
Aws::Vector m_multiplexIds;
bool m_multiplexIdsHasBeenSet = false;
};
} // namespace Model
} // namespace MediaLive
} // namespace Aws