/** * 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 KinesisAnalyticsV2 { namespace Model { /** */ class DeleteApplicationOutputRequest : public KinesisAnalyticsV2Request { public: AWS_KINESISANALYTICSV2_API DeleteApplicationOutputRequest(); // 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 "DeleteApplicationOutput"; } AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override; AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The application name.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The application name.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The application name.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The application name.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The application name.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The application name.

*/ inline DeleteApplicationOutputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The application name.

*/ inline DeleteApplicationOutputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The application name.

*/ inline DeleteApplicationOutputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

The application version. You can use the DescribeApplication operation * to get the current application version. If the version specified is not the * current version, the ConcurrentModificationException is returned. *

*/ inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; } /** *

The application version. You can use the DescribeApplication operation * to get the current application version. If the version specified is not the * current version, the ConcurrentModificationException is returned. *

*/ inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; } /** *

The application version. You can use the DescribeApplication operation * to get the current application version. If the version specified is not the * current version, the ConcurrentModificationException is returned. *

*/ inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; } /** *

The application version. You can use the DescribeApplication operation * to get the current application version. If the version specified is not the * current version, the ConcurrentModificationException is returned. *

*/ inline DeleteApplicationOutputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;} /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline const Aws::String& GetOutputId() const{ return m_outputId; } /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline bool OutputIdHasBeenSet() const { return m_outputIdHasBeenSet; } /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline void SetOutputId(const Aws::String& value) { m_outputIdHasBeenSet = true; m_outputId = value; } /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline void SetOutputId(Aws::String&& value) { m_outputIdHasBeenSet = true; m_outputId = std::move(value); } /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline void SetOutputId(const char* value) { m_outputIdHasBeenSet = true; m_outputId.assign(value); } /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline DeleteApplicationOutputRequest& WithOutputId(const Aws::String& value) { SetOutputId(value); return *this;} /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline DeleteApplicationOutputRequest& WithOutputId(Aws::String&& value) { SetOutputId(std::move(value)); return *this;} /** *

The ID of the configuration to delete. Each output configuration that is * added to the application (either when the application is created or later) using * the AddApplicationOutput operation has a unique ID. You need to provide * the ID to uniquely identify the output configuration that you want to delete * from the application configuration. You can use the DescribeApplication * operation to get the specific OutputId.

*/ inline DeleteApplicationOutputRequest& WithOutputId(const char* value) { SetOutputId(value); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; long long m_currentApplicationVersionId; bool m_currentApplicationVersionIdHasBeenSet = false; Aws::String m_outputId; bool m_outputIdHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws