/*
* 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
{
///
/// An object that contains the ChangeType
, Details
, and Entity
.
///
public partial class Change
{
private string _changeName;
private string _changeType;
private string _details;
private Entity _entity;
private List _entityTags = new List();
///
/// Gets and sets the property ChangeName.
///
/// Optional name for the change.
///
///
[AWSProperty(Min=1, Max=72)]
public string ChangeName
{
get { return this._changeName; }
set { this._changeName = value; }
}
// Check to see if ChangeName property is set
internal bool IsSetChangeName()
{
return this._changeName != null;
}
///
/// Gets and sets the property ChangeType.
///
/// Change types are single string values that describe your intention for the change.
/// Each change type is unique for each EntityType
provided in the change's
/// scope. For more information on change types available for single-AMI products, see
/// Working
/// with single-AMI products. Also, for more information on change types available
/// for container-based products, see Working
/// with container products.
///
///
[AWSProperty(Required=true, Min=1, Max=255)]
public string ChangeType
{
get { return this._changeType; }
set { this._changeType = value; }
}
// Check to see if ChangeType property is set
internal bool IsSetChangeType()
{
return this._changeType != null;
}
///
/// Gets and sets the property Details.
///
/// This object contains details specific to the change type of the requested change.
/// For more information on change types available for single-AMI products, see Working
/// with single-AMI products. Also, for more information on change types available
/// for container-based products, see Working
/// with container products.
///
///
[AWSProperty(Required=true, Min=2, Max=16384)]
public string Details
{
get { return this._details; }
set { this._details = value; }
}
// Check to see if Details property is set
internal bool IsSetDetails()
{
return this._details != null;
}
///
/// Gets and sets the property Entity.
///
/// The entity to be changed.
///
///
[AWSProperty(Required=true)]
public Entity Entity
{
get { return this._entity; }
set { this._entity = value; }
}
// Check to see if Entity property is set
internal bool IsSetEntity()
{
return this._entity != null;
}
///
/// Gets and sets the property EntityTags.
///
/// The tags associated with the change.
///
///
[AWSProperty(Min=1, Max=200)]
public List EntityTags
{
get { return this._entityTags; }
set { this._entityTags = value; }
}
// Check to see if EntityTags property is set
internal bool IsSetEntityTags()
{
return this._entityTags != null && this._entityTags.Count > 0;
}
}
}