/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTTwinMaker { namespace Model { /** *

The tabular conditions.

See Also:

AWS * API Reference

*/ class TabularConditions { public: AWS_IOTTWINMAKER_API TabularConditions(); AWS_IOTTWINMAKER_API TabularConditions(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API TabularConditions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline const Aws::Vector& GetOrderBy() const{ return m_orderBy; } /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; } /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline void SetOrderBy(const Aws::Vector& value) { m_orderByHasBeenSet = true; m_orderBy = value; } /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline void SetOrderBy(Aws::Vector&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); } /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline TabularConditions& WithOrderBy(const Aws::Vector& value) { SetOrderBy(value); return *this;} /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline TabularConditions& WithOrderBy(Aws::Vector&& value) { SetOrderBy(std::move(value)); return *this;} /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline TabularConditions& AddOrderBy(const OrderBy& value) { m_orderByHasBeenSet = true; m_orderBy.push_back(value); return *this; } /** *

Filter criteria that orders the output. It can be sorted in ascending or * descending order.

*/ inline TabularConditions& AddOrderBy(OrderBy&& value) { m_orderByHasBeenSet = true; m_orderBy.push_back(std::move(value)); return *this; } /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline const Aws::Vector& GetPropertyFilters() const{ return m_propertyFilters; } /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline bool PropertyFiltersHasBeenSet() const { return m_propertyFiltersHasBeenSet; } /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline void SetPropertyFilters(const Aws::Vector& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = value; } /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline void SetPropertyFilters(Aws::Vector&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = std::move(value); } /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline TabularConditions& WithPropertyFilters(const Aws::Vector& value) { SetPropertyFilters(value); return *this;} /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline TabularConditions& WithPropertyFilters(Aws::Vector&& value) { SetPropertyFilters(std::move(value)); return *this;} /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline TabularConditions& AddPropertyFilters(const PropertyFilter& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.push_back(value); return *this; } /** *

You can filter the request using various logical operators and a key-value * format. For example:

{"key": "serverType", "value": * "webServer"}

*/ inline TabularConditions& AddPropertyFilters(PropertyFilter&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.push_back(std::move(value)); return *this; } private: Aws::Vector m_orderBy; bool m_orderByHasBeenSet = false; Aws::Vector m_propertyFilters; bool m_propertyFiltersHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws