206 lines
9.2 KiB
C
206 lines
9.2 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
|
|||
|
|
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace KinesisAnalyticsV2
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*/
|
|||
|
|
class AWS_KINESISANALYTICSV2_API DeleteApplicationOutputRequest : public KinesisAnalyticsV2Request
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
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::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteApplicationOutputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteApplicationOutputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application name.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteApplicationOutputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application version. You can use the <a>DescribeApplication</a> operation
|
|||
|
|
* to get the current application version. If the version specified is not the
|
|||
|
|
* current version, the <code>ConcurrentModificationException</code> is returned.
|
|||
|
|
* </p>
|
|||
|
|
*/
|
|||
|
|
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application version. You can use the <a>DescribeApplication</a> operation
|
|||
|
|
* to get the current application version. If the version specified is not the
|
|||
|
|
* current version, the <code>ConcurrentModificationException</code> is returned.
|
|||
|
|
* </p>
|
|||
|
|
*/
|
|||
|
|
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application version. You can use the <a>DescribeApplication</a> operation
|
|||
|
|
* to get the current application version. If the version specified is not the
|
|||
|
|
* current version, the <code>ConcurrentModificationException</code> is returned.
|
|||
|
|
* </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The application version. You can use the <a>DescribeApplication</a> operation
|
|||
|
|
* to get the current application version. If the version specified is not the
|
|||
|
|
* current version, the <code>ConcurrentModificationException</code> is returned.
|
|||
|
|
* </p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteApplicationOutputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetOutputId() const{ return m_outputId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline bool OutputIdHasBeenSet() const { return m_outputIdHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOutputId(const Aws::String& value) { m_outputIdHasBeenSet = true; m_outputId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOutputId(Aws::String&& value) { m_outputIdHasBeenSet = true; m_outputId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOutputId(const char* value) { m_outputIdHasBeenSet = true; m_outputId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteApplicationOutputRequest& WithOutputId(const Aws::String& value) { SetOutputId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteApplicationOutputRequest& WithOutputId(Aws::String&& value) { SetOutputId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>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 <a>AddApplicationOutput</a> 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 <a>DescribeApplication</a>
|
|||
|
|
* operation to get the specific <code>OutputId</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteApplicationOutputRequest& WithOutputId(const char* value) { SetOutputId(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_applicationName;
|
|||
|
|
bool m_applicationNameHasBeenSet;
|
|||
|
|
|
|||
|
|
long long m_currentApplicationVersionId;
|
|||
|
|
bool m_currentApplicationVersionIdHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_outputId;
|
|||
|
|
bool m_outputIdHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace KinesisAnalyticsV2
|
|||
|
|
} // namespace Aws
|