/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a channel ban.See Also:
AWS
* API Reference
The member being banned from the channel.
*/ inline const Identity& GetMember() const{ return m_member; } /** *The member being banned from the channel.
*/ inline bool MemberHasBeenSet() const { return m_memberHasBeenSet; } /** *The member being banned from the channel.
*/ inline void SetMember(const Identity& value) { m_memberHasBeenSet = true; m_member = value; } /** *The member being banned from the channel.
*/ inline void SetMember(Identity&& value) { m_memberHasBeenSet = true; m_member = std::move(value); } /** *The member being banned from the channel.
*/ inline ChannelBan& WithMember(const Identity& value) { SetMember(value); return *this;} /** *The member being banned from the channel.
*/ inline ChannelBan& WithMember(Identity&& value) { SetMember(std::move(value)); return *this;} /** *The ARN of the channel from which a member is being banned.
*/ inline const Aws::String& GetChannelArn() const{ return m_channelArn; } /** *The ARN of the channel from which a member is being banned.
*/ inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; } /** *The ARN of the channel from which a member is being banned.
*/ inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; } /** *The ARN of the channel from which a member is being banned.
*/ inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); } /** *The ARN of the channel from which a member is being banned.
*/ inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); } /** *The ARN of the channel from which a member is being banned.
*/ inline ChannelBan& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;} /** *The ARN of the channel from which a member is being banned.
*/ inline ChannelBan& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;} /** *The ARN of the channel from which a member is being banned.
*/ inline ChannelBan& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} /** *The time at which the ban was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *The time at which the ban was created.
*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *The time at which the ban was created.
*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *The time at which the ban was created.
*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *The time at which the ban was created.
*/ inline ChannelBan& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *The time at which the ban was created.
*/ inline ChannelBan& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *The AppInstanceUser
who created the ban.
The AppInstanceUser
who created the ban.
The AppInstanceUser
who created the ban.
The AppInstanceUser
who created the ban.
The AppInstanceUser
who created the ban.
The AppInstanceUser
who created the ban.