/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Chime { namespace Model { /** *

Summary of the details of a ChannelModerator.

See * Also:

AWS * API Reference

*/ class ChannelModeratorSummary { public: AWS_CHIME_API ChannelModeratorSummary(); AWS_CHIME_API ChannelModeratorSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API ChannelModeratorSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The data for a moderator.

*/ inline const Identity& GetModerator() const{ return m_moderator; } /** *

The data for a moderator.

*/ inline bool ModeratorHasBeenSet() const { return m_moderatorHasBeenSet; } /** *

The data for a moderator.

*/ inline void SetModerator(const Identity& value) { m_moderatorHasBeenSet = true; m_moderator = value; } /** *

The data for a moderator.

*/ inline void SetModerator(Identity&& value) { m_moderatorHasBeenSet = true; m_moderator = std::move(value); } /** *

The data for a moderator.

*/ inline ChannelModeratorSummary& WithModerator(const Identity& value) { SetModerator(value); return *this;} /** *

The data for a moderator.

*/ inline ChannelModeratorSummary& WithModerator(Identity&& value) { SetModerator(std::move(value)); return *this;} private: Identity m_moderator; bool m_moderatorHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws