AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyValueHistory.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
35 {
36 public:
37 AWS_IOTTWINMAKER_API PropertyValueHistory();
38 AWS_IOTTWINMAKER_API PropertyValueHistory(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const EntityPropertyReference& GetEntityPropertyReference() const{ return m_entityPropertyReference; }
48 inline bool EntityPropertyReferenceHasBeenSet() const { return m_entityPropertyReferenceHasBeenSet; }
49 inline void SetEntityPropertyReference(const EntityPropertyReference& value) { m_entityPropertyReferenceHasBeenSet = true; m_entityPropertyReference = value; }
50 inline void SetEntityPropertyReference(EntityPropertyReference&& value) { m_entityPropertyReferenceHasBeenSet = true; m_entityPropertyReference = std::move(value); }
54
56
60 inline const Aws::Vector<PropertyValue>& GetValues() const{ return m_values; }
61 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
62 inline void SetValues(const Aws::Vector<PropertyValue>& value) { m_valuesHasBeenSet = true; m_values = value; }
63 inline void SetValues(Aws::Vector<PropertyValue>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
64 inline PropertyValueHistory& WithValues(const Aws::Vector<PropertyValue>& value) { SetValues(value); return *this;}
65 inline PropertyValueHistory& WithValues(Aws::Vector<PropertyValue>&& value) { SetValues(std::move(value)); return *this;}
66 inline PropertyValueHistory& AddValues(const PropertyValue& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
67 inline PropertyValueHistory& AddValues(PropertyValue&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
69 private:
70
71 EntityPropertyReference m_entityPropertyReference;
72 bool m_entityPropertyReferenceHasBeenSet = false;
73
75 bool m_valuesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IoTTwinMaker
80} // namespace Aws
void SetValues(Aws::Vector< PropertyValue > &&value)
void SetEntityPropertyReference(EntityPropertyReference &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PropertyValueHistory & WithValues(Aws::Vector< PropertyValue > &&value)
AWS_IOTTWINMAKER_API PropertyValueHistory(Aws::Utils::Json::JsonView jsonValue)
PropertyValueHistory & WithEntityPropertyReference(const EntityPropertyReference &value)
void SetValues(const Aws::Vector< PropertyValue > &value)
PropertyValueHistory & AddValues(PropertyValue &&value)
PropertyValueHistory & WithEntityPropertyReference(EntityPropertyReference &&value)
PropertyValueHistory & AddValues(const PropertyValue &value)
const Aws::Vector< PropertyValue > & GetValues() const
PropertyValueHistory & WithValues(const Aws::Vector< PropertyValue > &value)
void SetEntityPropertyReference(const EntityPropertyReference &value)
AWS_IOTTWINMAKER_API PropertyValueHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
const EntityPropertyReference & GetEntityPropertyReference() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue