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

An array of PolicySummary objects.

*/ inline const Aws::Vector& GetPolicyList() const{ return m_policyList; } /** *

An array of PolicySummary objects.

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

An array of PolicySummary objects.

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

An array of PolicySummary objects.

*/ inline ListPoliciesResult& WithPolicyList(const Aws::Vector& value) { SetPolicyList(value); return *this;} /** *

An array of PolicySummary objects.

*/ inline ListPoliciesResult& WithPolicyList(Aws::Vector&& value) { SetPolicyList(std::move(value)); return *this;} /** *

An array of PolicySummary objects.

*/ inline ListPoliciesResult& AddPolicyList(const PolicySummary& value) { m_policyList.push_back(value); return *this; } /** *

An array of PolicySummary objects.

*/ inline ListPoliciesResult& AddPolicyList(PolicySummary&& value) { m_policyList.push_back(std::move(value)); return *this; } /** *

If you have more PolicySummary objects than the number that you * specified for MaxResults in the request, the response includes a * NextToken value. To list more PolicySummary objects, * submit another ListPolicies 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 PolicySummary objects than the number that you * specified for MaxResults in the request, the response includes a * NextToken value. To list more PolicySummary objects, * submit another ListPolicies 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 PolicySummary objects than the number that you * specified for MaxResults in the request, the response includes a * NextToken value. To list more PolicySummary objects, * submit another ListPolicies 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 PolicySummary objects than the number that you * specified for MaxResults in the request, the response includes a * NextToken value. To list more PolicySummary objects, * submit another ListPolicies 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 PolicySummary objects than the number that you * specified for MaxResults in the request, the response includes a * NextToken value. To list more PolicySummary objects, * submit another ListPolicies request, and specify the * NextToken value from the response in the NextToken * value in the next request.

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

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

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

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

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