7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dynamodbstreams/model/StreamViewType.h>
12#include <aws/dynamodbstreams/model/AttributeValue.h>
25namespace DynamoDBStreams
53 template<
typename ApproximateCreationDateTimeT = Aws::Utils::DateTime>
54 void SetApproximateCreationDateTime(ApproximateCreationDateTimeT&& value) { m_approximateCreationDateTimeHasBeenSet =
true; m_approximateCreationDateTime = std::forward<ApproximateCreationDateTimeT>(value); }
55 template<
typename ApproximateCreationDateTimeT = Aws::Utils::DateTime>
65 template<
typename KeysT = Aws::Map<Aws::String, AttributeValue>>
66 void SetKeys(KeysT&& value) { m_keysHasBeenSet =
true; m_keys = std::forward<KeysT>(value); }
67 template<
typename KeysT = Aws::Map<Aws::String, AttributeValue>>
69 template<
typename KeysKeyT = Aws::String,
typename KeysValueT = AttributeValue>
71 m_keysHasBeenSet =
true; m_keys.emplace(std::forward<KeysKeyT>(key), std::forward<KeysValueT>(value));
return *
this;
81 template<
typename NewImageT = Aws::Map<Aws::String, AttributeValue>>
82 void SetNewImage(NewImageT&& value) { m_newImageHasBeenSet =
true; m_newImage = std::forward<NewImageT>(value); }
83 template<
typename NewImageT = Aws::Map<Aws::String, AttributeValue>>
85 template<
typename NewImageKeyT = Aws::String,
typename NewImageValueT = AttributeValue>
87 m_newImageHasBeenSet =
true; m_newImage.emplace(std::forward<NewImageKeyT>(key), std::forward<NewImageValueT>(value));
return *
this;
97 template<
typename OldImageT = Aws::Map<Aws::String, AttributeValue>>
98 void SetOldImage(OldImageT&& value) { m_oldImageHasBeenSet =
true; m_oldImage = std::forward<OldImageT>(value); }
99 template<
typename OldImageT = Aws::Map<Aws::String, AttributeValue>>
101 template<
typename OldImageKeyT = Aws::String,
typename OldImageValueT = AttributeValue>
103 m_oldImageHasBeenSet =
true; m_oldImage.emplace(std::forward<OldImageKeyT>(key), std::forward<OldImageValueT>(value));
return *
this;
113 template<
typename SequenceNumberT = Aws::String>
114 void SetSequenceNumber(SequenceNumberT&& value) { m_sequenceNumberHasBeenSet =
true; m_sequenceNumber = std::forward<SequenceNumberT>(value); }
115 template<
typename SequenceNumberT = Aws::String>
125 inline void SetSizeBytes(
long long value) { m_sizeBytesHasBeenSet =
true; m_sizeBytes = value; }
147 bool m_approximateCreationDateTimeHasBeenSet =
false;
150 bool m_keysHasBeenSet =
false;
153 bool m_newImageHasBeenSet =
false;
156 bool m_oldImageHasBeenSet =
false;
159 bool m_sequenceNumberHasBeenSet =
false;
161 long long m_sizeBytes{0};
162 bool m_sizeBytesHasBeenSet =
false;
165 bool m_streamViewTypeHasBeenSet =
false;
AWS_DYNAMODBSTREAMS_API StreamRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ApproximateCreationDateTimeHasBeenSet() const
StreamViewType GetStreamViewType() const
void SetStreamViewType(StreamViewType value)
StreamRecord & WithNewImage(NewImageT &&value)
void SetKeys(KeysT &&value)
bool OldImageHasBeenSet() const
void SetSizeBytes(long long value)
long long GetSizeBytes() const
AWS_DYNAMODBSTREAMS_API StreamRecord()=default
bool NewImageHasBeenSet() const
const Aws::Map< Aws::String, AttributeValue > & GetNewImage() const
bool StreamViewTypeHasBeenSet() const
StreamRecord & AddNewImage(NewImageKeyT &&key, NewImageValueT &&value)
StreamRecord & AddKeys(KeysKeyT &&key, KeysValueT &&value)
bool KeysHasBeenSet() const
StreamRecord & WithKeys(KeysT &&value)
void SetApproximateCreationDateTime(ApproximateCreationDateTimeT &&value)
bool SizeBytesHasBeenSet() const
const Aws::Map< Aws::String, AttributeValue > & GetKeys() const
void SetOldImage(OldImageT &&value)
StreamRecord & WithStreamViewType(StreamViewType value)
StreamRecord & WithSizeBytes(long long value)
StreamRecord & WithSequenceNumber(SequenceNumberT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetOldImage() const
StreamRecord & AddOldImage(OldImageKeyT &&key, OldImageValueT &&value)
bool SequenceNumberHasBeenSet() const
void SetNewImage(NewImageT &&value)
StreamRecord & WithApproximateCreationDateTime(ApproximateCreationDateTimeT &&value)
void SetSequenceNumber(SequenceNumberT &&value)
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODBSTREAMS_API StreamRecord(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSequenceNumber() const
const Aws::Utils::DateTime & GetApproximateCreationDateTime() const
StreamRecord & WithOldImage(OldImageT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue