/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Kinesis { namespace Model { class AWS_KINESIS_API UpdateShardCountResult { public: UpdateShardCountResult(); UpdateShardCountResult(const Aws::AmazonWebServiceResult& result); UpdateShardCountResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the stream.

*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *

The name of the stream.

*/ inline void SetStreamName(const Aws::String& value) { m_streamName = value; } /** *

The name of the stream.

*/ inline void SetStreamName(Aws::String&& value) { m_streamName = std::move(value); } /** *

The name of the stream.

*/ inline void SetStreamName(const char* value) { m_streamName.assign(value); } /** *

The name of the stream.

*/ inline UpdateShardCountResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *

The name of the stream.

*/ inline UpdateShardCountResult& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *

The name of the stream.

*/ inline UpdateShardCountResult& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *

The current number of shards.

*/ inline int GetCurrentShardCount() const{ return m_currentShardCount; } /** *

The current number of shards.

*/ inline void SetCurrentShardCount(int value) { m_currentShardCount = value; } /** *

The current number of shards.

*/ inline UpdateShardCountResult& WithCurrentShardCount(int value) { SetCurrentShardCount(value); return *this;} /** *

The updated number of shards.

*/ inline int GetTargetShardCount() const{ return m_targetShardCount; } /** *

The updated number of shards.

*/ inline void SetTargetShardCount(int value) { m_targetShardCount = value; } /** *

The updated number of shards.

*/ inline UpdateShardCountResult& WithTargetShardCount(int value) { SetTargetShardCount(value); return *this;} private: Aws::String m_streamName; int m_currentShardCount; int m_targetShardCount; }; } // namespace Model } // namespace Kinesis } // namespace Aws