/* * 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 dataexchange-2017-07-25.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.DataExchange.Model { /// /// This is the response object from the CreateDataSet operation. /// public partial class CreateDataSetResponse : AmazonWebServiceResponse { private string _arn; private AssetType _assetType; private DateTime? _createdAt; private string _description; private string _id; private string _name; private Origin _origin; private OriginDetails _originDetails; private string _sourceId; private Dictionary _tags = new Dictionary(); private DateTime? _updatedAt; /// /// Gets and sets the property Arn. /// /// The ARN for the data set. /// /// 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 AssetType. /// /// The type of asset that is added to a data set. /// /// public AssetType AssetType { get { return this._assetType; } set { this._assetType = value; } } // Check to see if AssetType property is set internal bool IsSetAssetType() { return this._assetType != null; } /// /// Gets and sets the property CreatedAt. /// /// The date and time that the data set was created, in ISO 8601 format. /// /// 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 Description. /// /// The description for the data set. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Id. /// /// The unique identifier for the data set. /// /// public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property Name. /// /// The name of the data set. /// /// 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 Origin. /// /// A property that defines the data set as OWNED by the account (for providers) or ENTITLED /// to the account (for subscribers). /// /// public Origin Origin { get { return this._origin; } set { this._origin = value; } } // Check to see if Origin property is set internal bool IsSetOrigin() { return this._origin != null; } /// /// Gets and sets the property OriginDetails. /// /// If the origin of this data set is ENTITLED, includes the details for the product on /// AWS Marketplace. /// /// public OriginDetails OriginDetails { get { return this._originDetails; } set { this._originDetails = value; } } // Check to see if OriginDetails property is set internal bool IsSetOriginDetails() { return this._originDetails != null; } /// /// Gets and sets the property SourceId. /// /// The data set ID of the owned data set corresponding to the entitled data set being /// viewed. This parameter is returned when a data set owner is viewing the entitled copy /// of its owned data set. /// /// public string SourceId { get { return this._sourceId; } set { this._sourceId = value; } } // Check to see if SourceId property is set internal bool IsSetSourceId() { return this._sourceId != null; } /// /// Gets and sets the property Tags. /// /// The tags for the data set. /// /// public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property UpdatedAt. /// /// The date and time that the data set was last updated, in ISO 8601 format. /// /// 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; } } }