/** * 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 { namespace WAFV2 { namespace Model { /** */ class ListMobileSdkReleasesRequest : public WAFV2Request { public: AWS_WAFV2_API ListMobileSdkReleasesRequest(); // 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 "ListMobileSdkReleases"; } AWS_WAFV2_API Aws::String SerializePayload() const override; AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The device platform to retrieve the list for.

*/ inline const Platform& GetPlatform() const{ return m_platform; } /** *

The device platform to retrieve the list for.

*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *

The device platform to retrieve the list for.

*/ inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; } /** *

The device platform to retrieve the list for.

*/ inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *

The device platform to retrieve the list for.

*/ inline ListMobileSdkReleasesRequest& WithPlatform(const Platform& value) { SetPlatform(value); return *this;} /** *

The device platform to retrieve the list for.

*/ inline ListMobileSdkReleasesRequest& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} /** *

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

When you request a list of objects with a Limit setting, if the * number of objects that are still available for retrieval exceeds the limit, WAF * returns a NextMarker value in the response. To retrieve the next * batch of objects, provide the marker from the prior call in your next * request.

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

The maximum number of objects that you want WAF to return for this request. * If more objects are available, in the response, WAF provides a * NextMarker value that you can use in a subsequent call to get the * next batch of objects.

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

The maximum number of objects that you want WAF to return for this request. * If more objects are available, in the response, WAF provides a * NextMarker value that you can use in a subsequent call to get the * next batch of objects.

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

The maximum number of objects that you want WAF to return for this request. * If more objects are available, in the response, WAF provides a * NextMarker value that you can use in a subsequent call to get the * next batch of objects.

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

The maximum number of objects that you want WAF to return for this request. * If more objects are available, in the response, WAF provides a * NextMarker value that you can use in a subsequent call to get the * next batch of objects.

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