/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents an attribute for describing the key schema for the table and
* indexes.See Also:
AWS
* API Reference
A name for the attribute.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *A name for the attribute.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *A name for the attribute.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *A name for the attribute.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *A name for the attribute.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *A name for the attribute.
*/ inline AttributeDefinition& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *A name for the attribute.
*/ inline AttributeDefinition& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *A name for the attribute.
*/ inline AttributeDefinition& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** *The data type for the attribute, where:
S
-
* the attribute is of type String
N
- the
* attribute is of type Number
B
- the attribute is
* of type Binary
The data type for the attribute, where:
S
-
* the attribute is of type String
N
- the
* attribute is of type Number
B
- the attribute is
* of type Binary
The data type for the attribute, where:
S
-
* the attribute is of type String
N
- the
* attribute is of type Number
B
- the attribute is
* of type Binary
The data type for the attribute, where:
S
-
* the attribute is of type String
N
- the
* attribute is of type Number
B
- the attribute is
* of type Binary
The data type for the attribute, where:
S
-
* the attribute is of type String
N
- the
* attribute is of type Number
B
- the attribute is
* of type Binary
The data type for the attribute, where:
S
-
* the attribute is of type String
N
- the
* attribute is of type Number
B
- the attribute is
* of type Binary