/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisVideo { namespace Model { /** *

A structure that encapsulates a signaling channel's metadata and * properties.

See Also:

AWS * API Reference

*/ class ChannelInfo { public: AWS_KINESISVIDEO_API ChannelInfo(); AWS_KINESISVIDEO_API ChannelInfo(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API ChannelInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the signaling channel.

*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *

The name of the signaling channel.

*/ inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; } /** *

The name of the signaling channel.

*/ inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; } /** *

The name of the signaling channel.

*/ inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); } /** *

The name of the signaling channel.

*/ inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); } /** *

The name of the signaling channel.

*/ inline ChannelInfo& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *

The name of the signaling channel.

*/ inline ChannelInfo& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *

The name of the signaling channel.

*/ inline ChannelInfo& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline const Aws::String& GetChannelARN() const{ return m_channelARN; } /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; } /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline ChannelInfo& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline ChannelInfo& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the signaling channel.

*/ inline ChannelInfo& WithChannelARN(const char* value) { SetChannelARN(value); return *this;} /** *

The type of the signaling channel.

*/ inline const ChannelType& GetChannelType() const{ return m_channelType; } /** *

The type of the signaling channel.

*/ inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; } /** *

The type of the signaling channel.

*/ inline void SetChannelType(const ChannelType& value) { m_channelTypeHasBeenSet = true; m_channelType = value; } /** *

The type of the signaling channel.

*/ inline void SetChannelType(ChannelType&& value) { m_channelTypeHasBeenSet = true; m_channelType = std::move(value); } /** *

The type of the signaling channel.

*/ inline ChannelInfo& WithChannelType(const ChannelType& value) { SetChannelType(value); return *this;} /** *

The type of the signaling channel.

*/ inline ChannelInfo& WithChannelType(ChannelType&& value) { SetChannelType(std::move(value)); return *this;} /** *

Current status of the signaling channel.

*/ inline const Status& GetChannelStatus() const{ return m_channelStatus; } /** *

Current status of the signaling channel.

*/ inline bool ChannelStatusHasBeenSet() const { return m_channelStatusHasBeenSet; } /** *

Current status of the signaling channel.

*/ inline void SetChannelStatus(const Status& value) { m_channelStatusHasBeenSet = true; m_channelStatus = value; } /** *

Current status of the signaling channel.

*/ inline void SetChannelStatus(Status&& value) { m_channelStatusHasBeenSet = true; m_channelStatus = std::move(value); } /** *

Current status of the signaling channel.

*/ inline ChannelInfo& WithChannelStatus(const Status& value) { SetChannelStatus(value); return *this;} /** *

Current status of the signaling channel.

*/ inline ChannelInfo& WithChannelStatus(Status&& value) { SetChannelStatus(std::move(value)); return *this;} /** *

The time at which the signaling channel was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time at which the signaling channel was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time at which the signaling channel was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time at which the signaling channel was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time at which the signaling channel was created.

*/ inline ChannelInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time at which the signaling channel was created.

*/ inline ChannelInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

A structure that contains the configuration for the * SINGLE_MASTER channel type.

*/ inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const{ return m_singleMasterConfiguration; } /** *

A structure that contains the configuration for the * SINGLE_MASTER channel type.

*/ inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; } /** *

A structure that contains the configuration for the * SINGLE_MASTER channel type.

*/ inline void SetSingleMasterConfiguration(const SingleMasterConfiguration& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = value; } /** *

A structure that contains the configuration for the * SINGLE_MASTER channel type.

*/ inline void SetSingleMasterConfiguration(SingleMasterConfiguration&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::move(value); } /** *

A structure that contains the configuration for the * SINGLE_MASTER channel type.

*/ inline ChannelInfo& WithSingleMasterConfiguration(const SingleMasterConfiguration& value) { SetSingleMasterConfiguration(value); return *this;} /** *

A structure that contains the configuration for the * SINGLE_MASTER channel type.

*/ inline ChannelInfo& WithSingleMasterConfiguration(SingleMasterConfiguration&& value) { SetSingleMasterConfiguration(std::move(value)); return *this;} /** *

The current version of the signaling channel.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

The current version of the signaling channel.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

The current version of the signaling channel.

*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *

The current version of the signaling channel.

*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *

The current version of the signaling channel.

*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *

The current version of the signaling channel.

*/ inline ChannelInfo& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

The current version of the signaling channel.

*/ inline ChannelInfo& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

The current version of the signaling channel.

*/ inline ChannelInfo& WithVersion(const char* value) { SetVersion(value); return *this;} private: Aws::String m_channelName; bool m_channelNameHasBeenSet = false; Aws::String m_channelARN; bool m_channelARNHasBeenSet = false; ChannelType m_channelType; bool m_channelTypeHasBeenSet = false; Status m_channelStatus; bool m_channelStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; SingleMasterConfiguration m_singleMasterConfiguration; bool m_singleMasterConfigurationHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws