/** * 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 CreateEnvironmentMembershipResult { public: CreateEnvironmentMembershipResult(); CreateEnvironmentMembershipResult(const Aws::AmazonWebServiceResult& result); CreateEnvironmentMembershipResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the environment member that was added.

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

Information about the environment member that was added.

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

Information about the environment member that was added.

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

Information about the environment member that was added.

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

Information about the environment member that was added.

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