/** * 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 FMS { namespace Model { class ListMemberAccountsResult { public: AWS_FMS_API ListMemberAccountsResult(); AWS_FMS_API ListMemberAccountsResult(const Aws::AmazonWebServiceResult& result); AWS_FMS_API ListMemberAccountsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of account IDs.

*/ inline const Aws::Vector& GetMemberAccounts() const{ return m_memberAccounts; } /** *

An array of account IDs.

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

An array of account IDs.

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

An array of account IDs.

*/ inline ListMemberAccountsResult& WithMemberAccounts(const Aws::Vector& value) { SetMemberAccounts(value); return *this;} /** *

An array of account IDs.

*/ inline ListMemberAccountsResult& WithMemberAccounts(Aws::Vector&& value) { SetMemberAccounts(std::move(value)); return *this;} /** *

An array of account IDs.

*/ inline ListMemberAccountsResult& AddMemberAccounts(const Aws::String& value) { m_memberAccounts.push_back(value); return *this; } /** *

An array of account IDs.

*/ inline ListMemberAccountsResult& AddMemberAccounts(Aws::String&& value) { m_memberAccounts.push_back(std::move(value)); return *this; } /** *

An array of account IDs.

*/ inline ListMemberAccountsResult& AddMemberAccounts(const char* value) { m_memberAccounts.push_back(value); return *this; } /** *

If you have more member account IDs than the number that you specified for * MaxResults in the request, the response includes a * NextToken value. To list more IDs, submit another * ListMemberAccounts request, and specify the NextToken * value from the response in the NextToken value in the next * request.

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

If you have more member account IDs than the number that you specified for * MaxResults in the request, the response includes a * NextToken value. To list more IDs, submit another * ListMemberAccounts request, and specify the NextToken * value from the response in the NextToken value in the next * request.

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

If you have more member account IDs than the number that you specified for * MaxResults in the request, the response includes a * NextToken value. To list more IDs, submit another * ListMemberAccounts request, and specify the NextToken * value from the response in the NextToken value in the next * request.

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

If you have more member account IDs than the number that you specified for * MaxResults in the request, the response includes a * NextToken value. To list more IDs, submit another * ListMemberAccounts request, and specify the NextToken * value from the response in the NextToken value in the next * request.

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

If you have more member account IDs than the number that you specified for * MaxResults in the request, the response includes a * NextToken value. To list more IDs, submit another * ListMemberAccounts request, and specify the NextToken * value from the response in the NextToken value in the next * request.

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

If you have more member account IDs than the number that you specified for * MaxResults in the request, the response includes a * NextToken value. To list more IDs, submit another * ListMemberAccounts request, and specify the NextToken * value from the response in the NextToken value in the next * request.

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

If you have more member account IDs than the number that you specified for * MaxResults in the request, the response includes a * NextToken value. To list more IDs, submit another * ListMemberAccounts request, and specify the NextToken * value from the response in the NextToken value in the next * request.

*/ inline ListMemberAccountsResult& WithNextToken(const char* value) { SetNextToken(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 ListMemberAccountsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListMemberAccountsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListMemberAccountsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_memberAccounts; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace FMS } // namespace Aws