/*
* 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 ds-2015-04-16.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.DirectoryService.Model
{
///
/// Contains directory limit information for a Region.
///
public partial class DirectoryLimits
{
private int? _cloudOnlyDirectoriesCurrentCount;
private int? _cloudOnlyDirectoriesLimit;
private bool? _cloudOnlyDirectoriesLimitReached;
private int? _cloudOnlyMicrosoftADCurrentCount;
private int? _cloudOnlyMicrosoftADLimit;
private bool? _cloudOnlyMicrosoftADLimitReached;
private int? _connectedDirectoriesCurrentCount;
private int? _connectedDirectoriesLimit;
private bool? _connectedDirectoriesLimitReached;
///
/// Gets and sets the property CloudOnlyDirectoriesCurrentCount.
///
/// The current number of cloud directories in the Region.
///
///
[AWSProperty(Min=0)]
public int CloudOnlyDirectoriesCurrentCount
{
get { return this._cloudOnlyDirectoriesCurrentCount.GetValueOrDefault(); }
set { this._cloudOnlyDirectoriesCurrentCount = value; }
}
// Check to see if CloudOnlyDirectoriesCurrentCount property is set
internal bool IsSetCloudOnlyDirectoriesCurrentCount()
{
return this._cloudOnlyDirectoriesCurrentCount.HasValue;
}
///
/// Gets and sets the property CloudOnlyDirectoriesLimit.
///
/// The maximum number of cloud directories allowed in the Region.
///
///
[AWSProperty(Min=0)]
public int CloudOnlyDirectoriesLimit
{
get { return this._cloudOnlyDirectoriesLimit.GetValueOrDefault(); }
set { this._cloudOnlyDirectoriesLimit = value; }
}
// Check to see if CloudOnlyDirectoriesLimit property is set
internal bool IsSetCloudOnlyDirectoriesLimit()
{
return this._cloudOnlyDirectoriesLimit.HasValue;
}
///
/// Gets and sets the property CloudOnlyDirectoriesLimitReached.
///
/// Indicates if the cloud directory limit has been reached.
///
///
public bool CloudOnlyDirectoriesLimitReached
{
get { return this._cloudOnlyDirectoriesLimitReached.GetValueOrDefault(); }
set { this._cloudOnlyDirectoriesLimitReached = value; }
}
// Check to see if CloudOnlyDirectoriesLimitReached property is set
internal bool IsSetCloudOnlyDirectoriesLimitReached()
{
return this._cloudOnlyDirectoriesLimitReached.HasValue;
}
///
/// Gets and sets the property CloudOnlyMicrosoftADCurrentCount.
///
/// The current number of Managed Microsoft AD directories in the region.
///
///
[AWSProperty(Min=0)]
public int CloudOnlyMicrosoftADCurrentCount
{
get { return this._cloudOnlyMicrosoftADCurrentCount.GetValueOrDefault(); }
set { this._cloudOnlyMicrosoftADCurrentCount = value; }
}
// Check to see if CloudOnlyMicrosoftADCurrentCount property is set
internal bool IsSetCloudOnlyMicrosoftADCurrentCount()
{
return this._cloudOnlyMicrosoftADCurrentCount.HasValue;
}
///
/// Gets and sets the property CloudOnlyMicrosoftADLimit.
///
/// The maximum number of Managed Microsoft AD directories allowed in the region.
///
///
[AWSProperty(Min=0)]
public int CloudOnlyMicrosoftADLimit
{
get { return this._cloudOnlyMicrosoftADLimit.GetValueOrDefault(); }
set { this._cloudOnlyMicrosoftADLimit = value; }
}
// Check to see if CloudOnlyMicrosoftADLimit property is set
internal bool IsSetCloudOnlyMicrosoftADLimit()
{
return this._cloudOnlyMicrosoftADLimit.HasValue;
}
///
/// Gets and sets the property CloudOnlyMicrosoftADLimitReached.
///
/// Indicates if the Managed Microsoft AD directory limit has been reached.
///
///
public bool CloudOnlyMicrosoftADLimitReached
{
get { return this._cloudOnlyMicrosoftADLimitReached.GetValueOrDefault(); }
set { this._cloudOnlyMicrosoftADLimitReached = value; }
}
// Check to see if CloudOnlyMicrosoftADLimitReached property is set
internal bool IsSetCloudOnlyMicrosoftADLimitReached()
{
return this._cloudOnlyMicrosoftADLimitReached.HasValue;
}
///
/// Gets and sets the property ConnectedDirectoriesCurrentCount.
///
/// The current number of connected directories in the Region.
///
///
[AWSProperty(Min=0)]
public int ConnectedDirectoriesCurrentCount
{
get { return this._connectedDirectoriesCurrentCount.GetValueOrDefault(); }
set { this._connectedDirectoriesCurrentCount = value; }
}
// Check to see if ConnectedDirectoriesCurrentCount property is set
internal bool IsSetConnectedDirectoriesCurrentCount()
{
return this._connectedDirectoriesCurrentCount.HasValue;
}
///
/// Gets and sets the property ConnectedDirectoriesLimit.
///
/// The maximum number of connected directories allowed in the Region.
///
///
[AWSProperty(Min=0)]
public int ConnectedDirectoriesLimit
{
get { return this._connectedDirectoriesLimit.GetValueOrDefault(); }
set { this._connectedDirectoriesLimit = value; }
}
// Check to see if ConnectedDirectoriesLimit property is set
internal bool IsSetConnectedDirectoriesLimit()
{
return this._connectedDirectoriesLimit.HasValue;
}
///
/// Gets and sets the property ConnectedDirectoriesLimitReached.
///
/// Indicates if the connected directory limit has been reached.
///
///
public bool ConnectedDirectoriesLimitReached
{
get { return this._connectedDirectoriesLimitReached.GetValueOrDefault(); }
set { this._connectedDirectoriesLimitReached = value; }
}
// Check to see if ConnectedDirectoriesLimitReached property is set
internal bool IsSetConnectedDirectoriesLimitReached()
{
return this._connectedDirectoriesLimitReached.HasValue;
}
}
}