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

Information about the environment member whose settings were changed.

*/ inline const EnvironmentMember& GetMembership() const{ return m_membership; } /** *

Information about the environment member whose settings were changed.

*/ inline void SetMembership(const EnvironmentMember& value) { m_membership = value; } /** *

Information about the environment member whose settings were changed.

*/ inline void SetMembership(EnvironmentMember&& value) { m_membership = std::move(value); } /** *

Information about the environment member whose settings were changed.

*/ inline UpdateEnvironmentMembershipResult& WithMembership(const EnvironmentMember& value) { SetMembership(value); return *this;} /** *

Information about the environment member whose settings were changed.

*/ inline UpdateEnvironmentMembershipResult& WithMembership(EnvironmentMember&& value) { SetMembership(std::move(value)); return *this;} private: EnvironmentMember m_membership; }; } // namespace Model } // namespace Cloud9 } // namespace Aws