/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for SplitShard
.See Also:
* AWS
* API Reference
The name of the stream for the shard split.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The name of the stream for the shard split.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The name of the stream for the shard split.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The name of the stream for the shard split.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The name of the stream for the shard split.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The name of the stream for the shard split.
*/ inline SplitShardRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The name of the stream for the shard split.
*/ inline SplitShardRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The name of the stream for the shard split.
*/ inline SplitShardRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *The shard ID of the shard to split.
*/ inline const Aws::String& GetShardToSplit() const{ return m_shardToSplit; } /** *The shard ID of the shard to split.
*/ inline bool ShardToSplitHasBeenSet() const { return m_shardToSplitHasBeenSet; } /** *The shard ID of the shard to split.
*/ inline void SetShardToSplit(const Aws::String& value) { m_shardToSplitHasBeenSet = true; m_shardToSplit = value; } /** *The shard ID of the shard to split.
*/ inline void SetShardToSplit(Aws::String&& value) { m_shardToSplitHasBeenSet = true; m_shardToSplit = std::move(value); } /** *The shard ID of the shard to split.
*/ inline void SetShardToSplit(const char* value) { m_shardToSplitHasBeenSet = true; m_shardToSplit.assign(value); } /** *The shard ID of the shard to split.
*/ inline SplitShardRequest& WithShardToSplit(const Aws::String& value) { SetShardToSplit(value); return *this;} /** *The shard ID of the shard to split.
*/ inline SplitShardRequest& WithShardToSplit(Aws::String&& value) { SetShardToSplit(std::move(value)); return *this;} /** *The shard ID of the shard to split.
*/ inline SplitShardRequest& WithShardToSplit(const char* value) { SetShardToSplit(value); return *this;} /** *A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.
A hash key value for the starting hash key of one of the child shards created
* by the split. The hash key range for a given shard constitutes a set of ordered
* contiguous positive integers. The value for NewStartingHashKey
must
* be in the range of hash keys being mapped into the shard. The
* NewStartingHashKey
hash key value and all higher hash key values in
* hash key range are distributed to one of the child shards. All the lower hash
* key values in the range are distributed to the other child shard.