/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace WAF { namespace Model { /** */ class ListGeoMatchSetsRequest : public WAFRequest { public: AWS_WAF_API ListGeoMatchSetsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListGeoMatchSets"; } AWS_WAF_API Aws::String SerializePayload() const override; AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

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

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

*/ inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; } /** *

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

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

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

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

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

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

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

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

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

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

If you specify a value for Limit and you have more * GeoMatchSets than the value of Limit, AWS WAF returns * a NextMarker value in the response that allows you to list another * group of GeoMatchSet objects. For the second and subsequent * ListGeoMatchSets requests, specify the value of * NextMarker from the previous response to get information about * another batch of GeoMatchSet objects.

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

Specifies the number of GeoMatchSet objects that you want AWS * WAF to return for this request. If you have more GeoMatchSet * objects than the number you specify for Limit, the response * includes a NextMarker value that you can use to get another batch * of GeoMatchSet objects.

*/ inline int GetLimit() const{ return m_limit; } /** *

Specifies the number of GeoMatchSet objects that you want AWS * WAF to return for this request. If you have more GeoMatchSet * objects than the number you specify for Limit, the response * includes a NextMarker value that you can use to get another batch * of GeoMatchSet objects.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

Specifies the number of GeoMatchSet objects that you want AWS * WAF to return for this request. If you have more GeoMatchSet * objects than the number you specify for Limit, the response * includes a NextMarker value that you can use to get another batch * of GeoMatchSet objects.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

Specifies the number of GeoMatchSet objects that you want AWS * WAF to return for this request. If you have more GeoMatchSet * objects than the number you specify for Limit, the response * includes a NextMarker value that you can use to get another batch * of GeoMatchSet objects.

*/ inline ListGeoMatchSetsRequest& WithLimit(int value) { SetLimit(value); return *this;} private: Aws::String m_nextMarker; bool m_nextMarkerHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws