/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Kinesis { namespace Model { /** */ class UpdateStreamModeRequest : public KinesisRequest { public: AWS_KINESIS_API UpdateStreamModeRequest(); // 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 "UpdateStreamMode"; } AWS_KINESIS_API Aws::String SerializePayload() const override; AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. */ AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override; /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline UpdateStreamModeRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline UpdateStreamModeRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *

Specifies the ARN of the data stream whose capacity mode you want to update. *

*/ inline UpdateStreamModeRequest& WithStreamARN(const char* value) { SetStreamARN(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 const StreamModeDetails& GetStreamModeDetails() const{ return m_streamModeDetails; } /** *

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 StreamModeDetailsHasBeenSet() const { return m_streamModeDetailsHasBeenSet; } /** *

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 SetStreamModeDetails(const StreamModeDetails& value) { m_streamModeDetailsHasBeenSet = true; m_streamModeDetails = 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 SetStreamModeDetails(StreamModeDetails&& value) { m_streamModeDetailsHasBeenSet = true; m_streamModeDetails = 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 UpdateStreamModeRequest& WithStreamModeDetails(const StreamModeDetails& value) { SetStreamModeDetails(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 UpdateStreamModeRequest& WithStreamModeDetails(StreamModeDetails&& value) { SetStreamModeDetails(std::move(value)); return *this;} private: Aws::String m_streamARN; bool m_streamARNHasBeenSet = false; StreamModeDetails m_streamModeDetails; bool m_streamModeDetailsHasBeenSet = false; }; } // namespace Model } // namespace Kinesis } // namespace Aws