AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntityPropertyReference.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 IoTTwinMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTTWINMAKER_API EntityPropertyReference();
37 AWS_IOTTWINMAKER_API EntityPropertyReference(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetComponentName() const{ return m_componentName; }
47 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
48 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
49 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
50 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
51 inline EntityPropertyReference& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
52 inline EntityPropertyReference& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
53 inline EntityPropertyReference& WithComponentName(const char* value) { SetComponentName(value); return *this;}
55
57
61 inline const Aws::String& GetComponentPath() const{ return m_componentPath; }
62 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
63 inline void SetComponentPath(const Aws::String& value) { m_componentPathHasBeenSet = true; m_componentPath = value; }
64 inline void SetComponentPath(Aws::String&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::move(value); }
65 inline void SetComponentPath(const char* value) { m_componentPathHasBeenSet = true; m_componentPath.assign(value); }
66 inline EntityPropertyReference& WithComponentPath(const Aws::String& value) { SetComponentPath(value); return *this;}
67 inline EntityPropertyReference& WithComponentPath(Aws::String&& value) { SetComponentPath(std::move(value)); return *this;}
68 inline EntityPropertyReference& WithComponentPath(const char* value) { SetComponentPath(value); return *this;}
70
72
76 inline const Aws::Map<Aws::String, Aws::String>& GetExternalIdProperty() const{ return m_externalIdProperty; }
77 inline bool ExternalIdPropertyHasBeenSet() const { return m_externalIdPropertyHasBeenSet; }
78 inline void SetExternalIdProperty(const Aws::Map<Aws::String, Aws::String>& value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty = value; }
79 inline void SetExternalIdProperty(Aws::Map<Aws::String, Aws::String>&& value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty = std::move(value); }
82 inline EntityPropertyReference& AddExternalIdProperty(const Aws::String& key, const Aws::String& value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty.emplace(key, value); return *this; }
83 inline EntityPropertyReference& AddExternalIdProperty(Aws::String&& key, const Aws::String& value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty.emplace(std::move(key), value); return *this; }
84 inline EntityPropertyReference& AddExternalIdProperty(const Aws::String& key, Aws::String&& value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty.emplace(key, std::move(value)); return *this; }
85 inline EntityPropertyReference& AddExternalIdProperty(Aws::String&& key, Aws::String&& value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty.emplace(std::move(key), std::move(value)); return *this; }
86 inline EntityPropertyReference& AddExternalIdProperty(const char* key, Aws::String&& value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty.emplace(key, std::move(value)); return *this; }
87 inline EntityPropertyReference& AddExternalIdProperty(Aws::String&& key, const char* value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty.emplace(std::move(key), value); return *this; }
88 inline EntityPropertyReference& AddExternalIdProperty(const char* key, const char* value) { m_externalIdPropertyHasBeenSet = true; m_externalIdProperty.emplace(key, value); return *this; }
90
92
95 inline const Aws::String& GetEntityId() const{ return m_entityId; }
96 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
97 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
98 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
99 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
100 inline EntityPropertyReference& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
101 inline EntityPropertyReference& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
102 inline EntityPropertyReference& WithEntityId(const char* value) { SetEntityId(value); return *this;}
104
106
109 inline const Aws::String& GetPropertyName() const{ return m_propertyName; }
110 inline bool PropertyNameHasBeenSet() const { return m_propertyNameHasBeenSet; }
111 inline void SetPropertyName(const Aws::String& value) { m_propertyNameHasBeenSet = true; m_propertyName = value; }
112 inline void SetPropertyName(Aws::String&& value) { m_propertyNameHasBeenSet = true; m_propertyName = std::move(value); }
113 inline void SetPropertyName(const char* value) { m_propertyNameHasBeenSet = true; m_propertyName.assign(value); }
114 inline EntityPropertyReference& WithPropertyName(const Aws::String& value) { SetPropertyName(value); return *this;}
115 inline EntityPropertyReference& WithPropertyName(Aws::String&& value) { SetPropertyName(std::move(value)); return *this;}
116 inline EntityPropertyReference& WithPropertyName(const char* value) { SetPropertyName(value); return *this;}
118 private:
119
120 Aws::String m_componentName;
121 bool m_componentNameHasBeenSet = false;
122
123 Aws::String m_componentPath;
124 bool m_componentPathHasBeenSet = false;
125
126 Aws::Map<Aws::String, Aws::String> m_externalIdProperty;
127 bool m_externalIdPropertyHasBeenSet = false;
128
129 Aws::String m_entityId;
130 bool m_entityIdHasBeenSet = false;
131
132 Aws::String m_propertyName;
133 bool m_propertyNameHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace IoTTwinMaker
138} // namespace Aws
EntityPropertyReference & WithEntityId(const char *value)
EntityPropertyReference & AddExternalIdProperty(const char *key, const char *value)
EntityPropertyReference & WithComponentPath(const char *value)
void SetExternalIdProperty(Aws::Map< Aws::String, Aws::String > &&value)
EntityPropertyReference & AddExternalIdProperty(const Aws::String &key, const Aws::String &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EntityPropertyReference & AddExternalIdProperty(Aws::String &&key, Aws::String &&value)
void SetExternalIdProperty(const Aws::Map< Aws::String, Aws::String > &value)
EntityPropertyReference & WithComponentPath(const Aws::String &value)
EntityPropertyReference & WithPropertyName(const char *value)
EntityPropertyReference & WithComponentName(Aws::String &&value)
EntityPropertyReference & WithPropertyName(Aws::String &&value)
EntityPropertyReference & AddExternalIdProperty(Aws::String &&key, const char *value)
AWS_IOTTWINMAKER_API EntityPropertyReference & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityPropertyReference & AddExternalIdProperty(const Aws::String &key, Aws::String &&value)
EntityPropertyReference & WithExternalIdProperty(Aws::Map< Aws::String, Aws::String > &&value)
EntityPropertyReference & WithEntityId(Aws::String &&value)
EntityPropertyReference & WithExternalIdProperty(const Aws::Map< Aws::String, Aws::String > &value)
EntityPropertyReference & AddExternalIdProperty(const char *key, Aws::String &&value)
EntityPropertyReference & WithComponentName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetExternalIdProperty() const
AWS_IOTTWINMAKER_API EntityPropertyReference(Aws::Utils::Json::JsonView jsonValue)
EntityPropertyReference & AddExternalIdProperty(Aws::String &&key, const Aws::String &value)
EntityPropertyReference & WithComponentPath(Aws::String &&value)
EntityPropertyReference & WithEntityId(const Aws::String &value)
EntityPropertyReference & WithComponentName(const Aws::String &value)
EntityPropertyReference & WithPropertyName(const Aws::String &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