/** * 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 Keyspaces { namespace Model { /** */ class DeleteKeyspaceRequest : public KeyspacesRequest { public: AWS_KEYSPACES_API DeleteKeyspaceRequest(); // 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 "DeleteKeyspace"; } AWS_KEYSPACES_API Aws::String SerializePayload() const override; AWS_KEYSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the keyspace to be deleted.

*/ inline const Aws::String& GetKeyspaceName() const{ return m_keyspaceName; } /** *

The name of the keyspace to be deleted.

*/ inline bool KeyspaceNameHasBeenSet() const { return m_keyspaceNameHasBeenSet; } /** *

The name of the keyspace to be deleted.

*/ inline void SetKeyspaceName(const Aws::String& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = value; } /** *

The name of the keyspace to be deleted.

*/ inline void SetKeyspaceName(Aws::String&& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = std::move(value); } /** *

The name of the keyspace to be deleted.

*/ inline void SetKeyspaceName(const char* value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName.assign(value); } /** *

The name of the keyspace to be deleted.

*/ inline DeleteKeyspaceRequest& WithKeyspaceName(const Aws::String& value) { SetKeyspaceName(value); return *this;} /** *

The name of the keyspace to be deleted.

*/ inline DeleteKeyspaceRequest& WithKeyspaceName(Aws::String&& value) { SetKeyspaceName(std::move(value)); return *this;} /** *

The name of the keyspace to be deleted.

*/ inline DeleteKeyspaceRequest& WithKeyspaceName(const char* value) { SetKeyspaceName(value); return *this;} private: Aws::String m_keyspaceName; bool m_keyspaceNameHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws