7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesis/Kinesis_EXPORTS.h>
11#include <aws/kinesis/model/EncryptionType.h>
44 template <
typename SequenceNumberT = Aws::String>
46 m_sequenceNumberHasBeenSet =
true;
47 m_sequenceNumber = std::forward<SequenceNumberT>(value);
49 template <
typename SequenceNumberT = Aws::String>
62 template <
typename ApproximateArrivalTimestampT = Aws::Utils::DateTime>
64 m_approximateArrivalTimestampHasBeenSet =
true;
65 m_approximateArrivalTimestamp = std::forward<ApproximateArrivalTimestampT>(value);
67 template <
typename ApproximateArrivalTimestampT = Aws::Utils::DateTime>
84 template <
typename DataT = Aws::Utils::ByteBuffer>
86 m_dataHasBeenSet =
true;
87 m_data = std::forward<DataT>(value);
89 template <
typename DataT = Aws::Utils::ByteBuffer>
91 SetData(std::forward<DataT>(value));
102 template <
typename PartitionKeyT = Aws::String>
104 m_partitionKeyHasBeenSet =
true;
105 m_partitionKey = std::forward<PartitionKeyT>(value);
107 template <
typename PartitionKeyT = Aws::String>
125 m_encryptionTypeHasBeenSet =
true;
126 m_encryptionType = value;
143 bool m_sequenceNumberHasBeenSet =
false;
144 bool m_approximateArrivalTimestampHasBeenSet =
false;
145 bool m_dataHasBeenSet =
false;
146 bool m_partitionKeyHasBeenSet =
false;
147 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