AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VariableValue.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotsitewise/model/AssetModelPropertyPathSegment.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 IoTSiteWise
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTSITEWISE_API VariableValue();
38 AWS_IOTSITEWISE_API VariableValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API VariableValue& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
53 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
54 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
55 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
56 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
57 inline VariableValue& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
58 inline VariableValue& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
59 inline VariableValue& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
61
63
77 inline const Aws::String& GetHierarchyId() const{ return m_hierarchyId; }
78 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
79 inline void SetHierarchyId(const Aws::String& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = value; }
80 inline void SetHierarchyId(Aws::String&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::move(value); }
81 inline void SetHierarchyId(const char* value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId.assign(value); }
82 inline VariableValue& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;}
83 inline VariableValue& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;}
84 inline VariableValue& WithHierarchyId(const char* value) { SetHierarchyId(value); return *this;}
86
88
91 inline const Aws::Vector<AssetModelPropertyPathSegment>& GetPropertyPath() const{ return m_propertyPath; }
92 inline bool PropertyPathHasBeenSet() const { return m_propertyPathHasBeenSet; }
93 inline void SetPropertyPath(const Aws::Vector<AssetModelPropertyPathSegment>& value) { m_propertyPathHasBeenSet = true; m_propertyPath = value; }
94 inline void SetPropertyPath(Aws::Vector<AssetModelPropertyPathSegment>&& value) { m_propertyPathHasBeenSet = true; m_propertyPath = std::move(value); }
97 inline VariableValue& AddPropertyPath(const AssetModelPropertyPathSegment& value) { m_propertyPathHasBeenSet = true; m_propertyPath.push_back(value); return *this; }
98 inline VariableValue& AddPropertyPath(AssetModelPropertyPathSegment&& value) { m_propertyPathHasBeenSet = true; m_propertyPath.push_back(std::move(value)); return *this; }
100 private:
101
102 Aws::String m_propertyId;
103 bool m_propertyIdHasBeenSet = false;
104
105 Aws::String m_hierarchyId;
106 bool m_hierarchyIdHasBeenSet = false;
107
109 bool m_propertyPathHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace IoTSiteWise
114} // namespace Aws
VariableValue & AddPropertyPath(const AssetModelPropertyPathSegment &value)
VariableValue & AddPropertyPath(AssetModelPropertyPathSegment &&value)
VariableValue & WithHierarchyId(const Aws::String &value)
void SetPropertyId(const Aws::String &value)
VariableValue & WithHierarchyId(Aws::String &&value)
VariableValue & WithPropertyPath(const Aws::Vector< AssetModelPropertyPathSegment > &value)
const Aws::String & GetHierarchyId() const
AWS_IOTSITEWISE_API VariableValue(Aws::Utils::Json::JsonView jsonValue)
void SetHierarchyId(const Aws::String &value)
void SetPropertyId(Aws::String &&value)
const Aws::String & GetPropertyId() const
VariableValue & WithHierarchyId(const char *value)
void SetHierarchyId(const char *value)
VariableValue & WithPropertyPath(Aws::Vector< AssetModelPropertyPathSegment > &&value)
VariableValue & WithPropertyId(const char *value)
VariableValue & WithPropertyId(Aws::String &&value)
void SetPropertyPath(const Aws::Vector< AssetModelPropertyPathSegment > &value)
VariableValue & WithPropertyId(const Aws::String &value)
const Aws::Vector< AssetModelPropertyPathSegment > & GetPropertyPath() const
void SetPropertyPath(Aws::Vector< AssetModelPropertyPathSegment > &&value)
void SetHierarchyId(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API VariableValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue