This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-firehose/include/aws/firehose/model/DeleteDeliveryStreamRequest.h

142 lines
6.0 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/firehose/Firehose_EXPORTS.h>
#include <aws/firehose/FirehoseRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Firehose
{
namespace Model
{
/**
*/
class AWS_FIREHOSE_API DeleteDeliveryStreamRequest : public FirehoseRequest
{
public:
DeleteDeliveryStreamRequest();
// 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 "DeleteDeliveryStream"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the delivery stream.</p>
*/
inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
/**
* <p>The name of the delivery stream.</p>
*/
inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
/**
* <p>The name of the delivery stream.</p>
*/
inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
/**
* <p>The name of the delivery stream.</p>
*/
inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
/**
* <p>The name of the delivery stream.</p>
*/
inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
/**
* <p>The name of the delivery stream.</p>
*/
inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
/**
* <p>The name of the delivery stream.</p>
*/
inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
/**
* <p>The name of the delivery stream.</p>
*/
inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
/**
* <p>Set this to true if you want to delete the delivery stream even if Kinesis
* Data Firehose is unable to retire the grant for the CMK. Kinesis Data Firehose
* might be unable to retire the grant due to a customer error, such as when the
* CMK or the grant are in an invalid state. If you force deletion, you can then
* use the <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a>
* operation to revoke the grant you gave to Kinesis Data Firehose. If a failure to
* retire the grant happens due to an AWS KMS issue, Kinesis Data Firehose keeps
* retrying the delete operation.</p> <p>The default value is false.</p>
*/
inline bool GetAllowForceDelete() const{ return m_allowForceDelete; }
/**
* <p>Set this to true if you want to delete the delivery stream even if Kinesis
* Data Firehose is unable to retire the grant for the CMK. Kinesis Data Firehose
* might be unable to retire the grant due to a customer error, such as when the
* CMK or the grant are in an invalid state. If you force deletion, you can then
* use the <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a>
* operation to revoke the grant you gave to Kinesis Data Firehose. If a failure to
* retire the grant happens due to an AWS KMS issue, Kinesis Data Firehose keeps
* retrying the delete operation.</p> <p>The default value is false.</p>
*/
inline bool AllowForceDeleteHasBeenSet() const { return m_allowForceDeleteHasBeenSet; }
/**
* <p>Set this to true if you want to delete the delivery stream even if Kinesis
* Data Firehose is unable to retire the grant for the CMK. Kinesis Data Firehose
* might be unable to retire the grant due to a customer error, such as when the
* CMK or the grant are in an invalid state. If you force deletion, you can then
* use the <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a>
* operation to revoke the grant you gave to Kinesis Data Firehose. If a failure to
* retire the grant happens due to an AWS KMS issue, Kinesis Data Firehose keeps
* retrying the delete operation.</p> <p>The default value is false.</p>
*/
inline void SetAllowForceDelete(bool value) { m_allowForceDeleteHasBeenSet = true; m_allowForceDelete = value; }
/**
* <p>Set this to true if you want to delete the delivery stream even if Kinesis
* Data Firehose is unable to retire the grant for the CMK. Kinesis Data Firehose
* might be unable to retire the grant due to a customer error, such as when the
* CMK or the grant are in an invalid state. If you force deletion, you can then
* use the <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html">RevokeGrant</a>
* operation to revoke the grant you gave to Kinesis Data Firehose. If a failure to
* retire the grant happens due to an AWS KMS issue, Kinesis Data Firehose keeps
* retrying the delete operation.</p> <p>The default value is false.</p>
*/
inline DeleteDeliveryStreamRequest& WithAllowForceDelete(bool value) { SetAllowForceDelete(value); return *this;}
private:
Aws::String m_deliveryStreamName;
bool m_deliveryStreamNameHasBeenSet;
bool m_allowForceDelete;
bool m_allowForceDeleteHasBeenSet;
};
} // namespace Model
} // namespace Firehose
} // namespace Aws