AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
TabularConditions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
9#include <aws/iottwinmaker/model/OrderBy.h>
10#include <aws/iottwinmaker/model/PropertyFilter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTTwinMaker {
22namespace Model {
23
30 public:
31 AWS_IOTTWINMAKER_API TabularConditions() = default;
32 AWS_IOTTWINMAKER_API TabularConditions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTTWINMAKER_API TabularConditions& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<OrderBy>& GetOrderBy() const { return m_orderBy; }
42 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
43 template <typename OrderByT = Aws::Vector<OrderBy>>
44 void SetOrderBy(OrderByT&& value) {
45 m_orderByHasBeenSet = true;
46 m_orderBy = std::forward<OrderByT>(value);
47 }
48 template <typename OrderByT = Aws::Vector<OrderBy>>
49 TabularConditions& WithOrderBy(OrderByT&& value) {
50 SetOrderBy(std::forward<OrderByT>(value));
51 return *this;
52 }
53 template <typename OrderByT = OrderBy>
54 TabularConditions& AddOrderBy(OrderByT&& value) {
55 m_orderByHasBeenSet = true;
56 m_orderBy.emplace_back(std::forward<OrderByT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::Vector<PropertyFilter>& GetPropertyFilters() const { return m_propertyFilters; }
68 inline bool PropertyFiltersHasBeenSet() const { return m_propertyFiltersHasBeenSet; }
69 template <typename PropertyFiltersT = Aws::Vector<PropertyFilter>>
70 void SetPropertyFilters(PropertyFiltersT&& value) {
71 m_propertyFiltersHasBeenSet = true;
72 m_propertyFilters = std::forward<PropertyFiltersT>(value);
73 }
74 template <typename PropertyFiltersT = Aws::Vector<PropertyFilter>>
75 TabularConditions& WithPropertyFilters(PropertyFiltersT&& value) {
76 SetPropertyFilters(std::forward<PropertyFiltersT>(value));
77 return *this;
78 }
79 template <typename PropertyFiltersT = PropertyFilter>
80 TabularConditions& AddPropertyFilters(PropertyFiltersT&& value) {
81 m_propertyFiltersHasBeenSet = true;
82 m_propertyFilters.emplace_back(std::forward<PropertyFiltersT>(value));
83 return *this;
84 }
86 private:
87 Aws::Vector<OrderBy> m_orderBy;
88
89 Aws::Vector<PropertyFilter> m_propertyFilters;
90 bool m_orderByHasBeenSet = false;
91 bool m_propertyFiltersHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace IoTTwinMaker
96} // namespace Aws
const Aws::Vector< PropertyFilter > & GetPropertyFilters() const
TabularConditions & AddPropertyFilters(PropertyFiltersT &&value)
const Aws::Vector< OrderBy > & GetOrderBy() const
AWS_IOTTWINMAKER_API TabularConditions()=default
void SetPropertyFilters(PropertyFiltersT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API TabularConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API TabularConditions(Aws::Utils::Json::JsonView jsonValue)
TabularConditions & WithOrderBy(OrderByT &&value)
TabularConditions & AddOrderBy(OrderByT &&value)
TabularConditions & WithPropertyFilters(PropertyFiltersT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue