/* * 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 migration-hub-refactor-spaces-2021-10-26.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.MigrationHubRefactorSpaces.Model { /// /// This is the response object from the UpdateRoute operation. /// public partial class UpdateRouteResponse : AmazonWebServiceResponse { private string _applicationId; private string _arn; private DateTime? _lastUpdatedTime; private string _routeId; private string _serviceId; private RouteState _state; /// /// Gets and sets the property ApplicationId. /// /// The ID of the application in which the route is being updated. /// /// [AWSProperty(Min=14, Max=14)] public string ApplicationId { get { return this._applicationId; } set { this._applicationId = value; } } // Check to see if ApplicationId property is set internal bool IsSetApplicationId() { return this._applicationId != null; } /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id /// . For more information about ARNs, see /// Amazon Resource Names (ARNs) in the Amazon Web Services General Reference. /// /// /// [AWSProperty(Min=20, Max=2048)] 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 LastUpdatedTime. /// /// A timestamp that indicates when the route was last updated. /// /// public DateTime LastUpdatedTime { get { return this._lastUpdatedTime.GetValueOrDefault(); } set { this._lastUpdatedTime = value; } } // Check to see if LastUpdatedTime property is set internal bool IsSetLastUpdatedTime() { return this._lastUpdatedTime.HasValue; } /// /// Gets and sets the property RouteId. /// /// The unique identifier of the route. /// /// [AWSProperty(Min=14, Max=14)] public string RouteId { get { return this._routeId; } set { this._routeId = value; } } // Check to see if RouteId property is set internal bool IsSetRouteId() { return this._routeId != null; } /// /// Gets and sets the property ServiceId. /// /// The ID of service in which the route was created. Traffic that matches this route /// is forwarded to this service. /// /// [AWSProperty(Min=14, Max=14)] public string ServiceId { get { return this._serviceId; } set { this._serviceId = value; } } // Check to see if ServiceId property is set internal bool IsSetServiceId() { return this._serviceId != null; } /// /// Gets and sets the property State. /// /// The current state of the route. /// /// public RouteState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }