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

If you have more RegexPatternSet objects than the number that * you specified for Limit in the request, the response includes a * NextMarker value. To list more RegexPatternSet * objects, submit another ListRegexPatternSets request, and specify * the NextMarker value from the response in the * NextMarker value in the next request.

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

If you have more RegexPatternSet objects than the number that * you specified for Limit in the request, the response includes a * NextMarker value. To list more RegexPatternSet * objects, submit another ListRegexPatternSets request, and specify * the NextMarker value from the response in the * NextMarker value in the next request.

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

If you have more RegexPatternSet objects than the number that * you specified for Limit in the request, the response includes a * NextMarker value. To list more RegexPatternSet * objects, submit another ListRegexPatternSets request, and specify * the NextMarker value from the response in the * NextMarker value in the next request.

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

If you have more RegexPatternSet objects than the number that * you specified for Limit in the request, the response includes a * NextMarker value. To list more RegexPatternSet * objects, submit another ListRegexPatternSets request, and specify * the NextMarker value from the response in the * NextMarker value in the next request.

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

If you have more RegexPatternSet objects than the number that * you specified for Limit in the request, the response includes a * NextMarker value. To list more RegexPatternSet * objects, submit another ListRegexPatternSets request, and specify * the NextMarker value from the response in the * NextMarker value in the next request.

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

If you have more RegexPatternSet objects than the number that * you specified for Limit in the request, the response includes a * NextMarker value. To list more RegexPatternSet * objects, submit another ListRegexPatternSets request, and specify * the NextMarker value from the response in the * NextMarker value in the next request.

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

If you have more RegexPatternSet objects than the number that * you specified for Limit in the request, the response includes a * NextMarker value. To list more RegexPatternSet * objects, submit another ListRegexPatternSets request, and specify * the NextMarker value from the response in the * NextMarker value in the next request.

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

An array of RegexPatternSetSummary objects.

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

An array of RegexPatternSetSummary objects.

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

An array of RegexPatternSetSummary objects.

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

An array of RegexPatternSetSummary objects.

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

An array of RegexPatternSetSummary objects.

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

An array of RegexPatternSetSummary objects.

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

An array of RegexPatternSetSummary objects.

*/ 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 WAF } // namespace Aws