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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

*/ inline ListManagedRuleSetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} /** *

Your managed rule sets. If you specified a Limit in your * request, this might not be the full list.

*/ inline const Aws::Vector& GetManagedRuleSets() const{ return m_managedRuleSets; } /** *

Your managed rule sets. If you specified a Limit in your * request, this might not be the full list.

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

Your managed rule sets. If you specified a Limit in your * request, this might not be the full list.

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

Your managed rule sets. If you specified a Limit in your * request, this might not be the full list.

*/ inline ListManagedRuleSetsResult& WithManagedRuleSets(const Aws::Vector& value) { SetManagedRuleSets(value); return *this;} /** *

Your managed rule sets. If you specified a Limit in your * request, this might not be the full list.

*/ inline ListManagedRuleSetsResult& WithManagedRuleSets(Aws::Vector&& value) { SetManagedRuleSets(std::move(value)); return *this;} /** *

Your managed rule sets. If you specified a Limit in your * request, this might not be the full list.

*/ inline ListManagedRuleSetsResult& AddManagedRuleSets(const ManagedRuleSetSummary& value) { m_managedRuleSets.push_back(value); return *this; } /** *

Your managed rule sets. If you specified a Limit in your * request, this might not be the full list.

*/ inline ListManagedRuleSetsResult& AddManagedRuleSets(ManagedRuleSetSummary&& value) { m_managedRuleSets.push_back(std::move(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 ListManagedRuleSetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListManagedRuleSetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListManagedRuleSetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextMarker; Aws::Vector m_managedRuleSets; Aws::String m_requestId; }; } // namespace Model } // namespace WAFV2 } // namespace Aws