/** * 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 ListRuleGroupsResult { public: AWS_WAFV2_API ListRuleGroupsResult(); AWS_WAFV2_API ListRuleGroupsResult(const Aws::AmazonWebServiceResult& result); AWS_WAFV2_API ListRuleGroupsResult& 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 ListRuleGroupsResult& 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 ListRuleGroupsResult& 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 ListRuleGroupsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} /** *

Array of rule groups. If you specified a Limit in your request, * this might not be the full list.

*/ inline const Aws::Vector& GetRuleGroups() const{ return m_ruleGroups; } /** *

Array of rule groups. If you specified a Limit in your request, * this might not be the full list.

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

Array of rule groups. If you specified a Limit in your request, * this might not be the full list.

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

Array of rule groups. If you specified a Limit in your request, * this might not be the full list.

*/ inline ListRuleGroupsResult& WithRuleGroups(const Aws::Vector& value) { SetRuleGroups(value); return *this;} /** *

Array of rule groups. If you specified a Limit in your request, * this might not be the full list.

*/ inline ListRuleGroupsResult& WithRuleGroups(Aws::Vector&& value) { SetRuleGroups(std::move(value)); return *this;} /** *

Array of rule groups. If you specified a Limit in your request, * this might not be the full list.

*/ inline ListRuleGroupsResult& AddRuleGroups(const RuleGroupSummary& value) { m_ruleGroups.push_back(value); return *this; } /** *

Array of rule groups. If you specified a Limit in your request, * this might not be the full list.

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