AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteRequest.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/AttributeValue.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DynamoDB
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DYNAMODB_API DeleteRequest();
38 AWS_DYNAMODB_API DeleteRequest(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Map<Aws::String, AttributeValue>& GetKey() const{ return m_key; }
50 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
51 inline void SetKey(const Aws::Map<Aws::String, AttributeValue>& value) { m_keyHasBeenSet = true; m_key = value; }
52 inline void SetKey(Aws::Map<Aws::String, AttributeValue>&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
53 inline DeleteRequest& WithKey(const Aws::Map<Aws::String, AttributeValue>& value) { SetKey(value); return *this;}
54 inline DeleteRequest& WithKey(Aws::Map<Aws::String, AttributeValue>&& value) { SetKey(std::move(value)); return *this;}
55 inline DeleteRequest& AddKey(const Aws::String& key, const AttributeValue& value) { m_keyHasBeenSet = true; m_key.emplace(key, value); return *this; }
56 inline DeleteRequest& AddKey(Aws::String&& key, const AttributeValue& value) { m_keyHasBeenSet = true; m_key.emplace(std::move(key), value); return *this; }
57 inline DeleteRequest& AddKey(const Aws::String& key, AttributeValue&& value) { m_keyHasBeenSet = true; m_key.emplace(key, std::move(value)); return *this; }
58 inline DeleteRequest& AddKey(Aws::String&& key, AttributeValue&& value) { m_keyHasBeenSet = true; m_key.emplace(std::move(key), std::move(value)); return *this; }
59 inline DeleteRequest& AddKey(const char* key, AttributeValue&& value) { m_keyHasBeenSet = true; m_key.emplace(key, std::move(value)); return *this; }
60 inline DeleteRequest& AddKey(const char* key, const AttributeValue& value) { m_keyHasBeenSet = true; m_key.emplace(key, value); return *this; }
62 private:
63
65 bool m_keyHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace DynamoDB
70} // namespace Aws
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
DeleteRequest & WithKey(const Aws::Map< Aws::String, AttributeValue > &value)
DeleteRequest & WithKey(Aws::Map< Aws::String, AttributeValue > &&value)
AWS_DYNAMODB_API DeleteRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
DeleteRequest & AddKey(Aws::String &&key, const AttributeValue &value)
const Aws::Map< Aws::String, AttributeValue > & GetKey() const
DeleteRequest & AddKey(const char *key, AttributeValue &&value)
void SetKey(const Aws::Map< Aws::String, AttributeValue > &value)
AWS_DYNAMODB_API DeleteRequest(Aws::Utils::Json::JsonView jsonValue)
void SetKey(Aws::Map< Aws::String, AttributeValue > &&value)
DeleteRequest & AddKey(Aws::String &&key, AttributeValue &&value)
DeleteRequest & AddKey(const Aws::String &key, AttributeValue &&value)
DeleteRequest & AddKey(const char *key, const AttributeValue &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
DeleteRequest & AddKey(const Aws::String &key, const AttributeValue &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue