AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponsePartitionKey.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PI
23{
24namespace Model
25{
26
36 {
37 public:
42
43
45
48 inline const Aws::Map<Aws::String, Aws::String>& GetDimensions() const{ return m_dimensions; }
49 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
50 inline void SetDimensions(const Aws::Map<Aws::String, Aws::String>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
51 inline void SetDimensions(Aws::Map<Aws::String, Aws::String>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
53 inline ResponsePartitionKey& WithDimensions(Aws::Map<Aws::String, Aws::String>&& value) { SetDimensions(std::move(value)); return *this;}
54 inline ResponsePartitionKey& AddDimensions(const Aws::String& key, const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, value); return *this; }
55 inline ResponsePartitionKey& AddDimensions(Aws::String&& key, const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), value); return *this; }
56 inline ResponsePartitionKey& AddDimensions(const Aws::String& key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, std::move(value)); return *this; }
57 inline ResponsePartitionKey& AddDimensions(Aws::String&& key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), std::move(value)); return *this; }
58 inline ResponsePartitionKey& AddDimensions(const char* key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, std::move(value)); return *this; }
59 inline ResponsePartitionKey& AddDimensions(Aws::String&& key, const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), value); return *this; }
60 inline ResponsePartitionKey& AddDimensions(const char* key, const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, value); return *this; }
62 private:
63
65 bool m_dimensionsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace PI
70} // namespace Aws
ResponsePartitionKey & WithDimensions(Aws::Map< Aws::String, Aws::String > &&value)
ResponsePartitionKey & AddDimensions(Aws::String &&key, Aws::String &&value)
AWS_PI_API ResponsePartitionKey & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetDimensions() const
AWS_PI_API ResponsePartitionKey(Aws::Utils::Json::JsonView jsonValue)
ResponsePartitionKey & AddDimensions(Aws::String &&key, const Aws::String &value)
ResponsePartitionKey & AddDimensions(const char *key, const char *value)
ResponsePartitionKey & AddDimensions(const Aws::String &key, const Aws::String &value)
ResponsePartitionKey & WithDimensions(const Aws::Map< Aws::String, Aws::String > &value)
ResponsePartitionKey & AddDimensions(const Aws::String &key, Aws::String &&value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDimensions(Aws::Map< Aws::String, Aws::String > &&value)
void SetDimensions(const Aws::Map< Aws::String, Aws::String > &value)
ResponsePartitionKey & AddDimensions(const char *key, Aws::String &&value)
ResponsePartitionKey & AddDimensions(Aws::String &&key, const char *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