/*
* 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 RDS DB cluster snapshot.
///
public partial class AwsRdsDbClusterSnapshotDetails
{
private int? _allocatedStorage;
private List _availabilityZones = new List();
private string _clusterCreateTime;
private string _dbClusterIdentifier;
private List _dbClusterSnapshotAttributes = new List();
private string _dbClusterSnapshotIdentifier;
private string _engine;
private string _engineVersion;
private bool? _iamDatabaseAuthenticationEnabled;
private string _kmsKeyId;
private string _licenseModel;
private string _masterUsername;
private int? _percentProgress;
private int? _port;
private string _snapshotCreateTime;
private string _snapshotType;
private string _status;
private bool? _storageEncrypted;
private string _vpcId;
///
/// Gets and sets the property AllocatedStorage.
///
/// Specifies the allocated storage size in gibibytes (GiB).
///
///
public int AllocatedStorage
{
get { return this._allocatedStorage.GetValueOrDefault(); }
set { this._allocatedStorage = value; }
}
// Check to see if AllocatedStorage property is set
internal bool IsSetAllocatedStorage()
{
return this._allocatedStorage.HasValue;
}
///
/// Gets and sets the property AvailabilityZones.
///
/// A list of Availability Zones where instances in the DB cluster can be created.
///
///
public List AvailabilityZones
{
get { return this._availabilityZones; }
set { this._availabilityZones = value; }
}
// Check to see if AvailabilityZones property is set
internal bool IsSetAvailabilityZones()
{
return this._availabilityZones != null && this._availabilityZones.Count > 0;
}
///
/// Gets and sets the property ClusterCreateTime.
///
/// Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
///
///
///
/// 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 ClusterCreateTime
{
get { return this._clusterCreateTime; }
set { this._clusterCreateTime = value; }
}
// Check to see if ClusterCreateTime property is set
internal bool IsSetClusterCreateTime()
{
return this._clusterCreateTime != null;
}
///
/// Gets and sets the property DbClusterIdentifier.
///
/// The DB cluster identifier.
///
///
public string DbClusterIdentifier
{
get { return this._dbClusterIdentifier; }
set { this._dbClusterIdentifier = value; }
}
// Check to see if DbClusterIdentifier property is set
internal bool IsSetDbClusterIdentifier()
{
return this._dbClusterIdentifier != null;
}
///
/// Gets and sets the property DbClusterSnapshotAttributes.
///
/// Contains the name and values of a manual DB cluster snapshot attribute.
///
///
public List DbClusterSnapshotAttributes
{
get { return this._dbClusterSnapshotAttributes; }
set { this._dbClusterSnapshotAttributes = value; }
}
// Check to see if DbClusterSnapshotAttributes property is set
internal bool IsSetDbClusterSnapshotAttributes()
{
return this._dbClusterSnapshotAttributes != null && this._dbClusterSnapshotAttributes.Count > 0;
}
///
/// Gets and sets the property DbClusterSnapshotIdentifier.
///
/// The identifier of the DB cluster snapshot.
///
///
public string DbClusterSnapshotIdentifier
{
get { return this._dbClusterSnapshotIdentifier; }
set { this._dbClusterSnapshotIdentifier = value; }
}
// Check to see if DbClusterSnapshotIdentifier property is set
internal bool IsSetDbClusterSnapshotIdentifier()
{
return this._dbClusterSnapshotIdentifier != null;
}
///
/// Gets and sets the property Engine.
///
/// The name of the database engine that you want to use for this DB instance.
///
///
public string Engine
{
get { return this._engine; }
set { this._engine = value; }
}
// Check to see if Engine property is set
internal bool IsSetEngine()
{
return this._engine != null;
}
///
/// Gets and sets the property EngineVersion.
///
/// The version of the database engine to use.
///
///
public string EngineVersion
{
get { return this._engineVersion; }
set { this._engineVersion = value; }
}
// Check to see if EngineVersion property is set
internal bool IsSetEngineVersion()
{
return this._engineVersion != null;
}
///
/// Gets and sets the property IamDatabaseAuthenticationEnabled.
///
/// Whether mapping of IAM accounts to database accounts is enabled.
///
///
public bool IamDatabaseAuthenticationEnabled
{
get { return this._iamDatabaseAuthenticationEnabled.GetValueOrDefault(); }
set { this._iamDatabaseAuthenticationEnabled = value; }
}
// Check to see if IamDatabaseAuthenticationEnabled property is set
internal bool IsSetIamDatabaseAuthenticationEnabled()
{
return this._iamDatabaseAuthenticationEnabled.HasValue;
}
///
/// Gets and sets the property KmsKeyId.
///
/// The ARN of the KMS master key that is used to encrypt the database instances in the
/// DB cluster.
///
///
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
///
/// Gets and sets the property LicenseModel.
///
/// The license model information for this DB cluster snapshot.
///
///
public string LicenseModel
{
get { return this._licenseModel; }
set { this._licenseModel = value; }
}
// Check to see if LicenseModel property is set
internal bool IsSetLicenseModel()
{
return this._licenseModel != null;
}
///
/// Gets and sets the property MasterUsername.
///
/// The name of the master user for the DB cluster.
///
///
public string MasterUsername
{
get { return this._masterUsername; }
set { this._masterUsername = value; }
}
// Check to see if MasterUsername property is set
internal bool IsSetMasterUsername()
{
return this._masterUsername != null;
}
///
/// Gets and sets the property PercentProgress.
///
/// Specifies the percentage of the estimated data that has been transferred.
///
///
public int PercentProgress
{
get { return this._percentProgress.GetValueOrDefault(); }
set { this._percentProgress = value; }
}
// Check to see if PercentProgress property is set
internal bool IsSetPercentProgress()
{
return this._percentProgress.HasValue;
}
///
/// Gets and sets the property Port.
///
/// The port number on which the DB instances in the DB cluster accept connections.
///
///
public int Port
{
get { return this._port.GetValueOrDefault(); }
set { this._port = value; }
}
// Check to see if Port property is set
internal bool IsSetPort()
{
return this._port.HasValue;
}
///
/// Gets and sets the property SnapshotCreateTime.
///
/// Indicates when the snapshot was taken.
///
///
///
/// 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 SnapshotCreateTime
{
get { return this._snapshotCreateTime; }
set { this._snapshotCreateTime = value; }
}
// Check to see if SnapshotCreateTime property is set
internal bool IsSetSnapshotCreateTime()
{
return this._snapshotCreateTime != null;
}
///
/// Gets and sets the property SnapshotType.
///
/// The type of DB cluster snapshot.
///
///
public string SnapshotType
{
get { return this._snapshotType; }
set { this._snapshotType = value; }
}
// Check to see if SnapshotType property is set
internal bool IsSetSnapshotType()
{
return this._snapshotType != null;
}
///
/// Gets and sets the property Status.
///
/// The status of this DB cluster snapshot.
///
///
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StorageEncrypted.
///
/// Whether the DB cluster is encrypted.
///
///
public bool StorageEncrypted
{
get { return this._storageEncrypted.GetValueOrDefault(); }
set { this._storageEncrypted = value; }
}
// Check to see if StorageEncrypted property is set
internal bool IsSetStorageEncrypted()
{
return this._storageEncrypted.HasValue;
}
///
/// Gets and sets the property VpcId.
///
/// The VPC ID that is associated with the DB cluster snapshot.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}