/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for MergeShards
.See Also:
* AWS
* API Reference
The name of the stream for the merge.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The name of the stream for the merge.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The name of the stream for the merge.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The name of the stream for the merge.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The name of the stream for the merge.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The name of the stream for the merge.
*/ inline MergeShardsRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The name of the stream for the merge.
*/ inline MergeShardsRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The name of the stream for the merge.
*/ inline MergeShardsRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline const Aws::String& GetShardToMerge() const{ return m_shardToMerge; } /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline bool ShardToMergeHasBeenSet() const { return m_shardToMergeHasBeenSet; } /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline void SetShardToMerge(const Aws::String& value) { m_shardToMergeHasBeenSet = true; m_shardToMerge = value; } /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline void SetShardToMerge(Aws::String&& value) { m_shardToMergeHasBeenSet = true; m_shardToMerge = std::move(value); } /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline void SetShardToMerge(const char* value) { m_shardToMergeHasBeenSet = true; m_shardToMerge.assign(value); } /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline MergeShardsRequest& WithShardToMerge(const Aws::String& value) { SetShardToMerge(value); return *this;} /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline MergeShardsRequest& WithShardToMerge(Aws::String&& value) { SetShardToMerge(std::move(value)); return *this;} /** *The shard ID of the shard to combine with the adjacent shard for the * merge.
*/ inline MergeShardsRequest& WithShardToMerge(const char* value) { SetShardToMerge(value); return *this;} /** *The shard ID of the adjacent shard for the merge.
*/ inline const Aws::String& GetAdjacentShardToMerge() const{ return m_adjacentShardToMerge; } /** *The shard ID of the adjacent shard for the merge.
*/ inline bool AdjacentShardToMergeHasBeenSet() const { return m_adjacentShardToMergeHasBeenSet; } /** *The shard ID of the adjacent shard for the merge.
*/ inline void SetAdjacentShardToMerge(const Aws::String& value) { m_adjacentShardToMergeHasBeenSet = true; m_adjacentShardToMerge = value; } /** *The shard ID of the adjacent shard for the merge.
*/ inline void SetAdjacentShardToMerge(Aws::String&& value) { m_adjacentShardToMergeHasBeenSet = true; m_adjacentShardToMerge = std::move(value); } /** *The shard ID of the adjacent shard for the merge.
*/ inline void SetAdjacentShardToMerge(const char* value) { m_adjacentShardToMergeHasBeenSet = true; m_adjacentShardToMerge.assign(value); } /** *The shard ID of the adjacent shard for the merge.
*/ inline MergeShardsRequest& WithAdjacentShardToMerge(const Aws::String& value) { SetAdjacentShardToMerge(value); return *this;} /** *The shard ID of the adjacent shard for the merge.
*/ inline MergeShardsRequest& WithAdjacentShardToMerge(Aws::String&& value) { SetAdjacentShardToMerge(std::move(value)); return *this;} /** *The shard ID of the adjacent shard for the merge.
*/ inline MergeShardsRequest& WithAdjacentShardToMerge(const char* value) { SetAdjacentShardToMerge(value); return *this;} private: Aws::String m_streamName; bool m_streamNameHasBeenSet; Aws::String m_shardToMerge; bool m_shardToMergeHasBeenSet; Aws::String m_adjacentShardToMerge; bool m_adjacentShardToMergeHasBeenSet; }; } // namespace Model } // namespace Kinesis } // namespace Aws