/** * 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 CloudHSM { namespace Model { /** *

Contains the inputs for the DeleteHapg action.

See * Also:

AWS * API Reference

*/ class DeleteHapgRequest : public CloudHSMRequest { public: AWS_CLOUDHSM_API DeleteHapgRequest(); // 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 "DeleteHapg"; } AWS_CLOUDHSM_API Aws::String SerializePayload() const override; AWS_CLOUDHSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN of the high-availability partition group to delete.

*/ inline const Aws::String& GetHapgArn() const{ return m_hapgArn; } /** *

The ARN of the high-availability partition group to delete.

*/ inline bool HapgArnHasBeenSet() const { return m_hapgArnHasBeenSet; } /** *

The ARN of the high-availability partition group to delete.

*/ inline void SetHapgArn(const Aws::String& value) { m_hapgArnHasBeenSet = true; m_hapgArn = value; } /** *

The ARN of the high-availability partition group to delete.

*/ inline void SetHapgArn(Aws::String&& value) { m_hapgArnHasBeenSet = true; m_hapgArn = std::move(value); } /** *

The ARN of the high-availability partition group to delete.

*/ inline void SetHapgArn(const char* value) { m_hapgArnHasBeenSet = true; m_hapgArn.assign(value); } /** *

The ARN of the high-availability partition group to delete.

*/ inline DeleteHapgRequest& WithHapgArn(const Aws::String& value) { SetHapgArn(value); return *this;} /** *

The ARN of the high-availability partition group to delete.

*/ inline DeleteHapgRequest& WithHapgArn(Aws::String&& value) { SetHapgArn(std::move(value)); return *this;} /** *

The ARN of the high-availability partition group to delete.

*/ inline DeleteHapgRequest& WithHapgArn(const char* value) { SetHapgArn(value); return *this;} private: Aws::String m_hapgArn; bool m_hapgArnHasBeenSet = false; }; } // namespace Model } // namespace CloudHSM } // namespace Aws