/*
* 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 ssm-2014-11-06.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.SimpleSystemsManagement.Model
{
///
/// Metadata includes information like the ARN of the last user and the date/time the
/// parameter was last used.
///
public partial class ParameterMetadata
{
private string _allowedPattern;
private string _dataType;
private string _description;
private string _keyId;
private DateTime? _lastModifiedDate;
private string _lastModifiedUser;
private string _name;
private List _policies = new List();
private ParameterTier _tier;
private ParameterType _type;
private long? _version;
///
/// Gets and sets the property AllowedPattern.
///
/// A parameter name can include only the following letters and symbols.
///
///
///
/// a-zA-Z0-9_.-
///
///
[AWSProperty(Min=0, Max=1024)]
public string AllowedPattern
{
get { return this._allowedPattern; }
set { this._allowedPattern = value; }
}
// Check to see if AllowedPattern property is set
internal bool IsSetAllowedPattern()
{
return this._allowedPattern != null;
}
///
/// Gets and sets the property DataType.
///
/// The data type of the parameter, such as text
or aws:ec2:image
.
/// The default is text
.
///
///
[AWSProperty(Min=0, Max=128)]
public string DataType
{
get { return this._dataType; }
set { this._dataType = value; }
}
// Check to see if DataType property is set
internal bool IsSetDataType()
{
return this._dataType != null;
}
///
/// Gets and sets the property Description.
///
/// Description of the parameter actions.
///
///
[AWSProperty(Min=0, Max=1024)]
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 KeyId.
///
/// The ID of the query key used for this parameter.
///
///
[AWSProperty(Min=1, Max=256)]
public string KeyId
{
get { return this._keyId; }
set { this._keyId = value; }
}
// Check to see if KeyId property is set
internal bool IsSetKeyId()
{
return this._keyId != null;
}
///
/// Gets and sets the property LastModifiedDate.
///
/// Date the parameter was last changed or updated.
///
///
public DateTime LastModifiedDate
{
get { return this._lastModifiedDate.GetValueOrDefault(); }
set { this._lastModifiedDate = value; }
}
// Check to see if LastModifiedDate property is set
internal bool IsSetLastModifiedDate()
{
return this._lastModifiedDate.HasValue;
}
///
/// Gets and sets the property LastModifiedUser.
///
/// Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
///
///
public string LastModifiedUser
{
get { return this._lastModifiedUser; }
set { this._lastModifiedUser = value; }
}
// Check to see if LastModifiedUser property is set
internal bool IsSetLastModifiedUser()
{
return this._lastModifiedUser != null;
}
///
/// Gets and sets the property Name.
///
/// The parameter name.
///
///
[AWSProperty(Min=1, Max=2048)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Policies.
///
/// A list of policies associated with a parameter.
///
///
public List Policies
{
get { return this._policies; }
set { this._policies = value; }
}
// Check to see if Policies property is set
internal bool IsSetPolicies()
{
return this._policies != null && this._policies.Count > 0;
}
///
/// Gets and sets the property Tier.
///
/// The parameter tier.
///
///
public ParameterTier Tier
{
get { return this._tier; }
set { this._tier = value; }
}
// Check to see if Tier property is set
internal bool IsSetTier()
{
return this._tier != null;
}
///
/// Gets and sets the property Type.
///
/// The type of parameter. Valid parameter types include the following: String
,
/// StringList
, and SecureString
.
///
///
public ParameterType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property Version.
///
/// The parameter version.
///
///
public long Version
{
get { return this._version.GetValueOrDefault(); }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version.HasValue;
}
}
}