/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { /** *

A complex type that contains the response to a ListHealthChecks * request.

See Also:

AWS * API Reference

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

A complex type that contains one HealthCheck element for each * health check that is associated with the current Amazon Web Services * account.

*/ inline const Aws::Vector& GetHealthChecks() const{ return m_healthChecks; } /** *

A complex type that contains one HealthCheck element for each * health check that is associated with the current Amazon Web Services * account.

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

A complex type that contains one HealthCheck element for each * health check that is associated with the current Amazon Web Services * account.

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

A complex type that contains one HealthCheck element for each * health check that is associated with the current Amazon Web Services * account.

*/ inline ListHealthChecksResult& WithHealthChecks(const Aws::Vector& value) { SetHealthChecks(value); return *this;} /** *

A complex type that contains one HealthCheck element for each * health check that is associated with the current Amazon Web Services * account.

*/ inline ListHealthChecksResult& WithHealthChecks(Aws::Vector&& value) { SetHealthChecks(std::move(value)); return *this;} /** *

A complex type that contains one HealthCheck element for each * health check that is associated with the current Amazon Web Services * account.

*/ inline ListHealthChecksResult& AddHealthChecks(const HealthCheck& value) { m_healthChecks.push_back(value); return *this; } /** *

A complex type that contains one HealthCheck element for each * health check that is associated with the current Amazon Web Services * account.

*/ inline ListHealthChecksResult& AddHealthChecks(HealthCheck&& value) { m_healthChecks.push_back(std::move(value)); return *this; } /** *

For the second and subsequent calls to ListHealthChecks, * Marker is the value that you specified for the marker * parameter in the previous request.

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

For the second and subsequent calls to ListHealthChecks, * Marker is the value that you specified for the marker * parameter in the previous request.

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

For the second and subsequent calls to ListHealthChecks, * Marker is the value that you specified for the marker * parameter in the previous request.

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

For the second and subsequent calls to ListHealthChecks, * Marker is the value that you specified for the marker * parameter in the previous request.

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

For the second and subsequent calls to ListHealthChecks, * Marker is the value that you specified for the marker * parameter in the previous request.

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

For the second and subsequent calls to ListHealthChecks, * Marker is the value that you specified for the marker * parameter in the previous request.

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

For the second and subsequent calls to ListHealthChecks, * Marker is the value that you specified for the marker * parameter in the previous request.

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

A flag that indicates whether there are more health checks to be listed. If * the response was truncated, you can get the next group of health checks by * submitting another ListHealthChecks request and specifying the * value of NextMarker in the marker parameter.

*/ inline bool GetIsTruncated() const{ return m_isTruncated; } /** *

A flag that indicates whether there are more health checks to be listed. If * the response was truncated, you can get the next group of health checks by * submitting another ListHealthChecks request and specifying the * value of NextMarker in the marker parameter.

*/ inline void SetIsTruncated(bool value) { m_isTruncated = value; } /** *

A flag that indicates whether there are more health checks to be listed. If * the response was truncated, you can get the next group of health checks by * submitting another ListHealthChecks request and specifying the * value of NextMarker in the marker parameter.

*/ inline ListHealthChecksResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} /** *

If IsTruncated is true, the value of * NextMarker identifies the first health check that Amazon Route 53 * returns if you submit another ListHealthChecks request and specify * the value of NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the first health check that Amazon Route 53 * returns if you submit another ListHealthChecks request and specify * the value of NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the first health check that Amazon Route 53 * returns if you submit another ListHealthChecks request and specify * the value of NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the first health check that Amazon Route 53 * returns if you submit another ListHealthChecks request and specify * the value of NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the first health check that Amazon Route 53 * returns if you submit another ListHealthChecks request and specify * the value of NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the first health check that Amazon Route 53 * returns if you submit another ListHealthChecks request and specify * the value of NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the first health check that Amazon Route 53 * returns if you submit another ListHealthChecks request and specify * the value of NextMarker in the marker parameter.

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

The value that you specified for the maxitems parameter in the * call to ListHealthChecks that produced the current response.

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

The value that you specified for the maxitems parameter in the * call to ListHealthChecks that produced the current response.

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

The value that you specified for the maxitems parameter in the * call to ListHealthChecks that produced the current response.

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

The value that you specified for the maxitems parameter in the * call to ListHealthChecks that produced the current response.

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

The value that you specified for the maxitems parameter in the * call to ListHealthChecks that produced the current response.

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

The value that you specified for the maxitems parameter in the * call to ListHealthChecks that produced the current response.

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

The value that you specified for the maxitems parameter in the * call to ListHealthChecks that produced the current response.

*/ inline ListHealthChecksResult& WithMaxItems(const char* value) { SetMaxItems(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 ListHealthChecksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListHealthChecksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListHealthChecksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_healthChecks; Aws::String m_marker; bool m_isTruncated; Aws::String m_nextMarker; Aws::String m_maxItems; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws