7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/Array.h>
11#include <aws/kinesis/model/EncryptionType.h>
50 template<
typename SequenceNumberT = Aws::String>
51 void SetSequenceNumber(SequenceNumberT&& value) { m_sequenceNumberHasBeenSet =
true; m_sequenceNumber = std::forward<SequenceNumberT>(value); }
52 template<
typename SequenceNumberT = Aws::String>
62 template<
typename ApproximateArrivalTimestampT = Aws::Utils::DateTime>
63 void SetApproximateArrivalTimestamp(ApproximateArrivalTimestampT&& value) { m_approximateArrivalTimestampHasBeenSet =
true; m_approximateArrivalTimestamp = std::forward<ApproximateArrivalTimestampT>(value); }
64 template<
typename ApproximateArrivalTimestampT = Aws::Utils::DateTime>
78 template<
typename DataT = Aws::Utils::ByteBuffer>
79 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
80 template<
typename DataT = Aws::Utils::ByteBuffer>
90 template<
typename PartitionKeyT = Aws::String>
91 void SetPartitionKey(PartitionKeyT&& value) { m_partitionKeyHasBeenSet =
true; m_partitionKey = std::forward<PartitionKeyT>(value); }
92 template<
typename PartitionKeyT = Aws::String>
112 bool m_sequenceNumberHasBeenSet =
false;
115 bool m_approximateArrivalTimestampHasBeenSet =
false;
118 bool m_dataHasBeenSet =
false;
121 bool m_partitionKeyHasBeenSet =
false;
124 bool m_encryptionTypeHasBeenSet =
false;
Record & WithSequenceNumber(SequenceNumberT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::ByteBuffer & GetData() const
void SetData(DataT &&value)
Record & WithApproximateArrivalTimestamp(ApproximateArrivalTimestampT &&value)
void SetSequenceNumber(SequenceNumberT &&value)
void SetPartitionKey(PartitionKeyT &&value)
const Aws::Utils::DateTime & GetApproximateArrivalTimestamp() const
AWS_KINESIS_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApproximateArrivalTimestamp(ApproximateArrivalTimestampT &&value)
AWS_KINESIS_API Record(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPartitionKey() const
bool EncryptionTypeHasBeenSet() const
bool SequenceNumberHasBeenSet() const
Record & WithEncryptionType(EncryptionType value)
EncryptionType GetEncryptionType() const
bool PartitionKeyHasBeenSet() const
AWS_KINESIS_API Record()=default
const Aws::String & GetSequenceNumber() const
bool ApproximateArrivalTimestampHasBeenSet() const
void SetEncryptionType(EncryptionType value)
Record & WithPartitionKey(PartitionKeyT &&value)
bool DataHasBeenSet() const
Record & WithData(DataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue