/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Chime { namespace Model { /** *

Summary of the channel membership details of an * AppInstanceUser.

See Also:

AWS * API Reference

*/ class ChannelMembershipForAppInstanceUserSummary { public: AWS_CHIME_API ChannelMembershipForAppInstanceUserSummary(); AWS_CHIME_API ChannelMembershipForAppInstanceUserSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API ChannelMembershipForAppInstanceUserSummary& 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 ChannelMembershipForAppInstanceUserSummary& WithChannelSummary(const ChannelSummary& value) { SetChannelSummary(value); return *this;} /** *

Summary of the details of a Channel.

*/ inline ChannelMembershipForAppInstanceUserSummary& WithChannelSummary(ChannelSummary&& value) { SetChannelSummary(std::move(value)); return *this;} /** *

Summary of the membership details of an AppInstanceUser.

*/ inline const AppInstanceUserMembershipSummary& GetAppInstanceUserMembershipSummary() const{ return m_appInstanceUserMembershipSummary; } /** *

Summary of the membership details of an AppInstanceUser.

*/ inline bool AppInstanceUserMembershipSummaryHasBeenSet() const { return m_appInstanceUserMembershipSummaryHasBeenSet; } /** *

Summary of the membership details of an AppInstanceUser.

*/ inline void SetAppInstanceUserMembershipSummary(const AppInstanceUserMembershipSummary& value) { m_appInstanceUserMembershipSummaryHasBeenSet = true; m_appInstanceUserMembershipSummary = value; } /** *

Summary of the membership details of an AppInstanceUser.

*/ inline void SetAppInstanceUserMembershipSummary(AppInstanceUserMembershipSummary&& value) { m_appInstanceUserMembershipSummaryHasBeenSet = true; m_appInstanceUserMembershipSummary = std::move(value); } /** *

Summary of the membership details of an AppInstanceUser.

*/ inline ChannelMembershipForAppInstanceUserSummary& WithAppInstanceUserMembershipSummary(const AppInstanceUserMembershipSummary& value) { SetAppInstanceUserMembershipSummary(value); return *this;} /** *

Summary of the membership details of an AppInstanceUser.

*/ inline ChannelMembershipForAppInstanceUserSummary& WithAppInstanceUserMembershipSummary(AppInstanceUserMembershipSummary&& value) { SetAppInstanceUserMembershipSummary(std::move(value)); return *this;} private: ChannelSummary m_channelSummary; bool m_channelSummaryHasBeenSet = false; AppInstanceUserMembershipSummary m_appInstanceUserMembershipSummary; bool m_appInstanceUserMembershipSummaryHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws