84 lines
2.4 KiB
C
84 lines
2.4 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/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace IVS
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*/
|
|||
|
|
class AWS_IVS_API GetStreamRequest : public IVSRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetStreamRequest();
|
|||
|
|
|
|||
|
|
// 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 "GetStream"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetStreamRequest& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetStreamRequest& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Channel ARN for stream to be accessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetStreamRequest& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_channelArn;
|
|||
|
|
bool m_channelArnHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace IVS
|
|||
|
|
} // namespace Aws
|