/*
* 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 quicksight-2018-04-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.QuickSight.Model
{
///
/// A folder in Amazon QuickSight.
///
public partial class Folder
{
private string _arn;
private DateTime? _createdTime;
private string _folderId;
private List _folderPath = new List();
private FolderType _folderType;
private DateTime? _lastUpdatedTime;
private string _name;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) for the folder.
///
///
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 time that the folder was created.
///
///
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 FolderId.
///
/// The ID of the folder.
///
///
[AWSProperty(Min=1, Max=2048)]
public string FolderId
{
get { return this._folderId; }
set { this._folderId = value; }
}
// Check to see if FolderId property is set
internal bool IsSetFolderId()
{
return this._folderId != null;
}
///
/// Gets and sets the property FolderPath.
///
/// An array of ancestor ARN strings for the folder.
///
///
[AWSProperty(Min=1, Max=10)]
public List FolderPath
{
get { return this._folderPath; }
set { this._folderPath = value; }
}
// Check to see if FolderPath property is set
internal bool IsSetFolderPath()
{
return this._folderPath != null && this._folderPath.Count > 0;
}
///
/// Gets and sets the property FolderType.
///
/// The type of folder it is.
///
///
public FolderType FolderType
{
get { return this._folderType; }
set { this._folderType = value; }
}
// Check to see if FolderType property is set
internal bool IsSetFolderType()
{
return this._folderType != null;
}
///
/// Gets and sets the property LastUpdatedTime.
///
/// The time that the folder was last updated.
///
///
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 Name.
///
/// A display name for the folder.
///
///
[AWSProperty(Min=1, Max=200)]
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;
}
}
}