/* * 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 eventbridge-2015-10-07.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.EventBridge.Model { /// /// This is the response object from the UpdateEndpoint operation. /// public partial class UpdateEndpointResponse : AmazonWebServiceResponse { private string _arn; private string _endpointId; private string _endpointUrl; private List _eventBuses = new List(); private string _name; private ReplicationConfig _replicationConfig; private string _roleArn; private RoutingConfig _routingConfig; private EndpointState _state; /// /// Gets and sets the property Arn. /// /// The ARN of the endpoint you updated in this request. /// /// [AWSProperty(Min=1, Max=1600)] 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 EndpointId. /// /// The ID of the endpoint you updated in this request. /// /// [AWSProperty(Min=1, Max=50)] public string EndpointId { get { return this._endpointId; } set { this._endpointId = value; } } // Check to see if EndpointId property is set internal bool IsSetEndpointId() { return this._endpointId != null; } /// /// Gets and sets the property EndpointUrl. /// /// The URL of the endpoint you updated in this request. /// /// [AWSProperty(Min=1, Max=256)] public string EndpointUrl { get { return this._endpointUrl; } set { this._endpointUrl = value; } } // Check to see if EndpointUrl property is set internal bool IsSetEndpointUrl() { return this._endpointUrl != null; } /// /// Gets and sets the property EventBuses. /// /// The event buses used for replication for the endpoint you updated in this request. /// /// [AWSProperty(Min=2, Max=2)] public List EventBuses { get { return this._eventBuses; } set { this._eventBuses = value; } } // Check to see if EventBuses property is set internal bool IsSetEventBuses() { return this._eventBuses != null && this._eventBuses.Count > 0; } /// /// Gets and sets the property Name. /// /// The name of the endpoint you updated in this request. /// /// [AWSProperty(Min=1, Max=64)] 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 ReplicationConfig. /// /// Whether event replication was enabled or disabled for the endpoint you updated in /// this request. /// /// public ReplicationConfig ReplicationConfig { get { return this._replicationConfig; } set { this._replicationConfig = value; } } // Check to see if ReplicationConfig property is set internal bool IsSetReplicationConfig() { return this._replicationConfig != null; } /// /// Gets and sets the property RoleArn. /// /// The ARN of the role used by event replication for the endpoint you updated in this /// request. /// /// [AWSProperty(Min=1, Max=256)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property RoutingConfig. /// /// The routing configuration you updated in this request. /// /// public RoutingConfig RoutingConfig { get { return this._routingConfig; } set { this._routingConfig = value; } } // Check to see if RoutingConfig property is set internal bool IsSetRoutingConfig() { return this._routingConfig != null; } /// /// Gets and sets the property State. /// /// The state of the endpoint you updated in this request. /// /// public EndpointState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }