/** * 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 { /** *

The response to a ListSqlInjectionMatchSets request.

See * Also:

AWS * API Reference

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

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

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

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

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

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

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

An array of SqlInjectionMatchSetSummary objects.

*/ inline const Aws::Vector& GetSqlInjectionMatchSets() const{ return m_sqlInjectionMatchSets; } /** *

An array of SqlInjectionMatchSetSummary objects.

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

An array of SqlInjectionMatchSetSummary objects.

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

An array of SqlInjectionMatchSetSummary objects.

*/ inline ListSqlInjectionMatchSetsResult& WithSqlInjectionMatchSets(const Aws::Vector& value) { SetSqlInjectionMatchSets(value); return *this;} /** *

An array of SqlInjectionMatchSetSummary objects.

*/ inline ListSqlInjectionMatchSetsResult& WithSqlInjectionMatchSets(Aws::Vector&& value) { SetSqlInjectionMatchSets(std::move(value)); return *this;} /** *

An array of SqlInjectionMatchSetSummary objects.

*/ inline ListSqlInjectionMatchSetsResult& AddSqlInjectionMatchSets(const SqlInjectionMatchSetSummary& value) { m_sqlInjectionMatchSets.push_back(value); return *this; } /** *

An array of SqlInjectionMatchSetSummary objects.

*/ inline ListSqlInjectionMatchSetsResult& AddSqlInjectionMatchSets(SqlInjectionMatchSetSummary&& value) { m_sqlInjectionMatchSets.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 ListSqlInjectionMatchSetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSqlInjectionMatchSetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSqlInjectionMatchSetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextMarker; Aws::Vector m_sqlInjectionMatchSets; Aws::String m_requestId; }; } // namespace Model } // namespace WAF } // namespace Aws