/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a channel moderator.See Also:
AWS
* API Reference
The moderator's data.
*/ inline const Identity& GetModerator() const{ return m_moderator; } /** *The moderator's data.
*/ inline bool ModeratorHasBeenSet() const { return m_moderatorHasBeenSet; } /** *The moderator's data.
*/ inline void SetModerator(const Identity& value) { m_moderatorHasBeenSet = true; m_moderator = value; } /** *The moderator's data.
*/ inline void SetModerator(Identity&& value) { m_moderatorHasBeenSet = true; m_moderator = std::move(value); } /** *The moderator's data.
*/ inline ChannelModerator& WithModerator(const Identity& value) { SetModerator(value); return *this;} /** *The moderator's data.
*/ inline ChannelModerator& WithModerator(Identity&& value) { SetModerator(std::move(value)); return *this;} /** *The ARN of the moderator's channel.
*/ inline const Aws::String& GetChannelArn() const{ return m_channelArn; } /** *The ARN of the moderator's channel.
*/ inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; } /** *The ARN of the moderator's channel.
*/ inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; } /** *The ARN of the moderator's channel.
*/ inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); } /** *The ARN of the moderator's channel.
*/ inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); } /** *The ARN of the moderator's channel.
*/ inline ChannelModerator& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;} /** *The ARN of the moderator's channel.
*/ inline ChannelModerator& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;} /** *The ARN of the moderator's channel.
*/ inline ChannelModerator& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} /** *The time at which the moderator was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *The time at which the moderator was created.
*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *The time at which the moderator was created.
*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *The time at which the moderator was created.
*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *The time at which the moderator was created.
*/ inline ChannelModerator& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *The time at which the moderator was created.
*/ inline ChannelModerator& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *The AppInstanceUser
who created the moderator.
The AppInstanceUser
who created the moderator.
The AppInstanceUser
who created the moderator.
The AppInstanceUser
who created the moderator.
The AppInstanceUser
who created the moderator.
The AppInstanceUser
who created the moderator.