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

An array of objects that contain the information about the resources included * the specified resource share.

*/ inline const Aws::Vector& GetResources() const{ return m_resources; } /** *

An array of objects that contain the information about the resources included * the specified resource share.

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

An array of objects that contain the information about the resources included * the specified resource share.

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

An array of objects that contain the information about the resources included * the specified resource share.

*/ inline ListPendingInvitationResourcesResult& WithResources(const Aws::Vector& value) { SetResources(value); return *this;} /** *

An array of objects that contain the information about the resources included * the specified resource share.

*/ inline ListPendingInvitationResourcesResult& WithResources(Aws::Vector&& value) { SetResources(std::move(value)); return *this;} /** *

An array of objects that contain the information about the resources included * the specified resource share.

*/ inline ListPendingInvitationResourcesResult& AddResources(const Resource& value) { m_resources.push_back(value); return *this; } /** *

An array of objects that contain the information about the resources included * the specified resource share.

*/ inline ListPendingInvitationResourcesResult& AddResources(Resource&& value) { m_resources.push_back(std::move(value)); return *this; } /** *

If present, this value indicates that more output is available than is * included in the current response. Use this value in the NextToken * request parameter in a subsequent call to the operation to get the next part of * the output. You should repeat this until the NextToken response * element comes back as null. This indicates that this is the last * page of results.

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

If present, this value indicates that more output is available than is * included in the current response. Use this value in the NextToken * request parameter in a subsequent call to the operation to get the next part of * the output. You should repeat this until the NextToken response * element comes back as null. This indicates that this is the last * page of results.

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

If present, this value indicates that more output is available than is * included in the current response. Use this value in the NextToken * request parameter in a subsequent call to the operation to get the next part of * the output. You should repeat this until the NextToken response * element comes back as null. This indicates that this is the last * page of results.

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

If present, this value indicates that more output is available than is * included in the current response. Use this value in the NextToken * request parameter in a subsequent call to the operation to get the next part of * the output. You should repeat this until the NextToken response * element comes back as null. This indicates that this is the last * page of results.

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

If present, this value indicates that more output is available than is * included in the current response. Use this value in the NextToken * request parameter in a subsequent call to the operation to get the next part of * the output. You should repeat this until the NextToken response * element comes back as null. This indicates that this is the last * page of results.

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

If present, this value indicates that more output is available than is * included in the current response. Use this value in the NextToken * request parameter in a subsequent call to the operation to get the next part of * the output. You should repeat this until the NextToken response * element comes back as null. This indicates that this is the last * page of results.

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

If present, this value indicates that more output is available than is * included in the current response. Use this value in the NextToken * request parameter in a subsequent call to the operation to get the next part of * the output. You should repeat this until the NextToken response * element comes back as null. This indicates that this is the last * page of results.

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