/*
* 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 backup-gateway-2021-01-01.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.BackupGateway.Model
{
///
/// The details of gateway.
///
public partial class GatewayDetails
{
private string _gatewayArn;
private string _gatewayDisplayName;
private GatewayType _gatewayType;
private string _hypervisorId;
private DateTime? _lastSeenTime;
private MaintenanceStartTime _maintenanceStartTime;
private DateTime? _nextUpdateAvailabilityTime;
private string _vpcEndpoint;
///
/// Gets and sets the property GatewayArn.
///
/// The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation
/// to return a list of gateways for your account and Amazon Web Services Region.
///
///
[AWSProperty(Min=50, Max=500)]
public string GatewayArn
{
get { return this._gatewayArn; }
set { this._gatewayArn = value; }
}
// Check to see if GatewayArn property is set
internal bool IsSetGatewayArn()
{
return this._gatewayArn != null;
}
///
/// Gets and sets the property GatewayDisplayName.
///
/// The display name of the gateway.
///
///
[AWSProperty(Min=1, Max=100)]
public string GatewayDisplayName
{
get { return this._gatewayDisplayName; }
set { this._gatewayDisplayName = value; }
}
// Check to see if GatewayDisplayName property is set
internal bool IsSetGatewayDisplayName()
{
return this._gatewayDisplayName != null;
}
///
/// Gets and sets the property GatewayType.
///
/// The type of the gateway type.
///
///
public GatewayType GatewayType
{
get { return this._gatewayType; }
set { this._gatewayType = value; }
}
// Check to see if GatewayType property is set
internal bool IsSetGatewayType()
{
return this._gatewayType != null;
}
///
/// Gets and sets the property HypervisorId.
///
/// The hypervisor ID of the gateway.
///
///
[AWSProperty(Min=1, Max=100)]
public string HypervisorId
{
get { return this._hypervisorId; }
set { this._hypervisorId = value; }
}
// Check to see if HypervisorId property is set
internal bool IsSetHypervisorId()
{
return this._hypervisorId != null;
}
///
/// Gets and sets the property LastSeenTime.
///
/// Details showing the last time Backup gateway communicated with the cloud, in Unix
/// format and UTC time.
///
///
public DateTime LastSeenTime
{
get { return this._lastSeenTime.GetValueOrDefault(); }
set { this._lastSeenTime = value; }
}
// Check to see if LastSeenTime property is set
internal bool IsSetLastSeenTime()
{
return this._lastSeenTime.HasValue;
}
///
/// Gets and sets the property MaintenanceStartTime.
///
/// Returns your gateway's weekly maintenance start time including the day and time of
/// the week. Note that values are in terms of the gateway's time zone. Can be weekly
/// or monthly.
///
///
public MaintenanceStartTime MaintenanceStartTime
{
get { return this._maintenanceStartTime; }
set { this._maintenanceStartTime = value; }
}
// Check to see if MaintenanceStartTime property is set
internal bool IsSetMaintenanceStartTime()
{
return this._maintenanceStartTime != null;
}
///
/// Gets and sets the property NextUpdateAvailabilityTime.
///
/// Details showing the next update availability time of the gateway.
///
///
public DateTime NextUpdateAvailabilityTime
{
get { return this._nextUpdateAvailabilityTime.GetValueOrDefault(); }
set { this._nextUpdateAvailabilityTime = value; }
}
// Check to see if NextUpdateAvailabilityTime property is set
internal bool IsSetNextUpdateAvailabilityTime()
{
return this._nextUpdateAvailabilityTime.HasValue;
}
///
/// Gets and sets the property VpcEndpoint.
///
/// The DNS name for the virtual private cloud (VPC) endpoint the gateway uses to connect
/// to the cloud for backup gateway.
///
///
[AWSProperty(Min=1, Max=255)]
public string VpcEndpoint
{
get { return this._vpcEndpoint; }
set { this._vpcEndpoint = value; }
}
// Check to see if VpcEndpoint property is set
internal bool IsSetVpcEndpoint()
{
return this._vpcEndpoint != null;
}
}
}