/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The search criteria to be used to return security profiles. The
* name
field support "contains" queries with a minimum of 2
* characters and maximum of 25 characters. Any queries with character lengths
* outside of this range will throw invalid results.See
* Also:
AWS
* API Reference
A list of conditions which would be applied together with an OR * condition.
*/ inline const Aws::VectorA list of conditions which would be applied together with an OR * condition.
*/ inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; } /** *A list of conditions which would be applied together with an OR * condition.
*/ inline void SetOrConditions(const Aws::VectorA list of conditions which would be applied together with an OR * condition.
*/ inline void SetOrConditions(Aws::VectorA list of conditions which would be applied together with an OR * condition.
*/ inline SecurityProfileSearchCriteria& WithOrConditions(const Aws::VectorA list of conditions which would be applied together with an OR * condition.
*/ inline SecurityProfileSearchCriteria& WithOrConditions(Aws::VectorA list of conditions which would be applied together with an OR * condition.
*/ inline SecurityProfileSearchCriteria& AddOrConditions(const SecurityProfileSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; } /** *A list of conditions which would be applied together with an OR * condition.
*/ inline SecurityProfileSearchCriteria& AddOrConditions(SecurityProfileSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; } /** *A list of conditions which would be applied together with an AND * condition.
*/ inline const Aws::VectorA list of conditions which would be applied together with an AND * condition.
*/ inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; } /** *A list of conditions which would be applied together with an AND * condition.
*/ inline void SetAndConditions(const Aws::VectorA list of conditions which would be applied together with an AND * condition.
*/ inline void SetAndConditions(Aws::VectorA list of conditions which would be applied together with an AND * condition.
*/ inline SecurityProfileSearchCriteria& WithAndConditions(const Aws::VectorA list of conditions which would be applied together with an AND * condition.
*/ inline SecurityProfileSearchCriteria& WithAndConditions(Aws::VectorA list of conditions which would be applied together with an AND * condition.
*/ inline SecurityProfileSearchCriteria& AddAndConditions(const SecurityProfileSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; } /** *A list of conditions which would be applied together with an AND * condition.
*/ inline SecurityProfileSearchCriteria& AddAndConditions(SecurityProfileSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; } inline const StringCondition& GetStringCondition() const{ return m_stringCondition; } inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; } inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; } inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); } inline SecurityProfileSearchCriteria& WithStringCondition(const StringCondition& value) { SetStringCondition(value); return *this;} inline SecurityProfileSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;} private: Aws::Vector