/* * 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 information about an ingestion destination. /// public partial class IngestionDestination { private string _arn; private DateTime? _createdAt; private DestinationConfiguration _destinationConfiguration; private string _ingestionArn; private ProcessingConfiguration _processingConfiguration; private IngestionDestinationStatus _status; private string _statusReason; private DateTime? _updatedAt; /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name (ARN) of the ingestion destination. /// /// [AWSProperty(Required=true, Min=1, Max=1011)] 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 CreatedAt. /// /// The timestamp of when the ingestion destination was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property DestinationConfiguration. /// /// Contains information about the destination of ingested data. /// /// [AWSProperty(Required=true)] public DestinationConfiguration DestinationConfiguration { get { return this._destinationConfiguration; } set { this._destinationConfiguration = value; } } // Check to see if DestinationConfiguration property is set internal bool IsSetDestinationConfiguration() { return this._destinationConfiguration != null; } /// /// Gets and sets the property IngestionArn. /// /// The Amazon Resource Name (ARN) of the ingestion. /// /// [AWSProperty(Required=true, Min=1, Max=1011)] public string IngestionArn { get { return this._ingestionArn; } set { this._ingestionArn = value; } } // Check to see if IngestionArn property is set internal bool IsSetIngestionArn() { return this._ingestionArn != null; } /// /// Gets and sets the property ProcessingConfiguration. /// /// Contains information about how ingested data is processed. /// /// [AWSProperty(Required=true)] public ProcessingConfiguration ProcessingConfiguration { get { return this._processingConfiguration; } set { this._processingConfiguration = value; } } // Check to see if ProcessingConfiguration property is set internal bool IsSetProcessingConfiguration() { return this._processingConfiguration != null; } /// /// Gets and sets the property Status. /// /// The state of the ingestion destination. /// /// /// /// The following states are possible: /// /// /// public IngestionDestinationStatus 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 StatusReason. /// /// The reason for the current status of the ingestion destination. /// /// /// /// Only present when the status of ingestion destination is Failed. /// /// public string StatusReason { get { return this._statusReason; } set { this._statusReason = value; } } // Check to see if StatusReason property is set internal bool IsSetStatusReason() { return this._statusReason != null; } /// /// Gets and sets the property UpdatedAt. /// /// The timestamp of when the ingestion destination was last updated. /// /// 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; } } }