7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
9#include <aws/dynamodbstreams/model/Identity.h>
10#include <aws/dynamodbstreams/model/OperationType.h>
11#include <aws/dynamodbstreams/model/StreamRecord.h>
22namespace DynamoDBStreams {
33 AWS_DYNAMODBSTREAMS_API
Record() =
default;
45 template <
typename EventIDT = Aws::String>
47 m_eventIDHasBeenSet =
true;
48 m_eventID = std::forward<EventIDT>(value);
50 template <
typename EventIDT = Aws::String>
68 m_eventNameHasBeenSet =
true;
88 template <
typename EventVersionT = Aws::String>
90 m_eventVersionHasBeenSet =
true;
91 m_eventVersion = std::forward<EventVersionT>(value);
93 template <
typename EventVersionT = Aws::String>
107 template <
typename EventSourceT = Aws::String>
109 m_eventSourceHasBeenSet =
true;
110 m_eventSource = std::forward<EventSourceT>(value);
112 template <
typename EventSourceT = Aws::String>
125 template <
typename AwsRegionT = Aws::String>
127 m_awsRegionHasBeenSet =
true;
128 m_awsRegion = std::forward<AwsRegionT>(value);
130 template <
typename AwsRegionT = Aws::String>
144 template <
typename DynamodbT = StreamRecord>
146 m_dynamodbHasBeenSet =
true;
147 m_dynamodb = std::forward<DynamodbT>(value);
149 template <
typename DynamodbT = StreamRecord>
165 template <
typename UserIdentityT = Identity>
167 m_userIdentityHasBeenSet =
true;
168 m_userIdentity = std::forward<UserIdentityT>(value);
170 template <
typename UserIdentityT = Identity>
187 StreamRecord m_dynamodb;
189 Identity m_userIdentity;
190 bool m_eventIDHasBeenSet =
false;
191 bool m_eventNameHasBeenSet =
false;
192 bool m_eventVersionHasBeenSet =
false;
193 bool m_eventSourceHasBeenSet =
false;
194 bool m_awsRegionHasBeenSet =
false;
195 bool m_dynamodbHasBeenSet =
false;
196 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