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

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

*/ inline const Aws::Vector& GetRegexPatternSets() const{ return m_regexPatternSets; } /** *

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

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

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

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

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

*/ inline ListRegexPatternSetsResult& WithRegexPatternSets(const Aws::Vector& value) { SetRegexPatternSets(value); return *this;} /** *

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

*/ inline ListRegexPatternSetsResult& WithRegexPatternSets(Aws::Vector&& value) { SetRegexPatternSets(std::move(value)); return *this;} /** *

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

*/ inline ListRegexPatternSetsResult& AddRegexPatternSets(const RegexPatternSetSummary& value) { m_regexPatternSets.push_back(value); return *this; } /** *

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

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