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

Specifies the operator to use in a property-based condition that filters the * results of a query for findings.

See Also:

AWS * API Reference

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

An equal to condition to apply to a specified property value for * findings.

*/ inline const Aws::Vector& GetEq() const{ return m_eq; } /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline bool EqHasBeenSet() const { return m_eqHasBeenSet; } /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline void SetEq(const Aws::Vector& value) { m_eqHasBeenSet = true; m_eq = value; } /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline void SetEq(Aws::Vector&& value) { m_eqHasBeenSet = true; m_eq = std::move(value); } /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& WithEq(const Aws::Vector& value) { SetEq(value); return *this;} /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& WithEq(Aws::Vector&& value) { SetEq(std::move(value)); return *this;} /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& AddEq(const Aws::String& value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; } /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& AddEq(Aws::String&& value) { m_eqHasBeenSet = true; m_eq.push_back(std::move(value)); return *this; } /** *

An equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& AddEq(const char* value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; } /** *

A greater than condition to apply to a specified property value for * findings.

*/ inline long long GetGt() const{ return m_gt; } /** *

A greater than condition to apply to a specified property value for * findings.

*/ inline bool GtHasBeenSet() const { return m_gtHasBeenSet; } /** *

A greater than condition to apply to a specified property value for * findings.

*/ inline void SetGt(long long value) { m_gtHasBeenSet = true; m_gt = value; } /** *

A greater than condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& WithGt(long long value) { SetGt(value); return *this;} /** *

A greater than or equal to condition to apply to a specified property value * for findings.

*/ inline long long GetGte() const{ return m_gte; } /** *

A greater than or equal to condition to apply to a specified property value * for findings.

*/ inline bool GteHasBeenSet() const { return m_gteHasBeenSet; } /** *

A greater than or equal to condition to apply to a specified property value * for findings.

*/ inline void SetGte(long long value) { m_gteHasBeenSet = true; m_gte = value; } /** *

A greater than or equal to condition to apply to a specified property value * for findings.

*/ inline CriterionAdditionalProperties& WithGte(long long value) { SetGte(value); return *this;} /** *

A less than condition to apply to a specified property value for * findings.

*/ inline long long GetLt() const{ return m_lt; } /** *

A less than condition to apply to a specified property value for * findings.

*/ inline bool LtHasBeenSet() const { return m_ltHasBeenSet; } /** *

A less than condition to apply to a specified property value for * findings.

*/ inline void SetLt(long long value) { m_ltHasBeenSet = true; m_lt = value; } /** *

A less than condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& WithLt(long long value) { SetLt(value); return *this;} /** *

A less than or equal to condition to apply to a specified property value for * findings.

*/ inline long long GetLte() const{ return m_lte; } /** *

A less than or equal to condition to apply to a specified property value for * findings.

*/ inline bool LteHasBeenSet() const { return m_lteHasBeenSet; } /** *

A less than or equal to condition to apply to a specified property value for * findings.

*/ inline void SetLte(long long value) { m_lteHasBeenSet = true; m_lte = value; } /** *

A less than or equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& WithLte(long long value) { SetLte(value); return *this;} /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline const Aws::Vector& GetNeq() const{ return m_neq; } /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; } /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline void SetNeq(const Aws::Vector& value) { m_neqHasBeenSet = true; m_neq = value; } /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline void SetNeq(Aws::Vector&& value) { m_neqHasBeenSet = true; m_neq = std::move(value); } /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& WithNeq(const Aws::Vector& value) { SetNeq(value); return *this;} /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& WithNeq(Aws::Vector&& value) { SetNeq(std::move(value)); return *this;} /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& AddNeq(const Aws::String& value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; } /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& AddNeq(Aws::String&& value) { m_neqHasBeenSet = true; m_neq.push_back(std::move(value)); return *this; } /** *

A not equal to condition to apply to a specified property value for * findings.

*/ inline CriterionAdditionalProperties& AddNeq(const char* value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; } private: Aws::Vector m_eq; bool m_eqHasBeenSet; long long m_gt; bool m_gtHasBeenSet; long long m_gte; bool m_gteHasBeenSet; long long m_lt; bool m_ltHasBeenSet; long long m_lte; bool m_lteHasBeenSet; Aws::Vector m_neq; bool m_neqHasBeenSet; }; } // namespace Model } // namespace Macie2 } // namespace Aws