/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The criteria to use in the filter that defines the archive rule. For more
* information on available filter keys, see IAM
* Access Analyzer filter keys.See Also:
AWS
* API Reference
An "equals" operator to match for the filter used to create the rule.
*/ inline const Aws::VectorAn "equals" operator to match for the filter used to create the rule.
*/ inline bool EqHasBeenSet() const { return m_eqHasBeenSet; } /** *An "equals" operator to match for the filter used to create the rule.
*/ inline void SetEq(const Aws::VectorAn "equals" operator to match for the filter used to create the rule.
*/ inline void SetEq(Aws::VectorAn "equals" operator to match for the filter used to create the rule.
*/ inline Criterion& WithEq(const Aws::VectorAn "equals" operator to match for the filter used to create the rule.
*/ inline Criterion& WithEq(Aws::VectorAn "equals" operator to match for the filter used to create the rule.
*/ inline Criterion& AddEq(const Aws::String& value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; } /** *An "equals" operator to match for the filter used to create the rule.
*/ inline Criterion& AddEq(Aws::String&& value) { m_eqHasBeenSet = true; m_eq.push_back(std::move(value)); return *this; } /** *An "equals" operator to match for the filter used to create the rule.
*/ inline Criterion& AddEq(const char* value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; } /** *A "not equals" operator to match for the filter used to create the rule.
*/ inline const Aws::VectorA "not equals" operator to match for the filter used to create the rule.
*/ inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; } /** *A "not equals" operator to match for the filter used to create the rule.
*/ inline void SetNeq(const Aws::VectorA "not equals" operator to match for the filter used to create the rule.
*/ inline void SetNeq(Aws::VectorA "not equals" operator to match for the filter used to create the rule.
*/ inline Criterion& WithNeq(const Aws::VectorA "not equals" operator to match for the filter used to create the rule.
*/ inline Criterion& WithNeq(Aws::VectorA "not equals" operator to match for the filter used to create the rule.
*/ inline Criterion& AddNeq(const Aws::String& value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; } /** *A "not equals" operator to match for the filter used to create the rule.
*/ inline Criterion& AddNeq(Aws::String&& value) { m_neqHasBeenSet = true; m_neq.push_back(std::move(value)); return *this; } /** *A "not equals" operator to match for the filter used to create the rule.
*/ inline Criterion& AddNeq(const char* value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; } /** *A "contains" operator to match for the filter used to create the rule.
*/ inline const Aws::VectorA "contains" operator to match for the filter used to create the rule.
*/ inline bool ContainsHasBeenSet() const { return m_containsHasBeenSet; } /** *A "contains" operator to match for the filter used to create the rule.
*/ inline void SetContains(const Aws::VectorA "contains" operator to match for the filter used to create the rule.
*/ inline void SetContains(Aws::VectorA "contains" operator to match for the filter used to create the rule.
*/ inline Criterion& WithContains(const Aws::VectorA "contains" operator to match for the filter used to create the rule.
*/ inline Criterion& WithContains(Aws::VectorA "contains" operator to match for the filter used to create the rule.
*/ inline Criterion& AddContains(const Aws::String& value) { m_containsHasBeenSet = true; m_contains.push_back(value); return *this; } /** *A "contains" operator to match for the filter used to create the rule.
*/ inline Criterion& AddContains(Aws::String&& value) { m_containsHasBeenSet = true; m_contains.push_back(std::move(value)); return *this; } /** *A "contains" operator to match for the filter used to create the rule.
*/ inline Criterion& AddContains(const char* value) { m_containsHasBeenSet = true; m_contains.push_back(value); return *this; } /** *An "exists" operator to match for the filter used to create the rule.
*/ inline bool GetExists() const{ return m_exists; } /** *An "exists" operator to match for the filter used to create the rule.
*/ inline bool ExistsHasBeenSet() const { return m_existsHasBeenSet; } /** *An "exists" operator to match for the filter used to create the rule.
*/ inline void SetExists(bool value) { m_existsHasBeenSet = true; m_exists = value; } /** *An "exists" operator to match for the filter used to create the rule.
*/ inline Criterion& WithExists(bool value) { SetExists(value); return *this;} private: Aws::Vector