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

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

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

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

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

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

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

An array of ByteMatchSetSummary objects.

*/ inline const Aws::Vector& GetByteMatchSets() const{ return m_byteMatchSets; } /** *

An array of ByteMatchSetSummary objects.

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

An array of ByteMatchSetSummary objects.

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

An array of ByteMatchSetSummary objects.

*/ inline ListByteMatchSetsResult& WithByteMatchSets(const Aws::Vector& value) { SetByteMatchSets(value); return *this;} /** *

An array of ByteMatchSetSummary objects.

*/ inline ListByteMatchSetsResult& WithByteMatchSets(Aws::Vector&& value) { SetByteMatchSets(std::move(value)); return *this;} /** *

An array of ByteMatchSetSummary objects.

*/ inline ListByteMatchSetsResult& AddByteMatchSets(const ByteMatchSetSummary& value) { m_byteMatchSets.push_back(value); return *this; } /** *

An array of ByteMatchSetSummary objects.

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