/** * 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 Route53RecoveryReadiness { namespace Model { /** */ class GetReadinessCheckRequest : public Route53RecoveryReadinessRequest { public: AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckRequest(); // 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 "GetReadinessCheck"; } AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override; /** *

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 GetReadinessCheckRequest& WithReadinessCheckName(const Aws::String& value) { SetReadinessCheckName(value); return *this;} /** *

Name of a readiness check.

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

Name of a readiness check.

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