AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyValueEntry.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/EntityPropertyReference.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iottwinmaker/model/PropertyValue.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 IoTTwinMaker
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_IOTTWINMAKER_API PropertyValueEntry();
40 AWS_IOTTWINMAKER_API PropertyValueEntry(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const EntityPropertyReference& GetEntityPropertyReference() const{ return m_entityPropertyReference; }
51 inline bool EntityPropertyReferenceHasBeenSet() const { return m_entityPropertyReferenceHasBeenSet; }
52 inline void SetEntityPropertyReference(const EntityPropertyReference& value) { m_entityPropertyReferenceHasBeenSet = true; m_entityPropertyReference = value; }
53 inline void SetEntityPropertyReference(EntityPropertyReference&& value) { m_entityPropertyReferenceHasBeenSet = true; m_entityPropertyReference = std::move(value); }
57
59
62 inline const Aws::Vector<PropertyValue>& GetPropertyValues() const{ return m_propertyValues; }
63 inline bool PropertyValuesHasBeenSet() const { return m_propertyValuesHasBeenSet; }
64 inline void SetPropertyValues(const Aws::Vector<PropertyValue>& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = value; }
65 inline void SetPropertyValues(Aws::Vector<PropertyValue>&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = std::move(value); }
67 inline PropertyValueEntry& WithPropertyValues(Aws::Vector<PropertyValue>&& value) { SetPropertyValues(std::move(value)); return *this;}
68 inline PropertyValueEntry& AddPropertyValues(const PropertyValue& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(value); return *this; }
69 inline PropertyValueEntry& AddPropertyValues(PropertyValue&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(std::move(value)); return *this; }
71 private:
72
73 EntityPropertyReference m_entityPropertyReference;
74 bool m_entityPropertyReferenceHasBeenSet = false;
75
76 Aws::Vector<PropertyValue> m_propertyValues;
77 bool m_propertyValuesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoTTwinMaker
82} // namespace Aws
bool PropertyValuesHasBeenSet() const
AWS_IOTTWINMAKER_API PropertyValueEntry(Aws::Utils::Json::JsonView jsonValue)
bool EntityPropertyReferenceHasBeenSet() const
void SetEntityPropertyReference(const EntityPropertyReference &value)
void SetEntityPropertyReference(EntityPropertyReference &&value)
PropertyValueEntry & WithPropertyValues(Aws::Vector< PropertyValue > &&value)
PropertyValueEntry & WithEntityPropertyReference(const EntityPropertyReference &value)
const EntityPropertyReference & GetEntityPropertyReference() const
AWS_IOTTWINMAKER_API PropertyValueEntry()
const Aws::Vector< PropertyValue > & GetPropertyValues() const
void SetPropertyValues(const Aws::Vector< PropertyValue > &value)
PropertyValueEntry & WithEntityPropertyReference(EntityPropertyReference &&value)
AWS_IOTTWINMAKER_API PropertyValueEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyValueEntry & AddPropertyValues(const PropertyValue &value)
void SetPropertyValues(Aws::Vector< PropertyValue > &&value)
PropertyValueEntry & AddPropertyValues(PropertyValue &&value)
PropertyValueEntry & WithPropertyValues(const Aws::Vector< PropertyValue > &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue