/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output for PutRecord
.See Also:
* AWS
* API Reference
The shard ID of the shard where the data record was placed.
*/ inline const Aws::String& GetShardId() const{ return m_shardId; } /** *The shard ID of the shard where the data record was placed.
*/ inline void SetShardId(const Aws::String& value) { m_shardId = value; } /** *The shard ID of the shard where the data record was placed.
*/ inline void SetShardId(Aws::String&& value) { m_shardId = std::move(value); } /** *The shard ID of the shard where the data record was placed.
*/ inline void SetShardId(const char* value) { m_shardId.assign(value); } /** *The shard ID of the shard where the data record was placed.
*/ inline PutRecordResult& WithShardId(const Aws::String& value) { SetShardId(value); return *this;} /** *The shard ID of the shard where the data record was placed.
*/ inline PutRecordResult& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;} /** *The shard ID of the shard where the data record was placed.
*/ inline PutRecordResult& WithShardId(const char* value) { SetShardId(value); return *this;} /** *The sequence number identifier that was assigned to the put data record. The * sequence number for the record is unique across all records in the stream. A * sequence number is the identifier associated with every record put into the * stream.
*/ inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; } /** *The sequence number identifier that was assigned to the put data record. The * sequence number for the record is unique across all records in the stream. A * sequence number is the identifier associated with every record put into the * stream.
*/ inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumber = value; } /** *The sequence number identifier that was assigned to the put data record. The * sequence number for the record is unique across all records in the stream. A * sequence number is the identifier associated with every record put into the * stream.
*/ inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumber = std::move(value); } /** *The sequence number identifier that was assigned to the put data record. The * sequence number for the record is unique across all records in the stream. A * sequence number is the identifier associated with every record put into the * stream.
*/ inline void SetSequenceNumber(const char* value) { m_sequenceNumber.assign(value); } /** *The sequence number identifier that was assigned to the put data record. The * sequence number for the record is unique across all records in the stream. A * sequence number is the identifier associated with every record put into the * stream.
*/ inline PutRecordResult& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;} /** *The sequence number identifier that was assigned to the put data record. The * sequence number for the record is unique across all records in the stream. A * sequence number is the identifier associated with every record put into the * stream.
*/ inline PutRecordResult& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;} /** *The sequence number identifier that was assigned to the put data record. The * sequence number for the record is unique across all records in the stream. A * sequence number is the identifier associated with every record put into the * stream.
*/ inline PutRecordResult& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;} /** *The encryption type to use on the record. This parameter can be one of the * following values:
NONE
: Do not encrypt the
* records in the stream.
KMS
: Use server-side
* encryption on the records in the stream using a customer-managed Amazon Web
* Services KMS key.
The encryption type to use on the record. This parameter can be one of the * following values:
NONE
: Do not encrypt the
* records in the stream.
KMS
: Use server-side
* encryption on the records in the stream using a customer-managed Amazon Web
* Services KMS key.
The encryption type to use on the record. This parameter can be one of the * following values:
NONE
: Do not encrypt the
* records in the stream.
KMS
: Use server-side
* encryption on the records in the stream using a customer-managed Amazon Web
* Services KMS key.
The encryption type to use on the record. This parameter can be one of the * following values:
NONE
: Do not encrypt the
* records in the stream.
KMS
: Use server-side
* encryption on the records in the stream using a customer-managed Amazon Web
* Services KMS key.
The encryption type to use on the record. This parameter can be one of the * following values:
NONE
: Do not encrypt the
* records in the stream.
KMS
: Use server-side
* encryption on the records in the stream using a customer-managed Amazon Web
* Services KMS key.