/** * 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 IoT { namespace Model { /** *

The output from the ListPolicies operation.

See Also:

AWS * API Reference

*/ class ListPoliciesResult { public: AWS_IOT_API ListPoliciesResult(); AWS_IOT_API ListPoliciesResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API ListPoliciesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The descriptions of the policies.

*/ inline const Aws::Vector& GetPolicies() const{ return m_policies; } /** *

The descriptions of the policies.

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

The descriptions of the policies.

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

The descriptions of the policies.

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

The descriptions of the policies.

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

The descriptions of the policies.

*/ inline ListPoliciesResult& AddPolicies(const Policy& value) { m_policies.push_back(value); return *this; } /** *

The descriptions of the policies.

*/ inline ListPoliciesResult& AddPolicies(Policy&& value) { m_policies.push_back(std::move(value)); return *this; } /** *

The marker for the next set of results, or null if there are no additional * results.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

The marker for the next set of results, or null if there are no additional * results.

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

The marker for the next set of results, or null if there are no additional * results.

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

The marker for the next set of results, or null if there are no additional * results.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

The marker for the next set of results, or null if there are no additional * results.

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

The marker for the next set of results, or null if there are no additional * results.

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

The marker for the next set of results, or null if there are no additional * results.

*/ inline ListPoliciesResult& WithNextMarker(const char* value) { SetNextMarker(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_policies; Aws::String m_nextMarker; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws