/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace KinesisVideoSignalingChannels { namespace Model { /** */ class SendAlexaOfferToMasterRequest : public KinesisVideoSignalingChannelsRequest { public: AWS_KINESISVIDEOSIGNALINGCHANNELS_API SendAlexaOfferToMasterRequest(); // 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 "SendAlexaOfferToMaster"; } AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::String SerializePayload() const override; /** *

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The ARN of the signaling channel by which Alexa and the master peer * communicate.

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

The unique identifier for the sender client.

*/ inline const Aws::String& GetSenderClientId() const{ return m_senderClientId; } /** *

The unique identifier for the sender client.

*/ inline bool SenderClientIdHasBeenSet() const { return m_senderClientIdHasBeenSet; } /** *

The unique identifier for the sender client.

*/ inline void SetSenderClientId(const Aws::String& value) { m_senderClientIdHasBeenSet = true; m_senderClientId = value; } /** *

The unique identifier for the sender client.

*/ inline void SetSenderClientId(Aws::String&& value) { m_senderClientIdHasBeenSet = true; m_senderClientId = std::move(value); } /** *

The unique identifier for the sender client.

*/ inline void SetSenderClientId(const char* value) { m_senderClientIdHasBeenSet = true; m_senderClientId.assign(value); } /** *

The unique identifier for the sender client.

*/ inline SendAlexaOfferToMasterRequest& WithSenderClientId(const Aws::String& value) { SetSenderClientId(value); return *this;} /** *

The unique identifier for the sender client.

*/ inline SendAlexaOfferToMasterRequest& WithSenderClientId(Aws::String&& value) { SetSenderClientId(std::move(value)); return *this;} /** *

The unique identifier for the sender client.

*/ inline SendAlexaOfferToMasterRequest& WithSenderClientId(const char* value) { SetSenderClientId(value); return *this;} /** *

The base64-encoded SDP offer content.

*/ inline const Aws::String& GetMessagePayload() const{ return m_messagePayload; } /** *

The base64-encoded SDP offer content.

*/ inline bool MessagePayloadHasBeenSet() const { return m_messagePayloadHasBeenSet; } /** *

The base64-encoded SDP offer content.

*/ inline void SetMessagePayload(const Aws::String& value) { m_messagePayloadHasBeenSet = true; m_messagePayload = value; } /** *

The base64-encoded SDP offer content.

*/ inline void SetMessagePayload(Aws::String&& value) { m_messagePayloadHasBeenSet = true; m_messagePayload = std::move(value); } /** *

The base64-encoded SDP offer content.

*/ inline void SetMessagePayload(const char* value) { m_messagePayloadHasBeenSet = true; m_messagePayload.assign(value); } /** *

The base64-encoded SDP offer content.

*/ inline SendAlexaOfferToMasterRequest& WithMessagePayload(const Aws::String& value) { SetMessagePayload(value); return *this;} /** *

The base64-encoded SDP offer content.

*/ inline SendAlexaOfferToMasterRequest& WithMessagePayload(Aws::String&& value) { SetMessagePayload(std::move(value)); return *this;} /** *

The base64-encoded SDP offer content.

*/ inline SendAlexaOfferToMasterRequest& WithMessagePayload(const char* value) { SetMessagePayload(value); return *this;} private: Aws::String m_channelARN; bool m_channelARNHasBeenSet = false; Aws::String m_senderClientId; bool m_senderClientIdHasBeenSet = false; Aws::String m_messagePayload; bool m_messagePayloadHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideoSignalingChannels } // namespace Aws