/*
* 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 proton-2020-07-20.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.Proton.Model
{
///
/// Summary counts of each Proton resource type.
///
public partial class CountsSummary
{
private ResourceCountsSummary _components;
private ResourceCountsSummary _environments;
private ResourceCountsSummary _environmentTemplates;
private ResourceCountsSummary _pipelines;
private ResourceCountsSummary _serviceInstances;
private ResourceCountsSummary _services;
private ResourceCountsSummary _serviceTemplates;
///
/// Gets and sets the property Components.
///
/// The total number of components in the Amazon Web Services account.
///
///
///
/// The semantics of the components
field are different from the semantics
/// of results for other infrastructure-provisioning resources. That's because at this
/// time components don't have associated templates, therefore they don't have the concept
/// of staleness. The components
object will only contain total
/// and failed
members.
///
///
public ResourceCountsSummary Components
{
get { return this._components; }
set { this._components = value; }
}
// Check to see if Components property is set
internal bool IsSetComponents()
{
return this._components != null;
}
///
/// Gets and sets the property Environments.
///
/// The staleness counts for Proton environments in the Amazon Web Services account. The
/// environments
object will only contain total
members.
///
///
public ResourceCountsSummary Environments
{
get { return this._environments; }
set { this._environments = value; }
}
// Check to see if Environments property is set
internal bool IsSetEnvironments()
{
return this._environments != null;
}
///
/// Gets and sets the property EnvironmentTemplates.
///
/// The total number of environment templates in the Amazon Web Services account. The
/// environmentTemplates
object will only contain total
members.
///
///
public ResourceCountsSummary EnvironmentTemplates
{
get { return this._environmentTemplates; }
set { this._environmentTemplates = value; }
}
// Check to see if EnvironmentTemplates property is set
internal bool IsSetEnvironmentTemplates()
{
return this._environmentTemplates != null;
}
///
/// Gets and sets the property Pipelines.
///
/// The staleness counts for Proton pipelines in the Amazon Web Services account.
///
///
public ResourceCountsSummary Pipelines
{
get { return this._pipelines; }
set { this._pipelines = value; }
}
// Check to see if Pipelines property is set
internal bool IsSetPipelines()
{
return this._pipelines != null;
}
///
/// Gets and sets the property ServiceInstances.
///
/// The staleness counts for Proton service instances in the Amazon Web Services account.
///
///
public ResourceCountsSummary ServiceInstances
{
get { return this._serviceInstances; }
set { this._serviceInstances = value; }
}
// Check to see if ServiceInstances property is set
internal bool IsSetServiceInstances()
{
return this._serviceInstances != null;
}
///
/// Gets and sets the property Services.
///
/// The staleness counts for Proton services in the Amazon Web Services account.
///
///
public ResourceCountsSummary Services
{
get { return this._services; }
set { this._services = value; }
}
// Check to see if Services property is set
internal bool IsSetServices()
{
return this._services != null;
}
///
/// Gets and sets the property ServiceTemplates.
///
/// The total number of service templates in the Amazon Web Services account. The serviceTemplates
/// object will only contain total
members.
///
///
public ResourceCountsSummary ServiceTemplates
{
get { return this._serviceTemplates; }
set { this._serviceTemplates = value; }
}
// Check to see if ServiceTemplates property is set
internal bool IsSetServiceTemplates()
{
return this._serviceTemplates != null;
}
}
}