/*
* 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 securityhub-2018-10-26.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.SecurityHub.Model
{
///
/// Information about an Amazon ECR image.
///
public partial class AwsEcrContainerImageDetails
{
private string _architecture;
private string _imageDigest;
private string _imagePublishedAt;
private List _imageTags = new List();
private string _registryId;
private string _repositoryName;
///
/// Gets and sets the property Architecture.
///
/// The architecture of the image. Valid values are as follows:
///
/// -
///
///
arm64
///
/// -
///
///
i386
///
/// -
///
///
x86_64
///
///
///
public string Architecture
{
get { return this._architecture; }
set { this._architecture = value; }
}
// Check to see if Architecture property is set
internal bool IsSetArchitecture()
{
return this._architecture != null;
}
///
/// Gets and sets the property ImageDigest.
///
/// The sha256 digest of the image manifest.
///
///
public string ImageDigest
{
get { return this._imageDigest; }
set { this._imageDigest = value; }
}
// Check to see if ImageDigest property is set
internal bool IsSetImageDigest()
{
return this._imageDigest != null;
}
///
/// Gets and sets the property ImagePublishedAt.
///
/// The date and time when the image was pushed to the repository.
///
///
///
/// Uses the date-time
format specified in RFC
/// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces,
/// and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
///
///
public string ImagePublishedAt
{
get { return this._imagePublishedAt; }
set { this._imagePublishedAt = value; }
}
// Check to see if ImagePublishedAt property is set
internal bool IsSetImagePublishedAt()
{
return this._imagePublishedAt != null;
}
///
/// Gets and sets the property ImageTags.
///
/// The list of tags that are associated with the image.
///
///
public List ImageTags
{
get { return this._imageTags; }
set { this._imageTags = value; }
}
// Check to see if ImageTags property is set
internal bool IsSetImageTags()
{
return this._imageTags != null && this._imageTags.Count > 0;
}
///
/// Gets and sets the property RegistryId.
///
/// The Amazon Web Services account identifier that is associated with the registry that
/// the image belongs to.
///
///
public string RegistryId
{
get { return this._registryId; }
set { this._registryId = value; }
}
// Check to see if RegistryId property is set
internal bool IsSetRegistryId()
{
return this._registryId != null;
}
///
/// Gets and sets the property RepositoryName.
///
/// The name of the repository that the image belongs to.
///
///
public string RepositoryName
{
get { return this._repositoryName; }
set { this._repositoryName = value; }
}
// Check to see if RepositoryName property is set
internal bool IsSetRepositoryName()
{
return this._repositoryName != null;
}
}
}