/*
* 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 information about an evaluation form.
///
public partial class EvaluationFormSummary
{
private int? _activeVersion;
private string _createdBy;
private DateTime? _createdTime;
private string _evaluationFormArn;
private string _evaluationFormId;
private string _lastActivatedBy;
private DateTime? _lastActivatedTime;
private string _lastModifiedBy;
private DateTime? _lastModifiedTime;
private int? _latestVersion;
private string _title;
///
/// Gets and sets the property ActiveVersion.
///
/// The version of the active evaluation form version.
///
///
[AWSProperty(Min=1)]
public int ActiveVersion
{
get { return this._activeVersion.GetValueOrDefault(); }
set { this._activeVersion = value; }
}
// Check to see if ActiveVersion property is set
internal bool IsSetActiveVersion()
{
return this._activeVersion.HasValue;
}
///
/// Gets and sets the property CreatedBy.
///
/// The Amazon Resource Name (ARN) of the user who created the evaluation form.
///
///
[AWSProperty(Required=true)]
public string CreatedBy
{
get { return this._createdBy; }
set { this._createdBy = value; }
}
// Check to see if CreatedBy property is set
internal bool IsSetCreatedBy()
{
return this._createdBy != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// The timestamp for when the evaluation form was created.
///
///
[AWSProperty(Required=true)]
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property EvaluationFormArn.
///
/// The Amazon Resource Name (ARN) for the evaluation form resource.
///
///
[AWSProperty(Required=true)]
public string EvaluationFormArn
{
get { return this._evaluationFormArn; }
set { this._evaluationFormArn = value; }
}
// Check to see if EvaluationFormArn property is set
internal bool IsSetEvaluationFormArn()
{
return this._evaluationFormArn != null;
}
///
/// Gets and sets the property EvaluationFormId.
///
/// The unique identifier for the evaluation form.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string EvaluationFormId
{
get { return this._evaluationFormId; }
set { this._evaluationFormId = value; }
}
// Check to see if EvaluationFormId property is set
internal bool IsSetEvaluationFormId()
{
return this._evaluationFormId != null;
}
///
/// Gets and sets the property LastActivatedBy.
///
/// The Amazon Resource Name (ARN) of the user who last activated the evaluation form.
///
///
public string LastActivatedBy
{
get { return this._lastActivatedBy; }
set { this._lastActivatedBy = value; }
}
// Check to see if LastActivatedBy property is set
internal bool IsSetLastActivatedBy()
{
return this._lastActivatedBy != null;
}
///
/// Gets and sets the property LastActivatedTime.
///
/// The timestamp for when the evaluation form was last activated.
///
///
public DateTime LastActivatedTime
{
get { return this._lastActivatedTime.GetValueOrDefault(); }
set { this._lastActivatedTime = value; }
}
// Check to see if LastActivatedTime property is set
internal bool IsSetLastActivatedTime()
{
return this._lastActivatedTime.HasValue;
}
///
/// Gets and sets the property LastModifiedBy.
///
/// The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
///
///
[AWSProperty(Required=true)]
public string LastModifiedBy
{
get { return this._lastModifiedBy; }
set { this._lastModifiedBy = value; }
}
// Check to see if LastModifiedBy property is set
internal bool IsSetLastModifiedBy()
{
return this._lastModifiedBy != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// The timestamp for when the evaluation form was last updated.
///
///
[AWSProperty(Required=true)]
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property LatestVersion.
///
/// The version number of the latest evaluation form version.
///
///
[AWSProperty(Required=true, Min=1)]
public int LatestVersion
{
get { return this._latestVersion.GetValueOrDefault(); }
set { this._latestVersion = value; }
}
// Check to see if LatestVersion property is set
internal bool IsSetLatestVersion()
{
return this._latestVersion.HasValue;
}
///
/// 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;
}
}
}