AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContextDefinition.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/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 VerifiedPermissions
24{
25namespace Model
26{
27
45 {
46 public:
47 AWS_VERIFIEDPERMISSIONS_API ContextDefinition();
48 AWS_VERIFIEDPERMISSIONS_API ContextDefinition(Aws::Utils::Json::JsonView jsonValue);
49 AWS_VERIFIEDPERMISSIONS_API ContextDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
61 inline const Aws::Map<Aws::String, AttributeValue>& GetContextMap() const{ return m_contextMap; }
62 inline bool ContextMapHasBeenSet() const { return m_contextMapHasBeenSet; }
63 inline void SetContextMap(const Aws::Map<Aws::String, AttributeValue>& value) { m_contextMapHasBeenSet = true; m_contextMap = value; }
64 inline void SetContextMap(Aws::Map<Aws::String, AttributeValue>&& value) { m_contextMapHasBeenSet = true; m_contextMap = std::move(value); }
66 inline ContextDefinition& WithContextMap(Aws::Map<Aws::String, AttributeValue>&& value) { SetContextMap(std::move(value)); return *this;}
67 inline ContextDefinition& AddContextMap(const Aws::String& key, const AttributeValue& value) { m_contextMapHasBeenSet = true; m_contextMap.emplace(key, value); return *this; }
68 inline ContextDefinition& AddContextMap(Aws::String&& key, const AttributeValue& value) { m_contextMapHasBeenSet = true; m_contextMap.emplace(std::move(key), value); return *this; }
69 inline ContextDefinition& AddContextMap(const Aws::String& key, AttributeValue&& value) { m_contextMapHasBeenSet = true; m_contextMap.emplace(key, std::move(value)); return *this; }
70 inline ContextDefinition& AddContextMap(Aws::String&& key, AttributeValue&& value) { m_contextMapHasBeenSet = true; m_contextMap.emplace(std::move(key), std::move(value)); return *this; }
71 inline ContextDefinition& AddContextMap(const char* key, AttributeValue&& value) { m_contextMapHasBeenSet = true; m_contextMap.emplace(key, std::move(value)); return *this; }
72 inline ContextDefinition& AddContextMap(const char* key, const AttributeValue& value) { m_contextMapHasBeenSet = true; m_contextMap.emplace(key, value); return *this; }
74 private:
75
77 bool m_contextMapHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace VerifiedPermissions
82} // namespace Aws
ContextDefinition & WithContextMap(const Aws::Map< Aws::String, AttributeValue > &value)
ContextDefinition & WithContextMap(Aws::Map< Aws::String, AttributeValue > &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ContextDefinition & AddContextMap(const char *key, AttributeValue &&value)
ContextDefinition & AddContextMap(Aws::String &&key, AttributeValue &&value)
void SetContextMap(const Aws::Map< Aws::String, AttributeValue > &value)
ContextDefinition & AddContextMap(const Aws::String &key, AttributeValue &&value)
AWS_VERIFIEDPERMISSIONS_API ContextDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API ContextDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API ContextDefinition()
const Aws::Map< Aws::String, AttributeValue > & GetContextMap() const
ContextDefinition & AddContextMap(Aws::String &&key, const AttributeValue &value)
void SetContextMap(Aws::Map< Aws::String, AttributeValue > &&value)
ContextDefinition & AddContextMap(const char *key, const AttributeValue &value)
ContextDefinition & AddContextMap(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