/* * 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 connect-2017-08-08.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.Connect.Model { /// <summary> /// The search criteria to be used to return queues. /// /// <note> /// <para> /// The <code>name</code> and <code>description</code> fields support "contains" queries /// with a minimum of 2 characters and a maximum of 25 characters. Any queries with character /// lengths outside of this range will throw invalid results. /// </para> /// </note> /// </summary> public partial class QueueSearchCriteria { private List<QueueSearchCriteria> _andConditions = new List<QueueSearchCriteria>(); private List<QueueSearchCriteria> _orConditions = new List<QueueSearchCriteria>(); private SearchableQueueType _queueTypeCondition; private StringCondition _stringCondition; /// <summary> /// Gets and sets the property AndConditions. /// <para> /// A list of conditions which would be applied together with an AND condition. /// </para> /// </summary> public List<QueueSearchCriteria> AndConditions { get { return this._andConditions; } set { this._andConditions = value; } } // Check to see if AndConditions property is set internal bool IsSetAndConditions() { return this._andConditions != null && this._andConditions.Count > 0; } /// <summary> /// Gets and sets the property OrConditions. /// <para> /// A list of conditions which would be applied together with an OR condition. /// </para> /// </summary> public List<QueueSearchCriteria> OrConditions { get { return this._orConditions; } set { this._orConditions = value; } } // Check to see if OrConditions property is set internal bool IsSetOrConditions() { return this._orConditions != null && this._orConditions.Count > 0; } /// <summary> /// Gets and sets the property QueueTypeCondition. /// <para> /// The type of queue. /// </para> /// </summary> public SearchableQueueType QueueTypeCondition { get { return this._queueTypeCondition; } set { this._queueTypeCondition = value; } } // Check to see if QueueTypeCondition property is set internal bool IsSetQueueTypeCondition() { return this._queueTypeCondition != null; } /// <summary> /// Gets and sets the property StringCondition. /// <para> /// A leaf node condition which can be used to specify a string condition. /// </para> /// <note> /// <para> /// The currently supported values for <code>FieldName</code> are <code>name</code>, <code>description</code>, /// and <code>resourceID</code>. /// </para> /// </note> /// </summary> public StringCondition StringCondition { get { return this._stringCondition; } set { this._stringCondition = value; } } // Check to see if StringCondition property is set internal bool IsSetStringCondition() { return this._stringCondition != null; } } }