/** * 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 KMS { namespace Model { /** */ class DeleteCustomKeyStoreRequest : public KMSRequest { public: AWS_KMS_API DeleteCustomKeyStoreRequest(); // 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 "DeleteCustomKeyStore"; } AWS_KMS_API Aws::String SerializePayload() const override; AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline const Aws::String& GetCustomKeyStoreId() const{ return m_customKeyStoreId; } /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline bool CustomKeyStoreIdHasBeenSet() const { return m_customKeyStoreIdHasBeenSet; } /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline void SetCustomKeyStoreId(const Aws::String& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = value; } /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline void SetCustomKeyStoreId(Aws::String&& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = std::move(value); } /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline void SetCustomKeyStoreId(const char* value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId.assign(value); } /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline DeleteCustomKeyStoreRequest& WithCustomKeyStoreId(const Aws::String& value) { SetCustomKeyStoreId(value); return *this;} /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline DeleteCustomKeyStoreRequest& WithCustomKeyStoreId(Aws::String&& value) { SetCustomKeyStoreId(std::move(value)); return *this;} /** *

Enter the ID of the custom key store you want to delete. To find the ID of a * custom key store, use the DescribeCustomKeyStores operation.

*/ inline DeleteCustomKeyStoreRequest& WithCustomKeyStoreId(const char* value) { SetCustomKeyStoreId(value); return *this;} private: Aws::String m_customKeyStoreId; bool m_customKeyStoreIdHasBeenSet = false; }; } // namespace Model } // namespace KMS } // namespace Aws