/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a property-based condition that determines whether an object is
* included or excluded from a classification job.See Also:
AWS
* API Reference
The operator to use in the condition.
*/ inline const JobComparator& GetComparator() const{ return m_comparator; } /** *The operator to use in the condition.
*/ inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; } /** *The operator to use in the condition.
*/ inline void SetComparator(const JobComparator& value) { m_comparatorHasBeenSet = true; m_comparator = value; } /** *The operator to use in the condition.
*/ inline void SetComparator(JobComparator&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); } /** *The operator to use in the condition.
*/ inline SimpleScopeTerm& WithComparator(const JobComparator& value) { SetComparator(value); return *this;} /** *The operator to use in the condition.
*/ inline SimpleScopeTerm& WithComparator(JobComparator&& value) { SetComparator(std::move(value)); return *this;} /** *The property to use in the condition.
*/ inline const ScopeFilterKey& GetKey() const{ return m_key; } /** *The property to use in the condition.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The property to use in the condition.
*/ inline void SetKey(const ScopeFilterKey& value) { m_keyHasBeenSet = true; m_key = value; } /** *The property to use in the condition.
*/ inline void SetKey(ScopeFilterKey&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The property to use in the condition.
*/ inline SimpleScopeTerm& WithKey(const ScopeFilterKey& value) { SetKey(value); return *this;} /** *The property to use in the condition.
*/ inline SimpleScopeTerm& WithKey(ScopeFilterKey&& value) { SetKey(std::move(value)); return *this;} /** *An array that lists one or more values to use in the condition.
*/ inline const Aws::VectorAn array that lists one or more values to use in the condition.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *An array that lists one or more values to use in the condition.
*/ inline void SetValues(const Aws::VectorAn array that lists one or more values to use in the condition.
*/ inline void SetValues(Aws::VectorAn array that lists one or more values to use in the condition.
*/ inline SimpleScopeTerm& WithValues(const Aws::VectorAn array that lists one or more values to use in the condition.
*/ inline SimpleScopeTerm& WithValues(Aws::VectorAn array that lists one or more values to use in the condition.
*/ inline SimpleScopeTerm& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *An array that lists one or more values to use in the condition.
*/ inline SimpleScopeTerm& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *An array that lists one or more values to use in the condition.
*/ inline SimpleScopeTerm& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: JobComparator m_comparator; bool m_comparatorHasBeenSet; ScopeFilterKey m_key; bool m_keyHasBeenSet; Aws::Vector