/*
* 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 UpdateAction operation.
/// Updates an action.
///
public partial class UpdateActionRequest : AmazonSageMakerRequest
{
private string _actionName;
private string _description;
private Dictionary _properties = new Dictionary();
private List _propertiesToRemove = new List();
private ActionStatus _status;
///
/// Gets and sets the property ActionName.
///
/// The name of the action to update.
///
///
[AWSProperty(Required=true, Min=1, Max=120)]
public string ActionName
{
get { return this._actionName; }
set { this._actionName = value; }
}
// Check to see if ActionName property is set
internal bool IsSetActionName()
{
return this._actionName != null;
}
///
/// Gets and sets the property Description.
///
/// The new description for the action.
///
///
[AWSProperty(Max=3072)]
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 Properties.
///
/// The new list of properties. Overwrites the current property list.
///
///
[AWSProperty(Max=30)]
public Dictionary Properties
{
get { return this._properties; }
set { this._properties = value; }
}
// Check to see if Properties property is set
internal bool IsSetProperties()
{
return this._properties != null && this._properties.Count > 0;
}
///
/// Gets and sets the property PropertiesToRemove.
///
/// A list of properties to remove.
///
///
public List PropertiesToRemove
{
get { return this._propertiesToRemove; }
set { this._propertiesToRemove = value; }
}
// Check to see if PropertiesToRemove property is set
internal bool IsSetPropertiesToRemove()
{
return this._propertiesToRemove != null && this._propertiesToRemove.Count > 0;
}
///
/// Gets and sets the property Status.
///
/// The new status for the action.
///
///
public ActionStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}