/* * 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 kafka-2018-11-14.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.Kafka.Model { /// /// Returns information about a cluster operation. /// public partial class ClusterOperationV2Summary { private string _clusterArn; private ClusterType _clusterType; private DateTime? _endTime; private string _operationArn; private string _operationState; private string _operationType; private DateTime? _startTime; /// /// Gets and sets the property ClusterArn. /// /// ARN of the cluster. /// /// public string ClusterArn { get { return this._clusterArn; } set { this._clusterArn = value; } } // Check to see if ClusterArn property is set internal bool IsSetClusterArn() { return this._clusterArn != null; } /// /// Gets and sets the property ClusterType. /// /// Type of the backend cluster. /// /// public ClusterType ClusterType { get { return this._clusterType; } set { this._clusterType = value; } } // Check to see if ClusterType property is set internal bool IsSetClusterType() { return this._clusterType != null; } /// /// Gets and sets the property EndTime. /// /// The time at which the operation finished. /// /// public DateTime EndTime { get { return this._endTime.GetValueOrDefault(); } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime.HasValue; } /// /// Gets and sets the property OperationArn. /// /// ARN of the cluster operation. /// /// public string OperationArn { get { return this._operationArn; } set { this._operationArn = value; } } // Check to see if OperationArn property is set internal bool IsSetOperationArn() { return this._operationArn != null; } /// /// Gets and sets the property OperationState. /// /// State of the cluster operation. /// /// public string OperationState { get { return this._operationState; } set { this._operationState = value; } } // Check to see if OperationState property is set internal bool IsSetOperationState() { return this._operationState != null; } /// /// Gets and sets the property OperationType. /// /// Type of the cluster operation. /// /// public string OperationType { get { return this._operationType; } set { this._operationType = value; } } // Check to see if OperationType property is set internal bool IsSetOperationType() { return this._operationType != null; } /// /// Gets and sets the property StartTime. /// /// The time at which operation was started. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } } }