AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TabularConditions.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/model/OrderBy.h>
10#include <aws/iottwinmaker/model/PropertyFilter.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
34 {
35 public:
36 AWS_IOTTWINMAKER_API TabularConditions() = default;
37 AWS_IOTTWINMAKER_API TabularConditions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API TabularConditions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<OrderBy>& GetOrderBy() const { return m_orderBy; }
48 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
49 template<typename OrderByT = Aws::Vector<OrderBy>>
50 void SetOrderBy(OrderByT&& value) { m_orderByHasBeenSet = true; m_orderBy = std::forward<OrderByT>(value); }
51 template<typename OrderByT = Aws::Vector<OrderBy>>
52 TabularConditions& WithOrderBy(OrderByT&& value) { SetOrderBy(std::forward<OrderByT>(value)); return *this;}
53 template<typename OrderByT = OrderBy>
54 TabularConditions& AddOrderBy(OrderByT&& value) { m_orderByHasBeenSet = true; m_orderBy.emplace_back(std::forward<OrderByT>(value)); return *this; }
56
58
63 inline const Aws::Vector<PropertyFilter>& GetPropertyFilters() const { return m_propertyFilters; }
64 inline bool PropertyFiltersHasBeenSet() const { return m_propertyFiltersHasBeenSet; }
65 template<typename PropertyFiltersT = Aws::Vector<PropertyFilter>>
66 void SetPropertyFilters(PropertyFiltersT&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = std::forward<PropertyFiltersT>(value); }
67 template<typename PropertyFiltersT = Aws::Vector<PropertyFilter>>
68 TabularConditions& WithPropertyFilters(PropertyFiltersT&& value) { SetPropertyFilters(std::forward<PropertyFiltersT>(value)); return *this;}
69 template<typename PropertyFiltersT = PropertyFilter>
70 TabularConditions& AddPropertyFilters(PropertyFiltersT&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.emplace_back(std::forward<PropertyFiltersT>(value)); return *this; }
72 private:
73
74 Aws::Vector<OrderBy> m_orderBy;
75 bool m_orderByHasBeenSet = false;
76
77 Aws::Vector<PropertyFilter> m_propertyFilters;
78 bool m_propertyFiltersHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoTTwinMaker
83} // 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