/*
* 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 UpdateHub operation.
/// Update a hub.
///
///
///
/// Hub APIs are only callable through SageMaker Studio.
///
///
///
public partial class UpdateHubRequest : AmazonSageMakerRequest
{
private string _hubDescription;
private string _hubDisplayName;
private string _hubName;
private List _hubSearchKeywords = new List();
///
/// Gets and sets the property HubDescription.
///
/// A description of the updated hub.
///
///
[AWSProperty(Max=1023)]
public string HubDescription
{
get { return this._hubDescription; }
set { this._hubDescription = value; }
}
// Check to see if HubDescription property is set
internal bool IsSetHubDescription()
{
return this._hubDescription != null;
}
///
/// Gets and sets the property HubDisplayName.
///
/// The display name of the hub.
///
///
[AWSProperty(Max=255)]
public string HubDisplayName
{
get { return this._hubDisplayName; }
set { this._hubDisplayName = value; }
}
// Check to see if HubDisplayName property is set
internal bool IsSetHubDisplayName()
{
return this._hubDisplayName != null;
}
///
/// Gets and sets the property HubName.
///
/// The name of the hub to update.
///
///
[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 HubSearchKeywords.
///
/// The searchable keywords for the hub.
///
///
[AWSProperty(Max=50)]
public List HubSearchKeywords
{
get { return this._hubSearchKeywords; }
set { this._hubSearchKeywords = value; }
}
// Check to see if HubSearchKeywords property is set
internal bool IsSetHubSearchKeywords()
{
return this._hubSearchKeywords != null && this._hubSearchKeywords.Count > 0;
}
}
}