/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a logical operation for comparing the value of a field with a
* specified value.See Also:
AWS
* API Reference
The logical operation to be performed: equal (EQ
), equal
* reference (REF_EQ
), less than or equal (LE
), greater
* than or equal (GE
), or between (BETWEEN
). Equal
* reference (REF_EQ
) can be used only with reference fields. The
* other comparison types can be used only with String fields. The comparison types
* you can use apply only to certain object fields, as detailed below.
The * comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and
* BETWEEN
act on the following fields:
Note that fields * beginning with the at sign (@) are read-only and set by the web service. When * you name fields, you should choose names containing only alpha-numeric values, * as symbols may be reserved by AWS Data Pipeline. User-defined fields that you * add to a pipeline should prefix their name with the string "my".
*/ inline const OperatorType& GetType() const{ return m_type; } /** * The logical operation to be performed: equal (EQ
), equal
* reference (REF_EQ
), less than or equal (LE
), greater
* than or equal (GE
), or between (BETWEEN
). Equal
* reference (REF_EQ
) can be used only with reference fields. The
* other comparison types can be used only with String fields. The comparison types
* you can use apply only to certain object fields, as detailed below.
The * comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and
* BETWEEN
act on the following fields:
Note that fields * beginning with the at sign (@) are read-only and set by the web service. When * you name fields, you should choose names containing only alpha-numeric values, * as symbols may be reserved by AWS Data Pipeline. User-defined fields that you * add to a pipeline should prefix their name with the string "my".
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** * The logical operation to be performed: equal (EQ
), equal
* reference (REF_EQ
), less than or equal (LE
), greater
* than or equal (GE
), or between (BETWEEN
). Equal
* reference (REF_EQ
) can be used only with reference fields. The
* other comparison types can be used only with String fields. The comparison types
* you can use apply only to certain object fields, as detailed below.
The * comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and
* BETWEEN
act on the following fields:
Note that fields * beginning with the at sign (@) are read-only and set by the web service. When * you name fields, you should choose names containing only alpha-numeric values, * as symbols may be reserved by AWS Data Pipeline. User-defined fields that you * add to a pipeline should prefix their name with the string "my".
*/ inline void SetType(const OperatorType& value) { m_typeHasBeenSet = true; m_type = value; } /** * The logical operation to be performed: equal (EQ
), equal
* reference (REF_EQ
), less than or equal (LE
), greater
* than or equal (GE
), or between (BETWEEN
). Equal
* reference (REF_EQ
) can be used only with reference fields. The
* other comparison types can be used only with String fields. The comparison types
* you can use apply only to certain object fields, as detailed below.
The * comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and
* BETWEEN
act on the following fields:
Note that fields * beginning with the at sign (@) are read-only and set by the web service. When * you name fields, you should choose names containing only alpha-numeric values, * as symbols may be reserved by AWS Data Pipeline. User-defined fields that you * add to a pipeline should prefix their name with the string "my".
*/ inline void SetType(OperatorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** * The logical operation to be performed: equal (EQ
), equal
* reference (REF_EQ
), less than or equal (LE
), greater
* than or equal (GE
), or between (BETWEEN
). Equal
* reference (REF_EQ
) can be used only with reference fields. The
* other comparison types can be used only with String fields. The comparison types
* you can use apply only to certain object fields, as detailed below.
The * comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and
* BETWEEN
act on the following fields:
Note that fields * beginning with the at sign (@) are read-only and set by the web service. When * you name fields, you should choose names containing only alpha-numeric values, * as symbols may be reserved by AWS Data Pipeline. User-defined fields that you * add to a pipeline should prefix their name with the string "my".
*/ inline Operator& WithType(const OperatorType& value) { SetType(value); return *this;} /** * The logical operation to be performed: equal (EQ
), equal
* reference (REF_EQ
), less than or equal (LE
), greater
* than or equal (GE
), or between (BETWEEN
). Equal
* reference (REF_EQ
) can be used only with reference fields. The
* other comparison types can be used only with String fields. The comparison types
* you can use apply only to certain object fields, as detailed below.
The * comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and
* BETWEEN
act on the following fields:
Note that fields * beginning with the at sign (@) are read-only and set by the web service. When * you name fields, you should choose names containing only alpha-numeric values, * as symbols may be reserved by AWS Data Pipeline. User-defined fields that you * add to a pipeline should prefix their name with the string "my".
*/ inline Operator& WithType(OperatorType&& value) { SetType(std::move(value)); return *this;} /** *The value that the actual field value will be compared with.
*/ inline const Aws::VectorThe value that the actual field value will be compared with.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *The value that the actual field value will be compared with.
*/ inline void SetValues(const Aws::VectorThe value that the actual field value will be compared with.
*/ inline void SetValues(Aws::VectorThe value that the actual field value will be compared with.
*/ inline Operator& WithValues(const Aws::VectorThe value that the actual field value will be compared with.
*/ inline Operator& WithValues(Aws::VectorThe value that the actual field value will be compared with.
*/ inline Operator& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *The value that the actual field value will be compared with.
*/ inline Operator& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *The value that the actual field value will be compared with.
*/ inline Operator& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: OperatorType m_type; bool m_typeHasBeenSet = false; Aws::Vector