/** * 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 Http { class URI; } //namespace Http namespace ChimeSDKMessaging { namespace Model { /** */ class GetChannelMessageStatusRequest : public ChimeSDKMessagingRequest { public: AWS_CHIMESDKMESSAGING_API GetChannelMessageStatusRequest(); // 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 "GetChannelMessageStatus"; } AWS_CHIMESDKMESSAGING_API Aws::String SerializePayload() const override; AWS_CHIMESDKMESSAGING_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; AWS_CHIMESDKMESSAGING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN of the channel

*/ inline const Aws::String& GetChannelArn() const{ return m_channelArn; } /** *

The ARN of the channel

*/ inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; } /** *

The ARN of the channel

*/ inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; } /** *

The ARN of the channel

*/ inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); } /** *

The ARN of the channel

*/ inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); } /** *

The ARN of the channel

*/ inline GetChannelMessageStatusRequest& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;} /** *

The ARN of the channel

*/ inline GetChannelMessageStatusRequest& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;} /** *

The ARN of the channel

*/ inline GetChannelMessageStatusRequest& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} /** *

The ID of the message.

*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *

The ID of the message.

*/ inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; } /** *

The ID of the message.

*/ inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; } /** *

The ID of the message.

*/ inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); } /** *

The ID of the message.

*/ inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); } /** *

The ID of the message.

*/ inline GetChannelMessageStatusRequest& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *

The ID of the message.

*/ inline GetChannelMessageStatusRequest& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *

The ID of the message.

*/ inline GetChannelMessageStatusRequest& WithMessageId(const char* value) { SetMessageId(value); return *this;} /** *

The AppInstanceUserArn of the user making the API call.

*/ inline const Aws::String& GetChimeBearer() const{ return m_chimeBearer; } /** *

The AppInstanceUserArn of the user making the API call.

*/ inline bool ChimeBearerHasBeenSet() const { return m_chimeBearerHasBeenSet; } /** *

The AppInstanceUserArn of the user making the API call.

*/ inline void SetChimeBearer(const Aws::String& value) { m_chimeBearerHasBeenSet = true; m_chimeBearer = value; } /** *

The AppInstanceUserArn of the user making the API call.

*/ inline void SetChimeBearer(Aws::String&& value) { m_chimeBearerHasBeenSet = true; m_chimeBearer = std::move(value); } /** *

The AppInstanceUserArn of the user making the API call.

*/ inline void SetChimeBearer(const char* value) { m_chimeBearerHasBeenSet = true; m_chimeBearer.assign(value); } /** *

The AppInstanceUserArn of the user making the API call.

*/ inline GetChannelMessageStatusRequest& WithChimeBearer(const Aws::String& value) { SetChimeBearer(value); return *this;} /** *

The AppInstanceUserArn of the user making the API call.

*/ inline GetChannelMessageStatusRequest& WithChimeBearer(Aws::String&& value) { SetChimeBearer(std::move(value)); return *this;} /** *

The AppInstanceUserArn of the user making the API call.

*/ inline GetChannelMessageStatusRequest& WithChimeBearer(const char* value) { SetChimeBearer(value); return *this;} /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline const Aws::String& GetSubChannelId() const{ return m_subChannelId; } /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline bool SubChannelIdHasBeenSet() const { return m_subChannelIdHasBeenSet; } /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline void SetSubChannelId(const Aws::String& value) { m_subChannelIdHasBeenSet = true; m_subChannelId = value; } /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline void SetSubChannelId(Aws::String&& value) { m_subChannelIdHasBeenSet = true; m_subChannelId = std::move(value); } /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline void SetSubChannelId(const char* value) { m_subChannelIdHasBeenSet = true; m_subChannelId.assign(value); } /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline GetChannelMessageStatusRequest& WithSubChannelId(const Aws::String& value) { SetSubChannelId(value); return *this;} /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline GetChannelMessageStatusRequest& WithSubChannelId(Aws::String&& value) { SetSubChannelId(std::move(value)); return *this;} /** *

The ID of the SubChannel in the request.

Only required when * getting message status in a SubChannel that the user belongs to.

*/ inline GetChannelMessageStatusRequest& WithSubChannelId(const char* value) { SetSubChannelId(value); return *this;} private: Aws::String m_channelArn; bool m_channelArnHasBeenSet = false; Aws::String m_messageId; bool m_messageIdHasBeenSet = false; Aws::String m_chimeBearer; bool m_chimeBearerHasBeenSet = false; Aws::String m_subChannelId; bool m_subChannelIdHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws