7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
9#include <aws/dynamodbstreams/model/KeyType.h>
20namespace DynamoDBStreams {
50 template <
typename AttributeNameT = Aws::String>
52 m_attributeNameHasBeenSet =
true;
53 m_attributeName = std::forward<AttributeNameT>(value);
55 template <
typename AttributeNameT = Aws::String>
77 m_keyTypeHasBeenSet =
true;
89 bool m_attributeNameHasBeenSet =
false;
90 bool m_keyTypeHasBeenSet =
false;
AWS_DYNAMODBSTREAMS_API KeySchemaElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODBSTREAMS_API KeySchemaElement()=default
void SetKeyType(KeyType value)
bool AttributeNameHasBeenSet() const
KeySchemaElement & WithAttributeName(AttributeNameT &&value)
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
KeyType GetKeyType() const
AWS_DYNAMODBSTREAMS_API KeySchemaElement(Aws::Utils::Json::JsonView jsonValue)
KeySchemaElement & WithKeyType(KeyType value)
void SetAttributeName(AttributeNameT &&value)
const Aws::String & GetAttributeName() const
bool KeyTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue