/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A multi-expression that searches for the specified resource or resources in a
* search. All resource objects that satisfy the expression's condition are
* included in the search results. You must specify at least one subexpression,
* filter, or nested filter. A A A list of A list of
* A list of A
* Boolean operator: SearchExpression
can contain up to
* twenty elements.SearchExpression
contains the following
* components:
Filter
objects. Each filter
* defines a simple Boolean expression comprised of a resource property name,
* Boolean operator, and value.NestedFilter
objects. Each nested filter defines a list of Boolean
* expressions using a list of resource properties. A nested filter is satisfied if
* a single object in the list satisfies all Boolean expressions.SearchExpression
objects. A search expression object
* can be nested in a list of search expression objects.And
or Or
.See
* Also:
AWS
* API Reference
A list of filter objects.
*/ inline const Aws::VectorA list of filter objects.
*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *A list of filter objects.
*/ inline void SetFilters(const Aws::VectorA list of filter objects.
*/ inline void SetFilters(Aws::VectorA list of filter objects.
*/ inline SearchExpression& WithFilters(const Aws::VectorA list of filter objects.
*/ inline SearchExpression& WithFilters(Aws::VectorA list of filter objects.
*/ inline SearchExpression& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *A list of filter objects.
*/ inline SearchExpression& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *A list of nested filter objects.
*/ inline const Aws::VectorA list of nested filter objects.
*/ inline bool NestedFiltersHasBeenSet() const { return m_nestedFiltersHasBeenSet; } /** *A list of nested filter objects.
*/ inline void SetNestedFilters(const Aws::VectorA list of nested filter objects.
*/ inline void SetNestedFilters(Aws::VectorA list of nested filter objects.
*/ inline SearchExpression& WithNestedFilters(const Aws::VectorA list of nested filter objects.
*/ inline SearchExpression& WithNestedFilters(Aws::VectorA list of nested filter objects.
*/ inline SearchExpression& AddNestedFilters(const NestedFilters& value) { m_nestedFiltersHasBeenSet = true; m_nestedFilters.push_back(value); return *this; } /** *A list of nested filter objects.
*/ inline SearchExpression& AddNestedFilters(NestedFilters&& value) { m_nestedFiltersHasBeenSet = true; m_nestedFilters.push_back(std::move(value)); return *this; } /** *A list of search expression objects.
*/ inline const Aws::VectorA list of search expression objects.
*/ inline bool SubExpressionsHasBeenSet() const { return m_subExpressionsHasBeenSet; } /** *A list of search expression objects.
*/ inline void SetSubExpressions(const Aws::VectorA list of search expression objects.
*/ inline void SetSubExpressions(Aws::VectorA list of search expression objects.
*/ inline SearchExpression& WithSubExpressions(const Aws::VectorA list of search expression objects.
*/ inline SearchExpression& WithSubExpressions(Aws::VectorA list of search expression objects.
*/ inline SearchExpression& AddSubExpressions(const SearchExpression& value) { m_subExpressionsHasBeenSet = true; m_subExpressions.push_back(value); return *this; } /** *A list of search expression objects.
*/ inline SearchExpression& AddSubExpressions(SearchExpression&& value) { m_subExpressionsHasBeenSet = true; m_subExpressions.push_back(std::move(value)); return *this; } /** *A Boolean operator used to evaluate the search expression. If you want every
* conditional statement in all lists to be satisfied for the entire search
* expression to be true, specify And
. If only a single conditional
* statement needs to be true for the entire search expression to be true, specify
* Or
. The default value is And
.
A Boolean operator used to evaluate the search expression. If you want every
* conditional statement in all lists to be satisfied for the entire search
* expression to be true, specify And
. If only a single conditional
* statement needs to be true for the entire search expression to be true, specify
* Or
. The default value is And
.
A Boolean operator used to evaluate the search expression. If you want every
* conditional statement in all lists to be satisfied for the entire search
* expression to be true, specify And
. If only a single conditional
* statement needs to be true for the entire search expression to be true, specify
* Or
. The default value is And
.
A Boolean operator used to evaluate the search expression. If you want every
* conditional statement in all lists to be satisfied for the entire search
* expression to be true, specify And
. If only a single conditional
* statement needs to be true for the entire search expression to be true, specify
* Or
. The default value is And
.
A Boolean operator used to evaluate the search expression. If you want every
* conditional statement in all lists to be satisfied for the entire search
* expression to be true, specify And
. If only a single conditional
* statement needs to be true for the entire search expression to be true, specify
* Or
. The default value is And
.
A Boolean operator used to evaluate the search expression. If you want every
* conditional statement in all lists to be satisfied for the entire search
* expression to be true, specify And
. If only a single conditional
* statement needs to be true for the entire search expression to be true, specify
* Or
. The default value is And
.