/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kinesis { namespace Model { /** *

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

*/ class StreamModeDetails { public: AWS_KINESIS_API StreamModeDetails(); AWS_KINESIS_API StreamModeDetails(Aws::Utils::Json::JsonView jsonValue); AWS_KINESIS_API StreamModeDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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