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

The response to a ListXssMatchSets request.

See Also:

* AWS * API Reference

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

If you have more XssMatchSet objects than the number that you * specified for Limit in the request, the response includes a * NextMarker value. To list more XssMatchSet objects, * submit another ListXssMatchSets 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 XssMatchSet objects than the number that you * specified for Limit in the request, the response includes a * NextMarker value. To list more XssMatchSet objects, * submit another ListXssMatchSets 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 XssMatchSet objects than the number that you * specified for Limit in the request, the response includes a * NextMarker value. To list more XssMatchSet objects, * submit another ListXssMatchSets 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 XssMatchSet objects than the number that you * specified for Limit in the request, the response includes a * NextMarker value. To list more XssMatchSet objects, * submit another ListXssMatchSets 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 XssMatchSet objects than the number that you * specified for Limit in the request, the response includes a * NextMarker value. To list more XssMatchSet objects, * submit another ListXssMatchSets request, and specify the * NextMarker value from the response in the NextMarker * value in the next request.

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

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

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

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

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

An array of XssMatchSetSummary objects.

*/ inline const Aws::Vector& GetXssMatchSets() const{ return m_xssMatchSets; } /** *

An array of XssMatchSetSummary objects.

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

An array of XssMatchSetSummary objects.

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

An array of XssMatchSetSummary objects.

*/ inline ListXssMatchSetsResult& WithXssMatchSets(const Aws::Vector& value) { SetXssMatchSets(value); return *this;} /** *

An array of XssMatchSetSummary objects.

*/ inline ListXssMatchSetsResult& WithXssMatchSets(Aws::Vector&& value) { SetXssMatchSets(std::move(value)); return *this;} /** *

An array of XssMatchSetSummary objects.

*/ inline ListXssMatchSetsResult& AddXssMatchSets(const XssMatchSetSummary& value) { m_xssMatchSets.push_back(value); return *this; } /** *

An array of XssMatchSetSummary objects.

*/ inline ListXssMatchSetsResult& AddXssMatchSets(XssMatchSetSummary&& value) { m_xssMatchSets.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 ListXssMatchSetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListXssMatchSetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListXssMatchSetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextMarker; Aws::Vector m_xssMatchSets; Aws::String m_requestId; }; } // namespace Model } // namespace WAFRegional } // namespace Aws