/*
* 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 finspace-data-2020-07-13.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.FinSpaceData.Model
{
///
/// Container for the parameters to the CreateDataset operation.
/// Creates a new FinSpace Dataset.
///
public partial class CreateDatasetRequest : AmazonFinSpaceDataRequest
{
private string _alias;
private string _clientToken;
private string _datasetDescription;
private string _datasetTitle;
private DatasetKind _kind;
private DatasetOwnerInfo _ownerInfo;
private PermissionGroupParams _permissionGroupParams;
private SchemaUnion _schemaDefinition;
///
/// Gets and sets the property Alias.
///
/// The unique resource identifier for a Dataset.
///
///
[AWSProperty(Min=1, Max=255)]
public string Alias
{
get { return this._alias; }
set { this._alias = value; }
}
// Check to see if Alias property is set
internal bool IsSetAlias()
{
return this._alias != null;
}
///
/// Gets and sets the property ClientToken.
///
/// A token that ensures idempotency. This token expires in 10 minutes.
///
///
[AWSProperty(Min=1, Max=128)]
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 DatasetDescription.
///
/// Description of a Dataset.
///
///
[AWSProperty(Max=1000)]
public string DatasetDescription
{
get { return this._datasetDescription; }
set { this._datasetDescription = value; }
}
// Check to see if DatasetDescription property is set
internal bool IsSetDatasetDescription()
{
return this._datasetDescription != null;
}
///
/// Gets and sets the property DatasetTitle.
///
/// Display title for a FinSpace Dataset.
///
///
[AWSProperty(Required=true, Min=1, Max=255)]
public string DatasetTitle
{
get { return this._datasetTitle; }
set { this._datasetTitle = value; }
}
// Check to see if DatasetTitle property is set
internal bool IsSetDatasetTitle()
{
return this._datasetTitle != null;
}
///
/// Gets and sets the property Kind.
///
/// The format in which Dataset data is structured.
///
/// -
///
///
TABULAR
– Data is structured in a tabular format.
///
/// -
///
///
NON_TABULAR
– Data is structured in a non-tabular format.
///
///
///
[AWSProperty(Required=true)]
public DatasetKind Kind
{
get { return this._kind; }
set { this._kind = value; }
}
// Check to see if Kind property is set
internal bool IsSetKind()
{
return this._kind != null;
}
///
/// Gets and sets the property OwnerInfo.
///
/// Contact information for a Dataset owner.
///
///
public DatasetOwnerInfo OwnerInfo
{
get { return this._ownerInfo; }
set { this._ownerInfo = value; }
}
// Check to see if OwnerInfo property is set
internal bool IsSetOwnerInfo()
{
return this._ownerInfo != null;
}
///
/// Gets and sets the property PermissionGroupParams.
///
/// Permission group parameters for Dataset permissions.
///
///
[AWSProperty(Required=true)]
public PermissionGroupParams PermissionGroupParams
{
get { return this._permissionGroupParams; }
set { this._permissionGroupParams = value; }
}
// Check to see if PermissionGroupParams property is set
internal bool IsSetPermissionGroupParams()
{
return this._permissionGroupParams != null;
}
///
/// Gets and sets the property SchemaDefinition.
///
/// Definition for a schema on a tabular Dataset.
///
///
public SchemaUnion SchemaDefinition
{
get { return this._schemaDefinition; }
set { this._schemaDefinition = value; }
}
// Check to see if SchemaDefinition property is set
internal bool IsSetSchemaDefinition()
{
return this._schemaDefinition != null;
}
}
}