AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteItemResult.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/dynamodb/model/ConsumedCapacity.h>
10#include <aws/dynamodb/model/ItemCollectionMetrics.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/dynamodb/model/AttributeValue.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DynamoDB
28{
29namespace Model
30{
38 {
39 public:
40 AWS_DYNAMODB_API DeleteItemResult();
43
44
46
52 inline const Aws::Map<Aws::String, AttributeValue>& GetAttributes() const{ return m_attributes; }
53 inline void SetAttributes(const Aws::Map<Aws::String, AttributeValue>& value) { m_attributes = value; }
54 inline void SetAttributes(Aws::Map<Aws::String, AttributeValue>&& value) { m_attributes = std::move(value); }
56 inline DeleteItemResult& WithAttributes(Aws::Map<Aws::String, AttributeValue>&& value) { SetAttributes(std::move(value)); return *this;}
57 inline DeleteItemResult& AddAttributes(const Aws::String& key, const AttributeValue& value) { m_attributes.emplace(key, value); return *this; }
58 inline DeleteItemResult& AddAttributes(Aws::String&& key, const AttributeValue& value) { m_attributes.emplace(std::move(key), value); return *this; }
59 inline DeleteItemResult& AddAttributes(const Aws::String& key, AttributeValue&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
60 inline DeleteItemResult& AddAttributes(Aws::String&& key, AttributeValue&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
61 inline DeleteItemResult& AddAttributes(const char* key, AttributeValue&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
62 inline DeleteItemResult& AddAttributes(const char* key, const AttributeValue& value) { m_attributes.emplace(key, value); return *this; }
64
66
76 inline const ConsumedCapacity& GetConsumedCapacity() const{ return m_consumedCapacity; }
77 inline void SetConsumedCapacity(const ConsumedCapacity& value) { m_consumedCapacity = value; }
78 inline void SetConsumedCapacity(ConsumedCapacity&& value) { m_consumedCapacity = std::move(value); }
79 inline DeleteItemResult& WithConsumedCapacity(const ConsumedCapacity& value) { SetConsumedCapacity(value); return *this;}
80 inline DeleteItemResult& WithConsumedCapacity(ConsumedCapacity&& value) { SetConsumedCapacity(std::move(value)); return *this;}
82
84
102 inline const ItemCollectionMetrics& GetItemCollectionMetrics() const{ return m_itemCollectionMetrics; }
103 inline void SetItemCollectionMetrics(const ItemCollectionMetrics& value) { m_itemCollectionMetrics = value; }
104 inline void SetItemCollectionMetrics(ItemCollectionMetrics&& value) { m_itemCollectionMetrics = std::move(value); }
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline DeleteItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline DeleteItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline DeleteItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
122
123 ConsumedCapacity m_consumedCapacity;
124
125 ItemCollectionMetrics m_itemCollectionMetrics;
126
127 Aws::String m_requestId;
128 };
129
130} // namespace Model
131} // namespace DynamoDB
132} // namespace Aws
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
void SetConsumedCapacity(ConsumedCapacity &&value)
DeleteItemResult & WithRequestId(Aws::String &&value)
DeleteItemResult & WithItemCollectionMetrics(ItemCollectionMetrics &&value)
void SetRequestId(const Aws::String &value)
const ItemCollectionMetrics & GetItemCollectionMetrics() const
const Aws::String & GetRequestId() const
DeleteItemResult & AddAttributes(const Aws::String &key, const AttributeValue &value)
DeleteItemResult & WithAttributes(const Aws::Map< Aws::String, AttributeValue > &value)
DeleteItemResult & AddAttributes(const Aws::String &key, AttributeValue &&value)
void SetItemCollectionMetrics(const ItemCollectionMetrics &value)
void SetAttributes(const Aws::Map< Aws::String, AttributeValue > &value)
DeleteItemResult & WithAttributes(Aws::Map< Aws::String, AttributeValue > &&value)
DeleteItemResult & WithRequestId(const char *value)
const Aws::Map< Aws::String, AttributeValue > & GetAttributes() const
void SetAttributes(Aws::Map< Aws::String, AttributeValue > &&value)
DeleteItemResult & AddAttributes(Aws::String &&key, AttributeValue &&value)
const ConsumedCapacity & GetConsumedCapacity() const
DeleteItemResult & WithItemCollectionMetrics(const ItemCollectionMetrics &value)
AWS_DYNAMODB_API DeleteItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteItemResult & AddAttributes(const char *key, const AttributeValue &value)
AWS_DYNAMODB_API DeleteItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteItemResult & WithConsumedCapacity(ConsumedCapacity &&value)
void SetItemCollectionMetrics(ItemCollectionMetrics &&value)
void SetConsumedCapacity(const ConsumedCapacity &value)
DeleteItemResult & WithRequestId(const Aws::String &value)
DeleteItemResult & WithConsumedCapacity(const ConsumedCapacity &value)
DeleteItemResult & AddAttributes(Aws::String &&key, const AttributeValue &value)
DeleteItemResult & AddAttributes(const char *key, 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