/** * 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 UpdateShardCountResult { public: AWS_KINESIS_API UpdateShardCountResult(); AWS_KINESIS_API UpdateShardCountResult(const Aws::AmazonWebServiceResult& result); AWS_KINESIS_API 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;} /** *

The ARN of the stream.

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

The ARN of the stream.

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

The ARN of the stream.

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

The ARN of the stream.

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

The ARN of the stream.

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

The ARN of the stream.

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

The ARN of the stream.

*/ inline UpdateShardCountResult& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateShardCountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateShardCountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateShardCountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_streamName; int m_currentShardCount; int m_targetShardCount; Aws::String m_streamARN; Aws::String m_requestId; }; } // namespace Model } // namespace Kinesis } // namespace Aws