/** * 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 Route53RecoveryReadiness { namespace Model { /** */ class GetReadinessCheckStatusRequest : public Route53RecoveryReadinessRequest { public: AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckStatusRequest(); // 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 "GetReadinessCheckStatus"; } AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override; AWS_ROUTE53RECOVERYREADINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The number of objects that you want to return with this call.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The number of objects that you want to return with this call.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The number of objects that you want to return with this call.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The number of objects that you want to return with this call.

*/ inline GetReadinessCheckStatusRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The token that identifies which batch of results you want to see.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token that identifies which batch of results you want to see.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token that identifies which batch of results you want to see.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token that identifies which batch of results you want to see.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token that identifies which batch of results you want to see.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token that identifies which batch of results you want to see.

*/ inline GetReadinessCheckStatusRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token that identifies which batch of results you want to see.

*/ inline GetReadinessCheckStatusRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token that identifies which batch of results you want to see.

*/ inline GetReadinessCheckStatusRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Name of a readiness check.

*/ inline const Aws::String& GetReadinessCheckName() const{ return m_readinessCheckName; } /** *

Name of a readiness check.

*/ inline bool ReadinessCheckNameHasBeenSet() const { return m_readinessCheckNameHasBeenSet; } /** *

Name of a readiness check.

*/ inline void SetReadinessCheckName(const Aws::String& value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName = value; } /** *

Name of a readiness check.

*/ inline void SetReadinessCheckName(Aws::String&& value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName = std::move(value); } /** *

Name of a readiness check.

*/ inline void SetReadinessCheckName(const char* value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName.assign(value); } /** *

Name of a readiness check.

*/ inline GetReadinessCheckStatusRequest& WithReadinessCheckName(const Aws::String& value) { SetReadinessCheckName(value); return *this;} /** *

Name of a readiness check.

*/ inline GetReadinessCheckStatusRequest& WithReadinessCheckName(Aws::String&& value) { SetReadinessCheckName(std::move(value)); return *this;} /** *

Name of a readiness check.

*/ inline GetReadinessCheckStatusRequest& WithReadinessCheckName(const char* value) { SetReadinessCheckName(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_readinessCheckName; bool m_readinessCheckNameHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws