/*
* 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 sagemaker-2017-07-24.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.SageMaker.Model
{
///
/// Container for the parameters to the ImportHubContent operation.
/// Import hub content.
///
///
///
/// Hub APIs are only callable through SageMaker Studio.
///
///
///
public partial class ImportHubContentRequest : AmazonSageMakerRequest
{
private string _documentSchemaVersion;
private string _hubContentDescription;
private string _hubContentDisplayName;
private string _hubContentDocument;
private string _hubContentMarkdown;
private string _hubContentName;
private List _hubContentSearchKeywords = new List();
private HubContentType _hubContentType;
private string _hubContentVersion;
private string _hubName;
private List _tags = new List();
///
/// Gets and sets the property DocumentSchemaVersion.
///
/// The version of the hub content schema to import.
///
///
[AWSProperty(Required=true, Min=5, Max=14)]
public string DocumentSchemaVersion
{
get { return this._documentSchemaVersion; }
set { this._documentSchemaVersion = value; }
}
// Check to see if DocumentSchemaVersion property is set
internal bool IsSetDocumentSchemaVersion()
{
return this._documentSchemaVersion != null;
}
///
/// Gets and sets the property HubContentDescription.
///
/// A description of the hub content to import.
///
///
[AWSProperty(Max=1023)]
public string HubContentDescription
{
get { return this._hubContentDescription; }
set { this._hubContentDescription = value; }
}
// Check to see if HubContentDescription property is set
internal bool IsSetHubContentDescription()
{
return this._hubContentDescription != null;
}
///
/// Gets and sets the property HubContentDisplayName.
///
/// The display name of the hub content to import.
///
///
[AWSProperty(Max=255)]
public string HubContentDisplayName
{
get { return this._hubContentDisplayName; }
set { this._hubContentDisplayName = value; }
}
// Check to see if HubContentDisplayName property is set
internal bool IsSetHubContentDisplayName()
{
return this._hubContentDisplayName != null;
}
///
/// Gets and sets the property HubContentDocument.
///
/// The hub content document that describes information about the hub content such as
/// type, associated containers, scripts, and more.
///
///
[AWSProperty(Required=true, Max=65535)]
public string HubContentDocument
{
get { return this._hubContentDocument; }
set { this._hubContentDocument = value; }
}
// Check to see if HubContentDocument property is set
internal bool IsSetHubContentDocument()
{
return this._hubContentDocument != null;
}
///
/// Gets and sets the property HubContentMarkdown.
///
/// A string that provides a description of the hub content. This string can include links,
/// tables, and standard markdown formating.
///
///
[AWSProperty(Max=65535)]
public string HubContentMarkdown
{
get { return this._hubContentMarkdown; }
set { this._hubContentMarkdown = value; }
}
// Check to see if HubContentMarkdown property is set
internal bool IsSetHubContentMarkdown()
{
return this._hubContentMarkdown != null;
}
///
/// Gets and sets the property HubContentName.
///
/// The name of the hub content to import.
///
///
[AWSProperty(Required=true, Max=63)]
public string HubContentName
{
get { return this._hubContentName; }
set { this._hubContentName = value; }
}
// Check to see if HubContentName property is set
internal bool IsSetHubContentName()
{
return this._hubContentName != null;
}
///
/// Gets and sets the property HubContentSearchKeywords.
///
/// The searchable keywords of the hub content.
///
///
[AWSProperty(Max=50)]
public List HubContentSearchKeywords
{
get { return this._hubContentSearchKeywords; }
set { this._hubContentSearchKeywords = value; }
}
// Check to see if HubContentSearchKeywords property is set
internal bool IsSetHubContentSearchKeywords()
{
return this._hubContentSearchKeywords != null && this._hubContentSearchKeywords.Count > 0;
}
///
/// Gets and sets the property HubContentType.
///
/// The type of hub content to import.
///
///
[AWSProperty(Required=true)]
public HubContentType HubContentType
{
get { return this._hubContentType; }
set { this._hubContentType = value; }
}
// Check to see if HubContentType property is set
internal bool IsSetHubContentType()
{
return this._hubContentType != null;
}
///
/// Gets and sets the property HubContentVersion.
///
/// The version of the hub content to import.
///
///
[AWSProperty(Min=5, Max=14)]
public string HubContentVersion
{
get { return this._hubContentVersion; }
set { this._hubContentVersion = value; }
}
// Check to see if HubContentVersion property is set
internal bool IsSetHubContentVersion()
{
return this._hubContentVersion != null;
}
///
/// Gets and sets the property HubName.
///
/// The name of the hub to import content into.
///
///
[AWSProperty(Required=true, Max=63)]
public string HubName
{
get { return this._hubName; }
set { this._hubName = value; }
}
// Check to see if HubName property is set
internal bool IsSetHubName()
{
return this._hubName != null;
}
///
/// Gets and sets the property Tags.
///
/// Any tags associated with the hub content.
///
///
[AWSProperty(Min=0, Max=50)]
public List 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;
}
}
}