/*
* 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 nimble-2020-08-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.NimbleStudio.Model
{
///
/// The studio component's summary.
///
public partial class StudioComponentSummary
{
private DateTime? _createdAt;
private string _createdBy;
private string _description;
private string _name;
private string _studioComponentId;
private StudioComponentSubtype _subtype;
private StudioComponentType _type;
private DateTime? _updatedAt;
private string _updatedBy;
///
/// Gets and sets the property CreatedAt.
///
/// The ISO timestamp in seconds for when the resource was created.
///
///
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
///
/// Gets and sets the property CreatedBy.
///
/// The user ID of the user that created the studio component.
///
///
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 Description.
///
/// The description.
///
///
[AWSProperty(Sensitive=true, Min=0, Max=256)]
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 Name.
///
/// The name for the studio component.
///
///
[AWSProperty(Sensitive=true, Min=0, Max=64)]
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 StudioComponentId.
///
/// The unique identifier for a studio component resource.
///
///
[AWSProperty(Min=0, Max=22)]
public string StudioComponentId
{
get { return this._studioComponentId; }
set { this._studioComponentId = value; }
}
// Check to see if StudioComponentId property is set
internal bool IsSetStudioComponentId()
{
return this._studioComponentId != null;
}
///
/// Gets and sets the property Subtype.
///
/// The specific subtype of a studio component.
///
///
public StudioComponentSubtype Subtype
{
get { return this._subtype; }
set { this._subtype = value; }
}
// Check to see if Subtype property is set
internal bool IsSetSubtype()
{
return this._subtype != null;
}
///
/// Gets and sets the property Type.
///
/// The type of the studio component.
///
///
public StudioComponentType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property UpdatedAt.
///
/// The ISO timestamp in seconds for when the resource was updated.
///
///
public DateTime UpdatedAt
{
get { return this._updatedAt.GetValueOrDefault(); }
set { this._updatedAt = value; }
}
// Check to see if UpdatedAt property is set
internal bool IsSetUpdatedAt()
{
return this._updatedAt.HasValue;
}
///
/// Gets and sets the property UpdatedBy.
///
/// The user ID of the user that most recently updated the resource.
///
///
public string UpdatedBy
{
get { return this._updatedBy; }
set { this._updatedBy = value; }
}
// Check to see if UpdatedBy property is set
internal bool IsSetUpdatedBy()
{
return this._updatedBy != null;
}
}
}