/**
* 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 moderated channel.
See Also:
AWS
* API Reference
*/
class ChannelModeratedByAppInstanceUserSummary
{
public:
AWS_CHIME_API ChannelModeratedByAppInstanceUserSummary();
AWS_CHIME_API ChannelModeratedByAppInstanceUserSummary(Aws::Utils::Json::JsonView jsonValue);
AWS_CHIME_API ChannelModeratedByAppInstanceUserSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Summary of the details of a Channel
.
*/
inline const ChannelSummary& GetChannelSummary() const{ return m_channelSummary; }
/**
* Summary of the details of a Channel
.
*/
inline bool ChannelSummaryHasBeenSet() const { return m_channelSummaryHasBeenSet; }
/**
* Summary of the details of a Channel
.
*/
inline void SetChannelSummary(const ChannelSummary& value) { m_channelSummaryHasBeenSet = true; m_channelSummary = value; }
/**
* Summary of the details of a Channel
.
*/
inline void SetChannelSummary(ChannelSummary&& value) { m_channelSummaryHasBeenSet = true; m_channelSummary = std::move(value); }
/**
* Summary of the details of a Channel
.
*/
inline ChannelModeratedByAppInstanceUserSummary& WithChannelSummary(const ChannelSummary& value) { SetChannelSummary(value); return *this;}
/**
* Summary of the details of a Channel
.
*/
inline ChannelModeratedByAppInstanceUserSummary& WithChannelSummary(ChannelSummary&& value) { SetChannelSummary(std::move(value)); return *this;}
private:
ChannelSummary m_channelSummary;
bool m_channelSummaryHasBeenSet = false;
};
} // namespace Model
} // namespace Chime
} // namespace Aws