/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the result of an individual record from a PutRecords
* request. A record that is successfully added to a stream includes
* SequenceNumber
and ShardId
in the result. A record
* that fails to be added to the stream includes ErrorCode
and
* ErrorMessage
in the result.See Also:
AWS
* API Reference
The sequence number for an individual record result.
*/ inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; } /** *The sequence number for an individual record result.
*/ inline bool SequenceNumberHasBeenSet() const { return m_sequenceNumberHasBeenSet; } /** *The sequence number for an individual record result.
*/ inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = value; } /** *The sequence number for an individual record result.
*/ inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = std::move(value); } /** *The sequence number for an individual record result.
*/ inline void SetSequenceNumber(const char* value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber.assign(value); } /** *The sequence number for an individual record result.
*/ inline PutRecordsResultEntry& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;} /** *The sequence number for an individual record result.
*/ inline PutRecordsResultEntry& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;} /** *The sequence number for an individual record result.
*/ inline PutRecordsResultEntry& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;} /** *The shard ID for an individual record result.
*/ inline const Aws::String& GetShardId() const{ return m_shardId; } /** *The shard ID for an individual record result.
*/ inline bool ShardIdHasBeenSet() const { return m_shardIdHasBeenSet; } /** *The shard ID for an individual record result.
*/ inline void SetShardId(const Aws::String& value) { m_shardIdHasBeenSet = true; m_shardId = value; } /** *The shard ID for an individual record result.
*/ inline void SetShardId(Aws::String&& value) { m_shardIdHasBeenSet = true; m_shardId = std::move(value); } /** *The shard ID for an individual record result.
*/ inline void SetShardId(const char* value) { m_shardIdHasBeenSet = true; m_shardId.assign(value); } /** *The shard ID for an individual record result.
*/ inline PutRecordsResultEntry& WithShardId(const Aws::String& value) { SetShardId(value); return *this;} /** *The shard ID for an individual record result.
*/ inline PutRecordsResultEntry& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;} /** *The shard ID for an individual record result.
*/ inline PutRecordsResultEntry& WithShardId(const char* value) { SetShardId(value); return *this;} /** *The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error code for an individual record result. ErrorCodes
can
* be either ProvisionedThroughputExceededException
or
* InternalFailure
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.
The error message for an individual record result. An ErrorCode
* value of ProvisionedThroughputExceededException
has an error
* message that includes the account ID, stream name, and shard ID. An
* ErrorCode
value of InternalFailure
has the error
* message "Internal Service Failure"
.