/*
* 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
{
///
/// The inventory result item.
///
public partial class InventoryResultItem
{
private string _captureTime;
private List> _content = new List>();
private string _contentHash;
private string _schemaVersion;
private string _typeName;
///
/// Gets and sets the property CaptureTime.
///
/// The time inventory item data was captured.
///
///
public string CaptureTime
{
get { return this._captureTime; }
set { this._captureTime = value; }
}
// Check to see if CaptureTime property is set
internal bool IsSetCaptureTime()
{
return this._captureTime != null;
}
///
/// Gets and sets the property Content.
///
/// Contains all the inventory data of the item type. Results include attribute names
/// and values.
///
///
[AWSProperty(Required=true, Min=0, Max=10000)]
public List> Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null && this._content.Count > 0;
}
///
/// Gets and sets the property ContentHash.
///
/// MD5 hash of the inventory item type contents. The content hash is used to determine
/// whether to update inventory information. The PutInventory API doesn't update the inventory
/// item type contents if the MD5 hash hasn't changed since last update.
///
///
[AWSProperty(Max=256)]
public string ContentHash
{
get { return this._contentHash; }
set { this._contentHash = value; }
}
// Check to see if ContentHash property is set
internal bool IsSetContentHash()
{
return this._contentHash != null;
}
///
/// Gets and sets the property SchemaVersion.
///
/// The schema version for the inventory result item/
///
///
[AWSProperty(Required=true)]
public string SchemaVersion
{
get { return this._schemaVersion; }
set { this._schemaVersion = value; }
}
// Check to see if SchemaVersion property is set
internal bool IsSetSchemaVersion()
{
return this._schemaVersion != null;
}
///
/// Gets and sets the property TypeName.
///
/// The name of the inventory result item type.
///
///
[AWSProperty(Required=true, Min=1, Max=100)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}