/** * 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 Http { class URI; } //namespace Http namespace Route53 { namespace Model { /** *

A request to retrieve a list of the health checks that are associated with * the current Amazon Web Services account.

See Also:

AWS * API Reference

*/ class ListHealthChecksRequest : public Route53Request { public: AWS_ROUTE53_API ListHealthChecksRequest(); // 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 "ListHealthChecks"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline ListHealthChecksRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline ListHealthChecksRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

If the value of IsTruncated in the previous response was * true, you have more health checks. To get another group, submit * another ListHealthChecks request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first health check that Amazon Route * 53 will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more health checks to get.

*/ inline ListHealthChecksRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline const Aws::String& GetMaxItems() const{ return m_maxItems; } /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; } /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); } /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); } /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline ListHealthChecksRequest& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;} /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline ListHealthChecksRequest& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;} /** *

The maximum number of health checks that you want * ListHealthChecks to return in response to the current request. * Amazon Route 53 returns a maximum of 100 items. If you set MaxItems * to a value greater than 100, Route 53 returns only the first 100 health checks. *

*/ inline ListHealthChecksRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} private: Aws::String m_marker; bool m_markerHasBeenSet = false; Aws::String m_maxItems; bool m_maxItemsHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws