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

An array of data structures that provide details of the matching work * IDs.

*/ inline const Aws::Vector& GetReplacePermissionAssociationsWorks() const{ return m_replacePermissionAssociationsWorks; } /** *

An array of data structures that provide details of the matching work * IDs.

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

An array of data structures that provide details of the matching work * IDs.

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

An array of data structures that provide details of the matching work * IDs.

*/ inline ListReplacePermissionAssociationsWorkResult& WithReplacePermissionAssociationsWorks(const Aws::Vector& value) { SetReplacePermissionAssociationsWorks(value); return *this;} /** *

An array of data structures that provide details of the matching work * IDs.

*/ inline ListReplacePermissionAssociationsWorkResult& WithReplacePermissionAssociationsWorks(Aws::Vector&& value) { SetReplacePermissionAssociationsWorks(std::move(value)); return *this;} /** *

An array of data structures that provide details of the matching work * IDs.

*/ inline ListReplacePermissionAssociationsWorkResult& AddReplacePermissionAssociationsWorks(const ReplacePermissionAssociationsWork& value) { m_replacePermissionAssociationsWorks.push_back(value); return *this; } /** *

An array of data structures that provide details of the matching work * IDs.

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