/*
 * 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 connectcases-2022-10-03.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.ConnectCases.Model
{
    /// 
    /// A list of items that represent cases.
    /// 
    public partial class SearchCasesResponseItem
    {
        private string _caseId;
        private List _fields = new List();
        private Dictionary _tags = new Dictionary();
        private string _templateId;
        /// 
        /// Gets and sets the property CaseId. 
        /// 
        /// A unique identifier of the case.
        /// 
        /// 
        [AWSProperty(Required=true, Min=1, Max=500)]
        public string CaseId
        {
            get { return this._caseId; }
            set { this._caseId = value; }
        }
        // Check to see if CaseId property is set
        internal bool IsSetCaseId()
        {
            return this._caseId != null;
        }
        /// 
        /// Gets and sets the property Fields. 
        /// 
        /// List of case field values.
        /// 
        /// 
        [AWSProperty(Required=true, Min=0, Max=10)]
        public List Fields
        {
            get { return this._fields; }
            set { this._fields = value; }
        }
        // Check to see if Fields property is set
        internal bool IsSetFields()
        {
            return this._fields != null && this._fields.Count > 0; 
        }
        /// 
        /// Gets and sets the property Tags. 
        /// 
        /// A map of of key-value pairs that represent tags on a resource. Tags are used to organize,
        /// track, or control access for this resource.
        /// 
        /// 
        public Dictionary Tags
        {
            get { return this._tags; }
            set { this._tags = value; }
        }
        // Check to see if Tags property is set
        internal bool IsSetTags()
        {
            return this._tags != null && this._tags.Count > 0; 
        }
        /// 
        /// Gets and sets the property TemplateId. 
        /// 
        /// A unique identifier of a template.
        /// 
        /// 
        [AWSProperty(Required=true, Min=1, Max=500)]
        public string TemplateId
        {
            get { return this._templateId; }
            set { this._templateId = value; }
        }
        // Check to see if TemplateId property is set
        internal bool IsSetTemplateId()
        {
            return this._templateId != null;
        }
    }
}