/*
* 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
{
///
/// The search criteria to be used to return routing profiles.
///
///
///
/// The name
and description
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.
///
///
///
public partial class RoutingProfileSearchCriteria
{
private List _andConditions = new List();
private List _orConditions = new List();
private StringCondition _stringCondition;
///
/// Gets and sets the property AndConditions.
///
/// A list of conditions which would be applied together with an AND condition.
///
///
public List 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;
}
///
/// Gets and sets the property OrConditions.
///
/// A list of conditions which would be applied together with an OR condition.
///
///
public List 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;
}
///
/// Gets and sets the property StringCondition.
///
/// A leaf node condition which can be used to specify a string condition.
///
///
///
/// The currently supported values for FieldName
are name
, description
,
/// and resourceID
.
///
///
///
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;
}
}
}