AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
44 inline const Aws::Map<Aws::String, PropertyLatestValue>& GetPropertyValues() const { return m_propertyValues; }
45 template<typename PropertyValuesT = Aws::Map<Aws::String, PropertyLatestValue>>
46 void SetPropertyValues(PropertyValuesT&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = std::forward<PropertyValuesT>(value); }
47 template<typename PropertyValuesT = Aws::Map<Aws::String, PropertyLatestValue>>
48 GetPropertyValueResult& WithPropertyValues(PropertyValuesT&& value) { SetPropertyValues(std::forward<PropertyValuesT>(value)); return *this;}
49 template<typename PropertyValuesKeyT = Aws::String, typename PropertyValuesValueT = PropertyLatestValue>
50 GetPropertyValueResult& AddPropertyValues(PropertyValuesKeyT&& key, PropertyValuesValueT&& value) {
51 m_propertyValuesHasBeenSet = true; m_propertyValues.emplace(std::forward<PropertyValuesKeyT>(key), std::forward<PropertyValuesValueT>(value)); return *this;
52 }
54
56
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template<typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<typename NextTokenT = Aws::String>
63 GetPropertyValueResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
65
67
70 inline const Aws::Vector<Aws::Vector<Aws::Map<Aws::String, DataValue>>>& GetTabularPropertyValues() const { return m_tabularPropertyValues; }
71 template<typename TabularPropertyValuesT = Aws::Vector<Aws::Vector<Aws::Map<Aws::String, DataValue>>>>
72 void SetTabularPropertyValues(TabularPropertyValuesT&& value) { m_tabularPropertyValuesHasBeenSet = true; m_tabularPropertyValues = std::forward<TabularPropertyValuesT>(value); }
73 template<typename TabularPropertyValuesT = Aws::Vector<Aws::Vector<Aws::Map<Aws::String, DataValue>>>>
74 GetPropertyValueResult& WithTabularPropertyValues(TabularPropertyValuesT&& value) { SetTabularPropertyValues(std::forward<TabularPropertyValuesT>(value)); return *this;}
75 template<typename TabularPropertyValuesT = Aws::Vector<Aws::Map<Aws::String, DataValue>>>
76 GetPropertyValueResult& AddTabularPropertyValues(TabularPropertyValuesT&& value) { m_tabularPropertyValuesHasBeenSet = true; m_tabularPropertyValues.emplace_back(std::forward<TabularPropertyValuesT>(value)); return *this; }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 GetPropertyValueResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
90 bool m_propertyValuesHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
96 bool m_tabularPropertyValuesHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IoTTwinMaker
104} // namespace Aws
GetPropertyValueResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< Aws::Vector< Aws::Map< Aws::String, DataValue > > > & GetTabularPropertyValues() const
GetPropertyValueResult & AddPropertyValues(PropertyValuesKeyT &&key, PropertyValuesValueT &&value)
void SetTabularPropertyValues(TabularPropertyValuesT &&value)
AWS_IOTTWINMAKER_API GetPropertyValueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertyValueResult & WithTabularPropertyValues(TabularPropertyValuesT &&value)
GetPropertyValueResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, PropertyLatestValue > & GetPropertyValues() const
AWS_IOTTWINMAKER_API GetPropertyValueResult()=default
AWS_IOTTWINMAKER_API GetPropertyValueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertyValueResult & WithPropertyValues(PropertyValuesT &&value)
GetPropertyValueResult & AddTabularPropertyValues(TabularPropertyValuesT &&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