/** * 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 BackupGateway { namespace Model { /** */ class DeleteHypervisorRequest : public BackupGatewayRequest { public: AWS_BACKUPGATEWAY_API DeleteHypervisorRequest(); // 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 "DeleteHypervisor"; } AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override; AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline const Aws::String& GetHypervisorArn() const{ return m_hypervisorArn; } /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline bool HypervisorArnHasBeenSet() const { return m_hypervisorArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline void SetHypervisorArn(const Aws::String& value) { m_hypervisorArnHasBeenSet = true; m_hypervisorArn = value; } /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline void SetHypervisorArn(Aws::String&& value) { m_hypervisorArnHasBeenSet = true; m_hypervisorArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline void SetHypervisorArn(const char* value) { m_hypervisorArnHasBeenSet = true; m_hypervisorArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline DeleteHypervisorRequest& WithHypervisorArn(const Aws::String& value) { SetHypervisorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline DeleteHypervisorRequest& WithHypervisorArn(Aws::String&& value) { SetHypervisorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the hypervisor to delete.

*/ inline DeleteHypervisorRequest& WithHypervisorArn(const char* value) { SetHypervisorArn(value); return *this;} private: Aws::String m_hypervisorArn; bool m_hypervisorArnHasBeenSet = false; }; } // namespace Model } // namespace BackupGateway } // namespace Aws