/*
* 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 evidently-2021-02-01.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.CloudWatchEvidently.Model
{
///
/// This structure defines a project, which is the logical object in Evidently that can
/// contain features, launches, and experiments. Use projects to group similar features
/// together.
///
public partial class Project
{
private long? _activeExperimentCount;
private long? _activeLaunchCount;
private ProjectAppConfigResource _appConfigResource;
private string _arn;
private DateTime? _createdTime;
private ProjectDataDelivery _dataDelivery;
private string _description;
private long? _experimentCount;
private long? _featureCount;
private DateTime? _lastUpdatedTime;
private long? _launchCount;
private string _name;
private ProjectStatus _status;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property ActiveExperimentCount.
///
/// The number of ongoing experiments currently in the project.
///
///
public long ActiveExperimentCount
{
get { return this._activeExperimentCount.GetValueOrDefault(); }
set { this._activeExperimentCount = value; }
}
// Check to see if ActiveExperimentCount property is set
internal bool IsSetActiveExperimentCount()
{
return this._activeExperimentCount.HasValue;
}
///
/// Gets and sets the property ActiveLaunchCount.
///
/// The number of ongoing launches currently in the project.
///
///
public long ActiveLaunchCount
{
get { return this._activeLaunchCount.GetValueOrDefault(); }
set { this._activeLaunchCount = value; }
}
// Check to see if ActiveLaunchCount property is set
internal bool IsSetActiveLaunchCount()
{
return this._activeLaunchCount.HasValue;
}
///
/// Gets and sets the property AppConfigResource.
///
/// This structure defines the configuration of how your application integrates with AppConfig
/// to run client-side evaluation.
///
///
public ProjectAppConfigResource AppConfigResource
{
get { return this._appConfigResource; }
set { this._appConfigResource = value; }
}
// Check to see if AppConfigResource property is set
internal bool IsSetAppConfigResource()
{
return this._appConfigResource != null;
}
///
/// Gets and sets the property Arn.
///
/// The name or ARN of the project.
///
///
[AWSProperty(Required=true, Min=0, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// The date and time that the project is 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 DataDelivery.
///
/// A structure that contains information about where Evidently is to store evaluation
/// events for longer term storage.
///
///
public ProjectDataDelivery DataDelivery
{
get { return this._dataDelivery; }
set { this._dataDelivery = value; }
}
// Check to see if DataDelivery property is set
internal bool IsSetDataDelivery()
{
return this._dataDelivery != null;
}
///
/// Gets and sets the property Description.
///
/// The user-entered description of the project.
///
///
[AWSProperty(Min=0, Max=160)]
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 ExperimentCount.
///
/// The number of experiments currently in the project. This includes all experiments
/// that have been created and not deleted, whether they are ongoing or not.
///
///
public long ExperimentCount
{
get { return this._experimentCount.GetValueOrDefault(); }
set { this._experimentCount = value; }
}
// Check to see if ExperimentCount property is set
internal bool IsSetExperimentCount()
{
return this._experimentCount.HasValue;
}
///
/// Gets and sets the property FeatureCount.
///
/// The number of features currently in the project.
///
///
public long FeatureCount
{
get { return this._featureCount.GetValueOrDefault(); }
set { this._featureCount = value; }
}
// Check to see if FeatureCount property is set
internal bool IsSetFeatureCount()
{
return this._featureCount.HasValue;
}
///
/// Gets and sets the property LastUpdatedTime.
///
/// The date and time that the project was most recently updated.
///
///
[AWSProperty(Required=true)]
public DateTime LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
///
/// Gets and sets the property LaunchCount.
///
/// The number of launches currently in the project. This includes all launches that have
/// been created and not deleted, whether they are ongoing or not.
///
///
public long LaunchCount
{
get { return this._launchCount.GetValueOrDefault(); }
set { this._launchCount = value; }
}
// Check to see if LaunchCount property is set
internal bool IsSetLaunchCount()
{
return this._launchCount.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the project.
///
///
[AWSProperty(Required=true, Min=1, Max=127)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Status.
///
/// The current state of the project.
///
///
[AWSProperty(Required=true)]
public ProjectStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property Tags.
///
/// The list of tag keys and values associated with this project.
///
///
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;
}
}
}