AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPropertyValueResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iottwinmaker/model/PropertyLatestValue.h>
12#include <aws/iottwinmaker/model/DataValue.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTTwinMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTTWINMAKER_API GetPropertyValueResult();
37
38
40
44 inline const Aws::Map<Aws::String, PropertyLatestValue>& GetPropertyValues() const{ return m_propertyValues; }
45 inline void SetPropertyValues(const Aws::Map<Aws::String, PropertyLatestValue>& value) { m_propertyValues = value; }
46 inline void SetPropertyValues(Aws::Map<Aws::String, PropertyLatestValue>&& value) { m_propertyValues = std::move(value); }
49 inline GetPropertyValueResult& AddPropertyValues(const Aws::String& key, const PropertyLatestValue& value) { m_propertyValues.emplace(key, value); return *this; }
50 inline GetPropertyValueResult& AddPropertyValues(Aws::String&& key, const PropertyLatestValue& value) { m_propertyValues.emplace(std::move(key), value); return *this; }
51 inline GetPropertyValueResult& AddPropertyValues(const Aws::String& key, PropertyLatestValue&& value) { m_propertyValues.emplace(key, std::move(value)); return *this; }
52 inline GetPropertyValueResult& AddPropertyValues(Aws::String&& key, PropertyLatestValue&& value) { m_propertyValues.emplace(std::move(key), std::move(value)); return *this; }
53 inline GetPropertyValueResult& AddPropertyValues(const char* key, PropertyLatestValue&& value) { m_propertyValues.emplace(key, std::move(value)); return *this; }
54 inline GetPropertyValueResult& AddPropertyValues(const char* key, const PropertyLatestValue& value) { m_propertyValues.emplace(key, value); return *this; }
56
58
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
65 inline GetPropertyValueResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline GetPropertyValueResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline GetPropertyValueResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
74 inline const Aws::Vector<Aws::Vector<Aws::Map<Aws::String, DataValue>>>& GetTabularPropertyValues() const{ return m_tabularPropertyValues; }
75 inline void SetTabularPropertyValues(const Aws::Vector<Aws::Vector<Aws::Map<Aws::String, DataValue>>>& value) { m_tabularPropertyValues = value; }
76 inline void SetTabularPropertyValues(Aws::Vector<Aws::Vector<Aws::Map<Aws::String, DataValue>>>&& value) { m_tabularPropertyValues = std::move(value); }
79 inline GetPropertyValueResult& AddTabularPropertyValues(const Aws::Vector<Aws::Map<Aws::String, DataValue>>& value) { m_tabularPropertyValues.push_back(value); return *this; }
80 inline GetPropertyValueResult& AddTabularPropertyValues(Aws::Vector<Aws::Map<Aws::String, DataValue>>&& value) { m_tabularPropertyValues.push_back(std::move(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline GetPropertyValueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline GetPropertyValueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline GetPropertyValueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
96
97 Aws::String m_nextToken;
98
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace IoTTwinMaker
106} // namespace Aws
GetPropertyValueResult & WithNextToken(const Aws::String &value)
const Aws::Vector< Aws::Vector< Aws::Map< Aws::String, DataValue > > > & GetTabularPropertyValues() const
GetPropertyValueResult & WithNextToken(Aws::String &&value)
GetPropertyValueResult & AddPropertyValues(const Aws::String &key, PropertyLatestValue &&value)
void SetTabularPropertyValues(const Aws::Vector< Aws::Vector< Aws::Map< Aws::String, DataValue > > > &value)
GetPropertyValueResult & AddPropertyValues(const Aws::String &key, const PropertyLatestValue &value)
void SetTabularPropertyValues(Aws::Vector< Aws::Vector< Aws::Map< Aws::String, DataValue > > > &&value)
GetPropertyValueResult & AddPropertyValues(const char *key, PropertyLatestValue &&value)
GetPropertyValueResult & WithTabularPropertyValues(Aws::Vector< Aws::Vector< Aws::Map< Aws::String, DataValue > > > &&value)
GetPropertyValueResult & WithNextToken(const char *value)
GetPropertyValueResult & AddTabularPropertyValues(Aws::Vector< Aws::Map< Aws::String, DataValue > > &&value)
GetPropertyValueResult & WithRequestId(const Aws::String &value)
void SetPropertyValues(const Aws::Map< Aws::String, PropertyLatestValue > &value)
AWS_IOTTWINMAKER_API GetPropertyValueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertyValueResult & WithPropertyValues(Aws::Map< Aws::String, PropertyLatestValue > &&value)
GetPropertyValueResult & AddTabularPropertyValues(const Aws::Vector< Aws::Map< Aws::String, DataValue > > &value)
GetPropertyValueResult & AddPropertyValues(const char *key, const PropertyLatestValue &value)
GetPropertyValueResult & WithRequestId(const char *value)
GetPropertyValueResult & AddPropertyValues(Aws::String &&key, PropertyLatestValue &&value)
const Aws::Map< Aws::String, PropertyLatestValue > & GetPropertyValues() const
void SetPropertyValues(Aws::Map< Aws::String, PropertyLatestValue > &&value)
GetPropertyValueResult & AddPropertyValues(Aws::String &&key, const PropertyLatestValue &value)
GetPropertyValueResult & WithPropertyValues(const Aws::Map< Aws::String, PropertyLatestValue > &value)
GetPropertyValueResult & WithTabularPropertyValues(const Aws::Vector< Aws::Vector< Aws::Map< Aws::String, DataValue > > > &value)
AWS_IOTTWINMAKER_API GetPropertyValueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertyValueResult & WithRequestId(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue