/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ChimeSDKMessaging { namespace Model { class DescribeChannelMembershipForAppInstanceUserResult { public: AWS_CHIMESDKMESSAGING_API DescribeChannelMembershipForAppInstanceUserResult(); AWS_CHIMESDKMESSAGING_API DescribeChannelMembershipForAppInstanceUserResult(const Aws::AmazonWebServiceResult& result); AWS_CHIMESDKMESSAGING_API DescribeChannelMembershipForAppInstanceUserResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The channel to which a user belongs.

*/ inline const ChannelMembershipForAppInstanceUserSummary& GetChannelMembership() const{ return m_channelMembership; } /** *

The channel to which a user belongs.

*/ inline void SetChannelMembership(const ChannelMembershipForAppInstanceUserSummary& value) { m_channelMembership = value; } /** *

The channel to which a user belongs.

*/ inline void SetChannelMembership(ChannelMembershipForAppInstanceUserSummary&& value) { m_channelMembership = std::move(value); } /** *

The channel to which a user belongs.

*/ inline DescribeChannelMembershipForAppInstanceUserResult& WithChannelMembership(const ChannelMembershipForAppInstanceUserSummary& value) { SetChannelMembership(value); return *this;} /** *

The channel to which a user belongs.

*/ inline DescribeChannelMembershipForAppInstanceUserResult& WithChannelMembership(ChannelMembershipForAppInstanceUserSummary&& value) { SetChannelMembership(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeChannelMembershipForAppInstanceUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeChannelMembershipForAppInstanceUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeChannelMembershipForAppInstanceUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ChannelMembershipForAppInstanceUserSummary m_channelMembership; Aws::String m_requestId; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws