/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ChimeSDKMediaPipelines
{
namespace Model
{
/**
* Defines an audio channel in a Kinesis video stream.
See Also:
* AWS
* API Reference
*/
class ChannelDefinition
{
public:
AWS_CHIMESDKMEDIAPIPELINES_API ChannelDefinition();
AWS_CHIMESDKMEDIAPIPELINES_API ChannelDefinition(Aws::Utils::Json::JsonView jsonValue);
AWS_CHIMESDKMEDIAPIPELINES_API ChannelDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CHIMESDKMEDIAPIPELINES_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The channel ID.
*/
inline int GetChannelId() const{ return m_channelId; }
/**
* The channel ID.
*/
inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
/**
* The channel ID.
*/
inline void SetChannelId(int value) { m_channelIdHasBeenSet = true; m_channelId = value; }
/**
* The channel ID.
*/
inline ChannelDefinition& WithChannelId(int value) { SetChannelId(value); return *this;}
/**
* Specifies whether the audio in a channel belongs to the AGENT
or
* CUSTOMER
.
*/
inline const ParticipantRole& GetParticipantRole() const{ return m_participantRole; }
/**
* Specifies whether the audio in a channel belongs to the AGENT
or
* CUSTOMER
.
*/
inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
/**
* Specifies whether the audio in a channel belongs to the AGENT
or
* CUSTOMER
.
*/
inline void SetParticipantRole(const ParticipantRole& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
/**
* Specifies whether the audio in a channel belongs to the AGENT
or
* CUSTOMER
.
*/
inline void SetParticipantRole(ParticipantRole&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
/**
* Specifies whether the audio in a channel belongs to the AGENT
or
* CUSTOMER
.
*/
inline ChannelDefinition& WithParticipantRole(const ParticipantRole& value) { SetParticipantRole(value); return *this;}
/**
* Specifies whether the audio in a channel belongs to the AGENT
or
* CUSTOMER
.
*/
inline ChannelDefinition& WithParticipantRole(ParticipantRole&& value) { SetParticipantRole(std::move(value)); return *this;}
private:
int m_channelId;
bool m_channelIdHasBeenSet = false;
ParticipantRole m_participantRole;
bool m_participantRoleHasBeenSet = false;
};
} // namespace Model
} // namespace ChimeSDKMediaPipelines
} // namespace Aws