AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ItemCollectionMetrics.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dynamodb/model/AttributeValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_DYNAMODB_API ItemCollectionMetrics();
43 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Map<Aws::String, AttributeValue>& GetItemCollectionKey() const{ return m_itemCollectionKey; }
52 inline bool ItemCollectionKeyHasBeenSet() const { return m_itemCollectionKeyHasBeenSet; }
53 inline void SetItemCollectionKey(const Aws::Map<Aws::String, AttributeValue>& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey = value; }
54 inline void SetItemCollectionKey(Aws::Map<Aws::String, AttributeValue>&& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey = std::move(value); }
57 inline ItemCollectionMetrics& AddItemCollectionKey(const Aws::String& key, const AttributeValue& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey.emplace(key, value); return *this; }
58 inline ItemCollectionMetrics& AddItemCollectionKey(Aws::String&& key, const AttributeValue& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey.emplace(std::move(key), value); return *this; }
59 inline ItemCollectionMetrics& AddItemCollectionKey(const Aws::String& key, AttributeValue&& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey.emplace(key, std::move(value)); return *this; }
60 inline ItemCollectionMetrics& AddItemCollectionKey(Aws::String&& key, AttributeValue&& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey.emplace(std::move(key), std::move(value)); return *this; }
61 inline ItemCollectionMetrics& AddItemCollectionKey(const char* key, AttributeValue&& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey.emplace(key, std::move(value)); return *this; }
62 inline ItemCollectionMetrics& AddItemCollectionKey(const char* key, const AttributeValue& value) { m_itemCollectionKeyHasBeenSet = true; m_itemCollectionKey.emplace(key, value); return *this; }
64
66
75 inline const Aws::Vector<double>& GetSizeEstimateRangeGB() const{ return m_sizeEstimateRangeGB; }
76 inline bool SizeEstimateRangeGBHasBeenSet() const { return m_sizeEstimateRangeGBHasBeenSet; }
77 inline void SetSizeEstimateRangeGB(const Aws::Vector<double>& value) { m_sizeEstimateRangeGBHasBeenSet = true; m_sizeEstimateRangeGB = value; }
78 inline void SetSizeEstimateRangeGB(Aws::Vector<double>&& value) { m_sizeEstimateRangeGBHasBeenSet = true; m_sizeEstimateRangeGB = std::move(value); }
81 inline ItemCollectionMetrics& AddSizeEstimateRangeGB(double value) { m_sizeEstimateRangeGBHasBeenSet = true; m_sizeEstimateRangeGB.push_back(value); return *this; }
83 private:
84
85 Aws::Map<Aws::String, AttributeValue> m_itemCollectionKey;
86 bool m_itemCollectionKeyHasBeenSet = false;
87
88 Aws::Vector<double> m_sizeEstimateRangeGB;
89 bool m_sizeEstimateRangeGBHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DynamoDB
94} // namespace Aws
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
ItemCollectionMetrics & AddItemCollectionKey(const Aws::String &key, AttributeValue &&value)
ItemCollectionMetrics & WithItemCollectionKey(const Aws::Map< Aws::String, AttributeValue > &value)
ItemCollectionMetrics & AddItemCollectionKey(const Aws::String &key, const AttributeValue &value)
void SetItemCollectionKey(Aws::Map< Aws::String, AttributeValue > &&value)
ItemCollectionMetrics & AddItemCollectionKey(const char *key, const AttributeValue &value)
ItemCollectionMetrics & AddItemCollectionKey(const char *key, AttributeValue &&value)
ItemCollectionMetrics & WithItemCollectionKey(Aws::Map< Aws::String, AttributeValue > &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API ItemCollectionMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< double > & GetSizeEstimateRangeGB() const
void SetSizeEstimateRangeGB(Aws::Vector< double > &&value)
const Aws::Map< Aws::String, AttributeValue > & GetItemCollectionKey() const
void SetSizeEstimateRangeGB(const Aws::Vector< double > &value)
ItemCollectionMetrics & AddItemCollectionKey(Aws::String &&key, AttributeValue &&value)
ItemCollectionMetrics & AddSizeEstimateRangeGB(double value)
ItemCollectionMetrics & WithSizeEstimateRangeGB(Aws::Vector< double > &&value)
ItemCollectionMetrics & WithSizeEstimateRangeGB(const Aws::Vector< double > &value)
AWS_DYNAMODB_API ItemCollectionMetrics(Aws::Utils::Json::JsonView jsonValue)
void SetItemCollectionKey(const Aws::Map< Aws::String, AttributeValue > &value)
ItemCollectionMetrics & AddItemCollectionKey(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue