/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for DeleteStream.See Also:
AWS
* API Reference
The name of the stream to delete.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The name of the stream to delete.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The name of the stream to delete.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The name of the stream to delete.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The name of the stream to delete.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The name of the stream to delete.
*/ inline DeleteStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The name of the stream to delete.
*/ inline DeleteStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The name of the stream to delete.
*/ inline DeleteStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *If this parameter is unset (null
) or if you set it to
* false
, and the stream has registered consumers, the call to
* DeleteStream
fails with a ResourceInUseException
.
If this parameter is unset (null
) or if you set it to
* false
, and the stream has registered consumers, the call to
* DeleteStream
fails with a ResourceInUseException
.
If this parameter is unset (null
) or if you set it to
* false
, and the stream has registered consumers, the call to
* DeleteStream
fails with a ResourceInUseException
.
If this parameter is unset (null
) or if you set it to
* false
, and the stream has registered consumers, the call to
* DeleteStream
fails with a ResourceInUseException
.
The ARN of the stream.
*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *The ARN of the stream.
*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *The ARN of the stream.
*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *The ARN of the stream.
*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *The ARN of the stream.
*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *The ARN of the stream.
*/ inline DeleteStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *The ARN of the stream.
*/ inline DeleteStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *The ARN of the stream.
*/ inline DeleteStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} private: Aws::String m_streamName; bool m_streamNameHasBeenSet = false; bool m_enforceConsumerDeletion; bool m_enforceConsumerDeletionHasBeenSet = false; Aws::String m_streamARN; bool m_streamARNHasBeenSet = false; }; } // namespace Model } // namespace Kinesis } // namespace Aws