/* * 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 sagemaker-2017-07-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.SageMaker.Model { /// /// This is the response object from the DescribeApp operation. /// public partial class DescribeAppResponse : AmazonWebServiceResponse { private string _appArn; private string _appName; private AppType _appType; private DateTime? _creationTime; private string _domainId; private string _failureReason; private DateTime? _lastHealthCheckTimestamp; private DateTime? _lastUserActivityTimestamp; private ResourceSpec _resourceSpec; private string _spaceName; private AppStatus _status; private string _userProfileName; /// /// Gets and sets the property AppArn. /// /// The Amazon Resource Name (ARN) of the app. /// /// [AWSProperty(Max=256)] public string AppArn { get { return this._appArn; } set { this._appArn = value; } } // Check to see if AppArn property is set internal bool IsSetAppArn() { return this._appArn != null; } /// /// Gets and sets the property AppName. /// /// The name of the app. /// /// [AWSProperty(Max=63)] public string AppName { get { return this._appName; } set { this._appName = value; } } // Check to see if AppName property is set internal bool IsSetAppName() { return this._appName != null; } /// /// Gets and sets the property AppType. /// /// The type of app. /// /// public AppType AppType { get { return this._appType; } set { this._appType = value; } } // Check to see if AppType property is set internal bool IsSetAppType() { return this._appType != null; } /// /// Gets and sets the property CreationTime. /// /// The creation time. /// /// 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 DomainId. /// /// The domain ID. /// /// [AWSProperty(Max=63)] public string DomainId { get { return this._domainId; } set { this._domainId = value; } } // Check to see if DomainId property is set internal bool IsSetDomainId() { return this._domainId != null; } /// /// Gets and sets the property FailureReason. /// /// The failure reason. /// /// [AWSProperty(Max=1024)] public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property LastHealthCheckTimestamp. /// /// The timestamp of the last health check. /// /// public DateTime LastHealthCheckTimestamp { get { return this._lastHealthCheckTimestamp.GetValueOrDefault(); } set { this._lastHealthCheckTimestamp = value; } } // Check to see if LastHealthCheckTimestamp property is set internal bool IsSetLastHealthCheckTimestamp() { return this._lastHealthCheckTimestamp.HasValue; } /// /// Gets and sets the property LastUserActivityTimestamp. /// /// The timestamp of the last user's activity. LastUserActivityTimestamp /// is also updated when SageMaker performs health checks without user activity. As a /// result, this value is set to the same value as LastHealthCheckTimestamp. /// /// public DateTime LastUserActivityTimestamp { get { return this._lastUserActivityTimestamp.GetValueOrDefault(); } set { this._lastUserActivityTimestamp = value; } } // Check to see if LastUserActivityTimestamp property is set internal bool IsSetLastUserActivityTimestamp() { return this._lastUserActivityTimestamp.HasValue; } /// /// Gets and sets the property ResourceSpec. /// /// The instance type and the Amazon Resource Name (ARN) of the SageMaker image created /// on the instance. /// /// public ResourceSpec ResourceSpec { get { return this._resourceSpec; } set { this._resourceSpec = value; } } // Check to see if ResourceSpec property is set internal bool IsSetResourceSpec() { return this._resourceSpec != null; } /// /// Gets and sets the property SpaceName. /// /// The name of the space. If this value is not set, then UserProfileName /// must be set. /// /// [AWSProperty(Max=63)] public string SpaceName { get { return this._spaceName; } set { this._spaceName = value; } } // Check to see if SpaceName property is set internal bool IsSetSpaceName() { return this._spaceName != null; } /// /// Gets and sets the property Status. /// /// The status. /// /// public AppStatus 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 UserProfileName. /// /// The user profile name. /// /// [AWSProperty(Max=63)] public string UserProfileName { get { return this._userProfileName; } set { this._userProfileName = value; } } // Check to see if UserProfileName property is set internal bool IsSetUserProfileName() { return this._userProfileName != null; } } }