/* * 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 appfabric-2023-05-19.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.AppFabric.Model { /// /// Contains a summary of an app authorization. /// public partial class AppAuthorizationSummary { private string _app; private string _appAuthorizationArn; private string _appBundleArn; private AppAuthorizationStatus _status; private Tenant _tenant; private DateTime? _updatedAt; /// /// Gets and sets the property App. /// /// The name of the application. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string App { get { return this._app; } set { this._app = value; } } // Check to see if App property is set internal bool IsSetApp() { return this._app != null; } /// /// Gets and sets the property AppAuthorizationArn. /// /// The Amazon Resource Name (ARN) of the app authorization. /// /// [AWSProperty(Required=true, Min=1, Max=1011)] public string AppAuthorizationArn { get { return this._appAuthorizationArn; } set { this._appAuthorizationArn = value; } } // Check to see if AppAuthorizationArn property is set internal bool IsSetAppAuthorizationArn() { return this._appAuthorizationArn != null; } /// /// Gets and sets the property AppBundleArn. /// /// The Amazon Resource Name (ARN) of the app bundle for the app authorization. /// /// [AWSProperty(Required=true, Min=1, Max=1011)] public string AppBundleArn { get { return this._appBundleArn; } set { this._appBundleArn = value; } } // Check to see if AppBundleArn property is set internal bool IsSetAppBundleArn() { return this._appBundleArn != null; } /// /// Gets and sets the property Status. /// /// The state of the app authorization. /// /// /// /// The following states are possible: /// /// /// [AWSProperty(Required=true)] public AppAuthorizationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property Tenant. /// /// Contains information about an application tenant, such as the application display /// name and identifier. /// /// [AWSProperty(Required=true)] public Tenant Tenant { get { return this._tenant; } set { this._tenant = value; } } // Check to see if Tenant property is set internal bool IsSetTenant() { return this._tenant != null; } /// /// Gets and sets the property UpdatedAt. /// /// Timestamp for when the app authorization was last updated. /// /// [AWSProperty(Required=true)] public DateTime UpdatedAt { get { return this._updatedAt.GetValueOrDefault(); } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt.HasValue; } } }