/* * 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 { /// /// Container for the parameters to the CreateEvaluationForm operation. /// Creates an evaluation form in the specified Amazon Connect instance. The form can /// be used to define questions related to agent performance, and create sections to organize /// such questions. Question and section identifiers cannot be duplicated within the same /// evaluation form. /// public partial class CreateEvaluationFormRequest : AmazonConnectRequest { private string _clientToken; private string _description; private string _instanceId; private List _items = new List(); private EvaluationFormScoringStrategy _scoringStrategy; private string _title; /// /// Gets and sets the property ClientToken. /// /// A unique, case-sensitive identifier that you provide to ensure the idempotency of /// the request. If not provided, the Amazon Web Services SDK populates this field. For /// more information about idempotency, see Making /// retries safe with idempotent APIs. /// /// [AWSProperty(Max=500)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property Description. /// /// The description of the evaluation form. /// /// [AWSProperty(Min=0, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property InstanceId. /// /// The identifier of the Amazon Connect instance. You can find /// the instance ID in the Amazon Resource Name (ARN) of the instance. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string InstanceId { get { return this._instanceId; } set { this._instanceId = value; } } // Check to see if InstanceId property is set internal bool IsSetInstanceId() { return this._instanceId != null; } /// /// Gets and sets the property Items. /// /// Items that are part of the evaluation form. The total number of sections and questions /// must not exceed 100 each. Questions must be contained in a section. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public List Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// /// Gets and sets the property ScoringStrategy. /// /// A scoring strategy of the evaluation form. /// /// public EvaluationFormScoringStrategy ScoringStrategy { get { return this._scoringStrategy; } set { this._scoringStrategy = value; } } // Check to see if ScoringStrategy property is set internal bool IsSetScoringStrategy() { return this._scoringStrategy != null; } /// /// Gets and sets the property Title. /// /// A title of the evaluation form. /// /// [AWSProperty(Required=true, Min=1, Max=128)] public string Title { get { return this._title; } set { this._title = value; } } // Check to see if Title property is set internal bool IsSetTitle() { return this._title != null; } } }