/** * 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 KinesisVideo { namespace Model { /** */ class AWS_KINESISVIDEO_API GetSignalingChannelEndpointRequest : public KinesisVideoRequest { public: GetSignalingChannelEndpointRequest(); // 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 "GetSignalingChannelEndpoint"; } Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

The Amazon Resource Name (ARN) of the signalling channel for which you want * to get an endpoint.

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

A structure containing the endpoint configuration for the * SINGLE_MASTER channel type.

*/ inline const SingleMasterChannelEndpointConfiguration& GetSingleMasterChannelEndpointConfiguration() const{ return m_singleMasterChannelEndpointConfiguration; } /** *

A structure containing the endpoint configuration for the * SINGLE_MASTER channel type.

*/ inline bool SingleMasterChannelEndpointConfigurationHasBeenSet() const { return m_singleMasterChannelEndpointConfigurationHasBeenSet; } /** *

A structure containing the endpoint configuration for the * SINGLE_MASTER channel type.

*/ inline void SetSingleMasterChannelEndpointConfiguration(const SingleMasterChannelEndpointConfiguration& value) { m_singleMasterChannelEndpointConfigurationHasBeenSet = true; m_singleMasterChannelEndpointConfiguration = value; } /** *

A structure containing the endpoint configuration for the * SINGLE_MASTER channel type.

*/ inline void SetSingleMasterChannelEndpointConfiguration(SingleMasterChannelEndpointConfiguration&& value) { m_singleMasterChannelEndpointConfigurationHasBeenSet = true; m_singleMasterChannelEndpointConfiguration = std::move(value); } /** *

A structure containing the endpoint configuration for the * SINGLE_MASTER channel type.

*/ inline GetSignalingChannelEndpointRequest& WithSingleMasterChannelEndpointConfiguration(const SingleMasterChannelEndpointConfiguration& value) { SetSingleMasterChannelEndpointConfiguration(value); return *this;} /** *

A structure containing the endpoint configuration for the * SINGLE_MASTER channel type.

*/ inline GetSignalingChannelEndpointRequest& WithSingleMasterChannelEndpointConfiguration(SingleMasterChannelEndpointConfiguration&& value) { SetSingleMasterChannelEndpointConfiguration(std::move(value)); return *this;} private: Aws::String m_channelARN; bool m_channelARNHasBeenSet; SingleMasterChannelEndpointConfiguration m_singleMasterChannelEndpointConfiguration; bool m_singleMasterChannelEndpointConfigurationHasBeenSet; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws