/** * 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 Http { class URI; } //namespace Http namespace AppConfig { namespace Model { /** */ class DeleteExtensionRequest : public AppConfigRequest { public: AWS_APPCONFIG_API DeleteExtensionRequest(); // 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 "DeleteExtension"; } AWS_APPCONFIG_API Aws::String SerializePayload() const override; AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline const Aws::String& GetExtensionIdentifier() const{ return m_extensionIdentifier; } /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; } /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline void SetExtensionIdentifier(const Aws::String& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = value; } /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline void SetExtensionIdentifier(Aws::String&& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = std::move(value); } /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline void SetExtensionIdentifier(const char* value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier.assign(value); } /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline DeleteExtensionRequest& WithExtensionIdentifier(const Aws::String& value) { SetExtensionIdentifier(value); return *this;} /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline DeleteExtensionRequest& WithExtensionIdentifier(Aws::String&& value) { SetExtensionIdentifier(std::move(value)); return *this;} /** *

The name, ID, or Amazon Resource Name (ARN) of the extension you want to * delete.

*/ inline DeleteExtensionRequest& WithExtensionIdentifier(const char* value) { SetExtensionIdentifier(value); return *this;} /** *

A specific version of an extension to delete. If omitted, the highest version * is deleted.

*/ inline int GetVersionNumber() const{ return m_versionNumber; } /** *

A specific version of an extension to delete. If omitted, the highest version * is deleted.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

A specific version of an extension to delete. If omitted, the highest version * is deleted.

*/ inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

A specific version of an extension to delete. If omitted, the highest version * is deleted.

*/ inline DeleteExtensionRequest& WithVersionNumber(int value) { SetVersionNumber(value); return *this;} private: Aws::String m_extensionIdentifier; bool m_extensionIdentifierHasBeenSet = false; int m_versionNumber; bool m_versionNumberHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws