/** * 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 ChimeSDKMessaging { namespace Model { /** *

Summary of the sub-channels associated with the elastic * channel.

See Also:

AWS * API Reference

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

The unique ID of a SubChannel.

*/ inline const Aws::String& GetSubChannelId() const{ return m_subChannelId; } /** *

The unique ID of a SubChannel.

*/ inline bool SubChannelIdHasBeenSet() const { return m_subChannelIdHasBeenSet; } /** *

The unique ID of a SubChannel.

*/ inline void SetSubChannelId(const Aws::String& value) { m_subChannelIdHasBeenSet = true; m_subChannelId = value; } /** *

The unique ID of a SubChannel.

*/ inline void SetSubChannelId(Aws::String&& value) { m_subChannelIdHasBeenSet = true; m_subChannelId = std::move(value); } /** *

The unique ID of a SubChannel.

*/ inline void SetSubChannelId(const char* value) { m_subChannelIdHasBeenSet = true; m_subChannelId.assign(value); } /** *

The unique ID of a SubChannel.

*/ inline SubChannelSummary& WithSubChannelId(const Aws::String& value) { SetSubChannelId(value); return *this;} /** *

The unique ID of a SubChannel.

*/ inline SubChannelSummary& WithSubChannelId(Aws::String&& value) { SetSubChannelId(std::move(value)); return *this;} /** *

The unique ID of a SubChannel.

*/ inline SubChannelSummary& WithSubChannelId(const char* value) { SetSubChannelId(value); return *this;} /** *

The number of members in a SubChannel.

*/ inline int GetMembershipCount() const{ return m_membershipCount; } /** *

The number of members in a SubChannel.

*/ inline bool MembershipCountHasBeenSet() const { return m_membershipCountHasBeenSet; } /** *

The number of members in a SubChannel.

*/ inline void SetMembershipCount(int value) { m_membershipCountHasBeenSet = true; m_membershipCount = value; } /** *

The number of members in a SubChannel.

*/ inline SubChannelSummary& WithMembershipCount(int value) { SetMembershipCount(value); return *this;} private: Aws::String m_subChannelId; bool m_subChannelIdHasBeenSet = false; int m_membershipCount; bool m_membershipCountHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws