This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/TransactGetItem.h

92 lines
2.8 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dynamodb/DynamoDB_EXPORTS.h>
#include <aws/dynamodb/model/Get.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace DynamoDB
{
namespace Model
{
/**
* <p>Specifies an item to be retrieved as part of the transaction.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactGetItem">AWS
* API Reference</a></p>
*/
class AWS_DYNAMODB_API TransactGetItem
{
public:
TransactGetItem();
TransactGetItem(Aws::Utils::Json::JsonView jsonValue);
TransactGetItem& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Contains the primary key that identifies the item to get, together with the
* name of the table that contains the item, and optionally the specific attributes
* of the item to retrieve.</p>
*/
inline const Get& GetGet() const{ return m_get; }
/**
* <p>Contains the primary key that identifies the item to get, together with the
* name of the table that contains the item, and optionally the specific attributes
* of the item to retrieve.</p>
*/
inline bool GetHasBeenSet() const { return m_getHasBeenSet; }
/**
* <p>Contains the primary key that identifies the item to get, together with the
* name of the table that contains the item, and optionally the specific attributes
* of the item to retrieve.</p>
*/
inline void SetGet(const Get& value) { m_getHasBeenSet = true; m_get = value; }
/**
* <p>Contains the primary key that identifies the item to get, together with the
* name of the table that contains the item, and optionally the specific attributes
* of the item to retrieve.</p>
*/
inline void SetGet(Get&& value) { m_getHasBeenSet = true; m_get = std::move(value); }
/**
* <p>Contains the primary key that identifies the item to get, together with the
* name of the table that contains the item, and optionally the specific attributes
* of the item to retrieve.</p>
*/
inline TransactGetItem& WithGet(const Get& value) { SetGet(value); return *this;}
/**
* <p>Contains the primary key that identifies the item to get, together with the
* name of the table that contains the item, and optionally the specific attributes
* of the item to retrieve.</p>
*/
inline TransactGetItem& WithGet(Get&& value) { SetGet(std::move(value)); return *this;}
private:
Get m_get;
bool m_getHasBeenSet;
};
} // namespace Model
} // namespace DynamoDB
} // namespace Aws