7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodbstreams/model/KeyType.h>
22namespace DynamoDBStreams
58 inline void SetAttributeName(
const char* value) { m_attributeNameHasBeenSet =
true; m_attributeName.assign(value); }
78 inline void SetKeyType(
const KeyType& value) { m_keyTypeHasBeenSet =
true; m_keyType = value; }
79 inline void SetKeyType(
KeyType&& value) { m_keyTypeHasBeenSet =
true; m_keyType = std::move(value); }
86 bool m_attributeNameHasBeenSet =
false;
89 bool m_keyTypeHasBeenSet =
false;
KeySchemaElement & WithKeyType(const KeyType &value)
AWS_DYNAMODBSTREAMS_API KeySchemaElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODBSTREAMS_API KeySchemaElement()
KeySchemaElement & WithAttributeName(const char *value)
bool AttributeNameHasBeenSet() const
const KeyType & GetKeyType() const
void SetAttributeName(const Aws::String &value)
void SetAttributeName(Aws::String &&value)
KeySchemaElement & WithAttributeName(const Aws::String &value)
KeySchemaElement & WithAttributeName(Aws::String &&value)
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODBSTREAMS_API KeySchemaElement(Aws::Utils::Json::JsonView jsonValue)
void SetKeyType(KeyType &&value)
const Aws::String & GetAttributeName() const
void SetAttributeName(const char *value)
bool KeyTypeHasBeenSet() const
void SetKeyType(const KeyType &value)
KeySchemaElement & WithKeyType(KeyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue