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

An array of objects that contain the details about the invitations.

*/ inline const Aws::Vector& GetResourceShareInvitations() const{ return m_resourceShareInvitations; } /** *

An array of objects that contain the details about the invitations.

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

An array of objects that contain the details about the invitations.

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

An array of objects that contain the details about the invitations.

*/ inline GetResourceShareInvitationsResult& WithResourceShareInvitations(const Aws::Vector& value) { SetResourceShareInvitations(value); return *this;} /** *

An array of objects that contain the details about the invitations.

*/ inline GetResourceShareInvitationsResult& WithResourceShareInvitations(Aws::Vector&& value) { SetResourceShareInvitations(std::move(value)); return *this;} /** *

An array of objects that contain the details about the invitations.

*/ inline GetResourceShareInvitationsResult& AddResourceShareInvitations(const ResourceShareInvitation& value) { m_resourceShareInvitations.push_back(value); return *this; } /** *

An array of objects that contain the details about the invitations.

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