/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 DescribeEnvironmentMembershipsResult { public: DescribeEnvironmentMembershipsResult(); DescribeEnvironmentMembershipsResult(const Aws::AmazonWebServiceResult& result); DescribeEnvironmentMembershipsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the environment members for the environment.

*/ inline const Aws::Vector& GetMemberships() const{ return m_memberships; } /** *

Information about the environment members for the environment.

*/ inline void SetMemberships(const Aws::Vector& value) { m_memberships = value; } /** *

Information about the environment members for the environment.

*/ inline void SetMemberships(Aws::Vector&& value) { m_memberships = std::move(value); } /** *

Information about the environment members for the environment.

*/ inline DescribeEnvironmentMembershipsResult& WithMemberships(const Aws::Vector& value) { SetMemberships(value); return *this;} /** *

Information about the environment members for the environment.

*/ inline DescribeEnvironmentMembershipsResult& WithMemberships(Aws::Vector&& value) { SetMemberships(std::move(value)); return *this;} /** *

Information about the environment members for the environment.

*/ inline DescribeEnvironmentMembershipsResult& AddMemberships(const EnvironmentMember& value) { m_memberships.push_back(value); return *this; } /** *

Information about the environment members for the environment.

*/ inline DescribeEnvironmentMembershipsResult& AddMemberships(EnvironmentMember&& value) { m_memberships.push_back(std::move(value)); return *this; } /** *

If there are more than 25 items in the list, only the first 25 items are * returned, along with a unique string called a next token. To get the next * batch of items in the list, call this operation again, adding the next token to * the call.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If there are more than 25 items in the list, only the first 25 items are * returned, along with a unique string called a next token. To get the next * batch of items in the list, call this operation again, adding the next token to * the call.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

If there are more than 25 items in the list, only the first 25 items are * returned, along with a unique string called a next token. To get the next * batch of items in the list, call this operation again, adding the next token to * the call.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

If there are more than 25 items in the list, only the first 25 items are * returned, along with a unique string called a next token. To get the next * batch of items in the list, call this operation again, adding the next token to * the call.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If there are more than 25 items in the list, only the first 25 items are * returned, along with a unique string called a next token. To get the next * batch of items in the list, call this operation again, adding the next token to * the call.

*/ inline DescribeEnvironmentMembershipsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If there are more than 25 items in the list, only the first 25 items are * returned, along with a unique string called a next token. To get the next * batch of items in the list, call this operation again, adding the next token to * the call.

*/ inline DescribeEnvironmentMembershipsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If there are more than 25 items in the list, only the first 25 items are * returned, along with a unique string called a next token. To get the next * batch of items in the list, call this operation again, adding the next token to * the call.

*/ inline DescribeEnvironmentMembershipsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_memberships; Aws::String m_nextToken; }; } // namespace Model } // namespace Cloud9 } // namespace Aws