/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies an item and related attribute values to retrieve in a
* TransactGetItem
object.See Also:
AWS API
* Reference
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
A map of attribute names to AttributeValue
objects that
* specifies the primary key of the item to retrieve.
The name of the table from which to retrieve the specified item.
*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *The name of the table from which to retrieve the specified item.
*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *The name of the table from which to retrieve the specified item.
*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *The name of the table from which to retrieve the specified item.
*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *The name of the table from which to retrieve the specified item.
*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *The name of the table from which to retrieve the specified item.
*/ inline Get& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *The name of the table from which to retrieve the specified item.
*/ inline Get& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *The name of the table from which to retrieve the specified item.
*/ inline Get& WithTableName(const char* value) { SetTableName(value); return *this;} /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline const Aws::String& GetProjectionExpression() const{ return m_projectionExpression; } /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline bool ProjectionExpressionHasBeenSet() const { return m_projectionExpressionHasBeenSet; } /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline void SetProjectionExpression(const Aws::String& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = value; } /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline void SetProjectionExpression(Aws::String&& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = std::move(value); } /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline void SetProjectionExpression(const char* value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression.assign(value); } /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline Get& WithProjectionExpression(const Aws::String& value) { SetProjectionExpression(value); return *this;} /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline Get& WithProjectionExpression(Aws::String&& value) { SetProjectionExpression(std::move(value)); return *this;} /** *A string that identifies one or more attributes of the specified item to * retrieve from the table. The attributes in the expression must be separated by * commas. If no attribute names are specified, then all attributes of the * specified item are returned. If any of the requested attributes are not found, * they do not appear in the result.
*/ inline Get& WithProjectionExpression(const char* value) { SetProjectionExpression(value); return *this;} /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline const Aws::MapOne or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline bool ExpressionAttributeNamesHasBeenSet() const { return m_expressionAttributeNamesHasBeenSet; } /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline void SetExpressionAttributeNames(const Aws::MapOne or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline void SetExpressionAttributeNames(Aws::MapOne or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& WithExpressionAttributeNames(const Aws::MapOne or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& WithExpressionAttributeNames(Aws::MapOne or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& AddExpressionAttributeNames(const Aws::String& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; } /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& AddExpressionAttributeNames(Aws::String&& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; } /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& AddExpressionAttributeNames(const Aws::String& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; } /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& AddExpressionAttributeNames(Aws::String&& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), std::move(value)); return *this; } /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& AddExpressionAttributeNames(const char* key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; } /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& AddExpressionAttributeNames(Aws::String&& key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; } /** *One or more substitution tokens for attribute names in the * ProjectionExpression parameter.
*/ inline Get& AddExpressionAttributeNames(const char* key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; } private: Aws::Map