/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the capacity mode to which you want to set your data stream.
* Currently, in Kinesis Data Streams, you can choose between an on-demand
* capacity mode and a provisioned capacity mode for your data streams.
* See Also:
AWS
* API Reference
Specifies the capacity mode to which you want to set your data stream. * Currently, in Kinesis Data Streams, you can choose between an on-demand * capacity mode and a provisioned capacity mode for your data streams.
*/ inline const StreamMode& GetStreamMode() const{ return m_streamMode; } /** *Specifies the capacity mode to which you want to set your data stream. * Currently, in Kinesis Data Streams, you can choose between an on-demand * capacity mode and a provisioned capacity mode for your data streams.
*/ inline bool StreamModeHasBeenSet() const { return m_streamModeHasBeenSet; } /** *Specifies the capacity mode to which you want to set your data stream. * Currently, in Kinesis Data Streams, you can choose between an on-demand * capacity mode and a provisioned capacity mode for your data streams.
*/ inline void SetStreamMode(const StreamMode& value) { m_streamModeHasBeenSet = true; m_streamMode = value; } /** *Specifies the capacity mode to which you want to set your data stream. * Currently, in Kinesis Data Streams, you can choose between an on-demand * capacity mode and a provisioned capacity mode for your data streams.
*/ inline void SetStreamMode(StreamMode&& value) { m_streamModeHasBeenSet = true; m_streamMode = std::move(value); } /** *Specifies the capacity mode to which you want to set your data stream. * Currently, in Kinesis Data Streams, you can choose between an on-demand * capacity mode and a provisioned capacity mode for your data streams.
*/ inline StreamModeDetails& WithStreamMode(const StreamMode& value) { SetStreamMode(value); return *this;} /** *Specifies the capacity mode to which you want to set your data stream. * Currently, in Kinesis Data Streams, you can choose between an on-demand * capacity mode and a provisioned capacity mode for your data streams.
*/ inline StreamModeDetails& WithStreamMode(StreamMode&& value) { SetStreamMode(std::move(value)); return *this;} private: StreamMode m_streamMode; bool m_streamModeHasBeenSet = false; }; } // namespace Model } // namespace Kinesis } // namespace Aws