/* * 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model { /// /// This is the response object from the GetApplication operation. /// public partial class GetApplicationResponse : AmazonWebServiceResponse { private string _arn; private int? _associatedResourceCount; private DateTime? _creationTime; private string _description; private string _id; private Integrations _integrations; private DateTime? _lastUpdateTime; private string _name; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property Arn. /// /// The Amazon resource name (ARN) that specifies the application across services. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property AssociatedResourceCount. /// /// The number of top-level resources that were registered as part of this application. /// /// [AWSProperty(Min=0)] public int AssociatedResourceCount { get { return this._associatedResourceCount.GetValueOrDefault(); } set { this._associatedResourceCount = value; } } // Check to see if AssociatedResourceCount property is set internal bool IsSetAssociatedResourceCount() { return this._associatedResourceCount.HasValue; } /// /// Gets and sets the property CreationTime. /// /// The ISO-8601 formatted timestamp of the moment when the application was created. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property Description. /// /// The description of the application. /// /// [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Id. /// /// The identifier of the application. /// /// [AWSProperty(Min=26, Max=26)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property Integrations. /// /// The information about the integration of the application with other services, such /// as Resource Groups. /// /// public Integrations Integrations { get { return this._integrations; } set { this._integrations = value; } } // Check to see if Integrations property is set internal bool IsSetIntegrations() { return this._integrations != null; } /// /// Gets and sets the property LastUpdateTime. /// /// The ISO-8601 formatted timestamp of the moment when the application was last updated. /// /// public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// /// Gets and sets the property Name. /// /// The name of the application. The name must be unique in the region in which you are /// creating the application. /// /// [AWSProperty(Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Tags. /// /// Key-value pairs associated with the application. /// /// [AWSProperty(Min=0, 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; } } }