/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A component of the key schema for the DynamoDB table, a global secondary
* index, or a local secondary index.See Also:
AWS
* API Reference
The name of the key schema attribute.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The name of the key schema attribute.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The name of the key schema attribute.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The name of the key schema attribute.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The name of the key schema attribute.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The name of the key schema attribute.
*/ inline AwsDynamoDbTableKeySchema& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The name of the key schema attribute.
*/ inline AwsDynamoDbTableKeySchema& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The name of the key schema attribute.
*/ inline AwsDynamoDbTableKeySchema& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** *The type of key used for the key schema attribute.
*/ inline const Aws::String& GetKeyType() const{ return m_keyType; } /** *The type of key used for the key schema attribute.
*/ inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; } /** *The type of key used for the key schema attribute.
*/ inline void SetKeyType(const Aws::String& value) { m_keyTypeHasBeenSet = true; m_keyType = value; } /** *The type of key used for the key schema attribute.
*/ inline void SetKeyType(Aws::String&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); } /** *The type of key used for the key schema attribute.
*/ inline void SetKeyType(const char* value) { m_keyTypeHasBeenSet = true; m_keyType.assign(value); } /** *The type of key used for the key schema attribute.
*/ inline AwsDynamoDbTableKeySchema& WithKeyType(const Aws::String& value) { SetKeyType(value); return *this;} /** *The type of key used for the key schema attribute.
*/ inline AwsDynamoDbTableKeySchema& WithKeyType(Aws::String&& value) { SetKeyType(std::move(value)); return *this;} /** *The type of key used for the key schema attribute.
*/ inline AwsDynamoDbTableKeySchema& WithKeyType(const char* value) { SetKeyType(value); return *this;} private: Aws::String m_attributeName; bool m_attributeNameHasBeenSet; Aws::String m_keyType; bool m_keyTypeHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws