/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SageMaker.Model { /// /// A multi-expression that searches for the specified resource or resources in a search. /// All resource objects that satisfy the expression's condition are included in the search /// results. You must specify at least one subexpression, filter, or nested filter. A /// SearchExpression can contain up to twenty elements. /// /// /// /// A SearchExpression contains the following components: /// /// /// public partial class SearchExpression { private List _filters = new List(); private List _nestedFilters = new List(); private BooleanOperator _operator; private List _subExpressions = new List(); /// /// Gets and sets the property Filters. /// /// A list of filter objects. /// /// [AWSProperty(Min=1, Max=20)] public List Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// /// Gets and sets the property NestedFilters. /// /// A list of nested filter objects. /// /// [AWSProperty(Min=1, Max=20)] public List NestedFilters { get { return this._nestedFilters; } set { this._nestedFilters = value; } } // Check to see if NestedFilters property is set internal bool IsSetNestedFilters() { return this._nestedFilters != null && this._nestedFilters.Count > 0; } /// /// Gets and sets the property Operator. /// /// A Boolean operator used to evaluate the search expression. If you want every conditional /// statement in all lists to be satisfied for the entire search expression to be true, /// specify And. If only a single conditional statement needs to be true /// for the entire search expression to be true, specify Or. The default /// value is And. /// /// public BooleanOperator Operator { get { return this._operator; } set { this._operator = value; } } // Check to see if Operator property is set internal bool IsSetOperator() { return this._operator != null; } /// /// Gets and sets the property SubExpressions. /// /// A list of search expression objects. /// /// [AWSProperty(Min=1, Max=20)] public List SubExpressions { get { return this._subExpressions; } set { this._subExpressions = value; } } // Check to see if SubExpressions property is set internal bool IsSetSubExpressions() { return this._subExpressions != null && this._subExpressions.Count > 0; } } }