/*
* 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 worklink-2018-09-25.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.WorkLink.Model
{
///
/// This is the response object from the DescribeFleetMetadata operation.
///
public partial class DescribeFleetMetadataResponse : AmazonWebServiceResponse
{
private string _companyCode;
private DateTime? _createdTime;
private string _displayName;
private string _fleetName;
private FleetStatus _fleetStatus;
private DateTime? _lastUpdatedTime;
private bool? _optimizeForEndUserLocation;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property CompanyCode.
///
/// The identifier used by users to sign in to the Amazon WorkLink app.
///
///
[AWSProperty(Min=1, Max=32)]
public string CompanyCode
{
get { return this._companyCode; }
set { this._companyCode = value; }
}
// Check to see if CompanyCode property is set
internal bool IsSetCompanyCode()
{
return this._companyCode != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// The time that the fleet was created.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property DisplayName.
///
/// The name to display.
///
///
[AWSProperty(Max=100)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
///
/// Gets and sets the property FleetName.
///
/// The name of the fleet.
///
///
[AWSProperty(Min=1, Max=48)]
public string FleetName
{
get { return this._fleetName; }
set { this._fleetName = value; }
}
// Check to see if FleetName property is set
internal bool IsSetFleetName()
{
return this._fleetName != null;
}
///
/// Gets and sets the property FleetStatus.
///
/// The current state of the fleet.
///
///
public FleetStatus FleetStatus
{
get { return this._fleetStatus; }
set { this._fleetStatus = value; }
}
// Check to see if FleetStatus property is set
internal bool IsSetFleetStatus()
{
return this._fleetStatus != null;
}
///
/// Gets and sets the property LastUpdatedTime.
///
/// The time that the fleet was last updated.
///
///
public DateTime LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
///
/// Gets and sets the property OptimizeForEndUserLocation.
///
/// The option to optimize for better performance by routing traffic through the closest
/// AWS Region to users, which may be outside of your home Region.
///
///
public bool OptimizeForEndUserLocation
{
get { return this._optimizeForEndUserLocation.GetValueOrDefault(); }
set { this._optimizeForEndUserLocation = value; }
}
// Check to see if OptimizeForEndUserLocation property is set
internal bool IsSetOptimizeForEndUserLocation()
{
return this._optimizeForEndUserLocation.HasValue;
}
///
/// Gets and sets the property Tags.
///
/// The tags attached to the resource. A tag is a key-value pair.
///
///
[AWSProperty(Min=1, Max=50)]
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}