/** * 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 RedshiftServerless { namespace Model { /** */ class GetRecoveryPointRequest : public RedshiftServerlessRequest { public: AWS_REDSHIFTSERVERLESS_API GetRecoveryPointRequest(); // 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 "GetRecoveryPoint"; } AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override; AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier of the recovery point to return information for.

*/ inline const Aws::String& GetRecoveryPointId() const{ return m_recoveryPointId; } /** *

The unique identifier of the recovery point to return information for.

*/ inline bool RecoveryPointIdHasBeenSet() const { return m_recoveryPointIdHasBeenSet; } /** *

The unique identifier of the recovery point to return information for.

*/ inline void SetRecoveryPointId(const Aws::String& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = value; } /** *

The unique identifier of the recovery point to return information for.

*/ inline void SetRecoveryPointId(Aws::String&& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = std::move(value); } /** *

The unique identifier of the recovery point to return information for.

*/ inline void SetRecoveryPointId(const char* value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId.assign(value); } /** *

The unique identifier of the recovery point to return information for.

*/ inline GetRecoveryPointRequest& WithRecoveryPointId(const Aws::String& value) { SetRecoveryPointId(value); return *this;} /** *

The unique identifier of the recovery point to return information for.

*/ inline GetRecoveryPointRequest& WithRecoveryPointId(Aws::String&& value) { SetRecoveryPointId(std::move(value)); return *this;} /** *

The unique identifier of the recovery point to return information for.

*/ inline GetRecoveryPointRequest& WithRecoveryPointId(const char* value) { SetRecoveryPointId(value); return *this;} private: Aws::String m_recoveryPointId; bool m_recoveryPointIdHasBeenSet = false; }; } // namespace Model } // namespace RedshiftServerless } // namespace Aws