This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchGetChannelRequest.h

90 lines
2.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ivs/IVS_EXPORTS.h>
#include <aws/ivs/IVSRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IVS
{
namespace Model
{
/**
*/
class AWS_IVS_API BatchGetChannelRequest : public IVSRequest
{
public:
BatchGetChannelRequest();
// 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 "BatchGetChannel"; }
Aws::String SerializePayload() const override;
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline const Aws::Vector<Aws::String>& GetArns() const{ return m_arns; }
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline void SetArns(const Aws::Vector<Aws::String>& value) { m_arnsHasBeenSet = true; m_arns = value; }
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline void SetArns(Aws::Vector<Aws::String>&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); }
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline BatchGetChannelRequest& WithArns(const Aws::Vector<Aws::String>& value) { SetArns(value); return *this;}
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline BatchGetChannelRequest& WithArns(Aws::Vector<Aws::String>&& value) { SetArns(std::move(value)); return *this;}
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline BatchGetChannelRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline BatchGetChannelRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; }
/**
* <p>Array of ARNs, one per channel.</p>
*/
inline BatchGetChannelRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_arns;
bool m_arnsHasBeenSet;
};
} // namespace Model
} // namespace IVS
} // namespace Aws