/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about which resources to include or exclude from a
* backup plan using their tags. Conditions are case sensitive.See
* Also:
AWS
* API Reference
Filters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline const Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline bool StringEqualsHasBeenSet() const { return m_stringEqualsHasBeenSet; } /** *Filters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline void SetStringEquals(const Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline void SetStringEquals(Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline Conditions& WithStringEquals(const Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline Conditions& WithStringEquals(Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline Conditions& AddStringEquals(const ConditionParameter& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(value); return *this; } /** *Filters the values of your tagged resources for only those resources that you * tagged with the same value. Also called "exact matching."
*/ inline Conditions& AddStringEquals(ConditionParameter&& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(std::move(value)); return *this; } /** *Filters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline const Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline bool StringNotEqualsHasBeenSet() const { return m_stringNotEqualsHasBeenSet; } /** *Filters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline void SetStringNotEquals(const Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline void SetStringNotEquals(Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline Conditions& WithStringNotEquals(const Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline Conditions& WithStringNotEquals(Aws::VectorFilters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline Conditions& AddStringNotEquals(const ConditionParameter& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(value); return *this; } /** *Filters the values of your tagged resources for only those resources that you * tagged that do not have the same value. Also called "negated matching."
*/ inline Conditions& AddStringNotEquals(ConditionParameter&& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(std::move(value)); return *this; } /** *Filters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline const Aws::VectorFilters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline bool StringLikeHasBeenSet() const { return m_stringLikeHasBeenSet; } /** *Filters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline void SetStringLike(const Aws::VectorFilters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline void SetStringLike(Aws::VectorFilters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline Conditions& WithStringLike(const Aws::VectorFilters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline Conditions& WithStringLike(Aws::VectorFilters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline Conditions& AddStringLike(const ConditionParameter& value) { m_stringLikeHasBeenSet = true; m_stringLike.push_back(value); return *this; } /** *Filters the values of your tagged resources for matching tag values with the * use of a wildcard character (*) anywhere in the string. For example, "prod*" or * "*rod*" matches the tag value "production".
*/ inline Conditions& AddStringLike(ConditionParameter&& value) { m_stringLikeHasBeenSet = true; m_stringLike.push_back(std::move(value)); return *this; } /** *Filters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline const Aws::VectorFilters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline bool StringNotLikeHasBeenSet() const { return m_stringNotLikeHasBeenSet; } /** *Filters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline void SetStringNotLike(const Aws::VectorFilters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline void SetStringNotLike(Aws::VectorFilters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline Conditions& WithStringNotLike(const Aws::VectorFilters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline Conditions& WithStringNotLike(Aws::VectorFilters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline Conditions& AddStringNotLike(const ConditionParameter& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike.push_back(value); return *this; } /** *Filters the values of your tagged resources for non-matching tag values with * the use of a wildcard character (*) anywhere in the string.
*/ inline Conditions& AddStringNotLike(ConditionParameter&& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike.push_back(std::move(value)); return *this; } private: Aws::Vector