7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodbstreams/model/OperationType.h>
10#include <aws/dynamodbstreams/model/StreamRecord.h>
11#include <aws/dynamodbstreams/model/Identity.h>
24namespace DynamoDBStreams
38 AWS_DYNAMODBSTREAMS_API
Record() =
default;
51 template<
typename EventIDT = Aws::String>
52 void SetEventID(EventIDT&& value) { m_eventIDHasBeenSet =
true; m_eventID = std::forward<EventIDT>(value); }
53 template<
typename EventIDT = Aws::String>
82 template<
typename EventVersionT = Aws::String>
83 void SetEventVersion(EventVersionT&& value) { m_eventVersionHasBeenSet =
true; m_eventVersion = std::forward<EventVersionT>(value); }
84 template<
typename EventVersionT = Aws::String>
95 template<
typename EventSourceT = Aws::String>
96 void SetEventSource(EventSourceT&& value) { m_eventSourceHasBeenSet =
true; m_eventSource = std::forward<EventSourceT>(value); }
97 template<
typename EventSourceT = Aws::String>
107 template<
typename AwsRegionT = Aws::String>
108 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet =
true; m_awsRegion = std::forward<AwsRegionT>(value); }
109 template<
typename AwsRegionT = Aws::String>
120 template<
typename DynamodbT = StreamRecord>
121 void SetDynamodb(DynamodbT&& value) { m_dynamodbHasBeenSet =
true; m_dynamodb = std::forward<DynamodbT>(value); }
122 template<
typename DynamodbT = StreamRecord>
135 template<
typename UserIdentityT = Identity>
136 void SetUserIdentity(UserIdentityT&& value) { m_userIdentityHasBeenSet =
true; m_userIdentity = std::forward<UserIdentityT>(value); }
137 template<
typename UserIdentityT = Identity>
143 bool m_eventIDHasBeenSet =
false;
146 bool m_eventNameHasBeenSet =
false;
149 bool m_eventVersionHasBeenSet =
false;
152 bool m_eventSourceHasBeenSet =
false;
155 bool m_awsRegionHasBeenSet =
false;
157 StreamRecord m_dynamodb;
158 bool m_dynamodbHasBeenSet =
false;
160 Identity m_userIdentity;
161 bool m_userIdentityHasBeenSet =
false;
void SetEventID(EventIDT &&value)
AWS_DYNAMODBSTREAMS_API Record()=default
bool EventVersionHasBeenSet() const
Record & WithDynamodb(DynamodbT &&value)
void SetEventName(OperationType value)
bool EventSourceHasBeenSet() const
const Aws::String & GetAwsRegion() const
Record & WithEventName(OperationType value)
const Aws::String & GetEventSource() const
OperationType GetEventName() const
const Identity & GetUserIdentity() const
void SetUserIdentity(UserIdentityT &&value)
bool EventIDHasBeenSet() const
bool AwsRegionHasBeenSet() const
void SetEventVersion(EventVersionT &&value)
bool UserIdentityHasBeenSet() const
bool DynamodbHasBeenSet() const
Record & WithAwsRegion(AwsRegionT &&value)
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDynamodb(DynamodbT &&value)
const Aws::String & GetEventVersion() const
const Aws::String & GetEventID() const
Record & WithEventVersion(EventVersionT &&value)
const StreamRecord & GetDynamodb() const
Record & WithEventSource(EventSourceT &&value)
AWS_DYNAMODBSTREAMS_API Record(Aws::Utils::Json::JsonView jsonValue)
bool EventNameHasBeenSet() const
Record & WithEventID(EventIDT &&value)
Record & WithUserIdentity(UserIdentityT &&value)
AWS_DYNAMODBSTREAMS_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsRegion(AwsRegionT &&value)
void SetEventSource(EventSourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue