/*
* 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 marketplace-catalog-2018-09-17.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.MarketplaceCatalog.Model
{
///
/// Container for the parameters to the CancelChangeSet operation.
/// Used to cancel an open change request. Must be sent before the status of the request
/// changes to APPLYING
, the final stage of completing your change request.
/// You can describe a change during the 60-day request history retention period for API
/// calls.
///
public partial class CancelChangeSetRequest : AmazonMarketplaceCatalogRequest
{
private string _catalog;
private string _changeSetId;
///
/// Gets and sets the property Catalog.
///
/// Required. The catalog related to the request. Fixed value: AWSMarketplace
.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string Catalog
{
get { return this._catalog; }
set { this._catalog = value; }
}
// Check to see if Catalog property is set
internal bool IsSetCatalog()
{
return this._catalog != null;
}
///
/// Gets and sets the property ChangeSetId.
///
/// Required. The unique identifier of the StartChangeSet
request that you
/// want to cancel.
///
///
[AWSProperty(Required=true, Min=1, Max=255)]
public string ChangeSetId
{
get { return this._changeSetId; }
set { this._changeSetId = value; }
}
// Check to see if ChangeSetId property is set
internal bool IsSetChangeSetId()
{
return this._changeSetId != null;
}
}
}