/* * 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 iotsitewise-2019-12-02.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.IoTSiteWise.Model { /// /// Container for the parameters to the PutStorageConfiguration operation. /// Configures storage settings for IoT SiteWise. /// public partial class PutStorageConfigurationRequest : AmazonIoTSiteWiseRequest { private DisassociatedDataStorageState _disassociatedDataStorage; private MultiLayerStorage _multiLayerStorage; private RetentionPeriod _retentionPeriod; private StorageType _storageType; /// /// Gets and sets the property DisassociatedDataStorage. /// /// Contains the storage configuration for time series (data streams) that aren't associated /// with asset properties. The disassociatedDataStorage can be one of the /// following values: /// /// /// /// For more information, see Data /// streams in the IoT SiteWise User Guide. /// /// public DisassociatedDataStorageState DisassociatedDataStorage { get { return this._disassociatedDataStorage; } set { this._disassociatedDataStorage = value; } } // Check to see if DisassociatedDataStorage property is set internal bool IsSetDisassociatedDataStorage() { return this._disassociatedDataStorage != null; } /// /// Gets and sets the property MultiLayerStorage. /// /// Identifies a storage destination. If you specified MULTI_LAYER_STORAGE /// for the storage type, you must specify a MultiLayerStorage object. /// /// public MultiLayerStorage MultiLayerStorage { get { return this._multiLayerStorage; } set { this._multiLayerStorage = value; } } // Check to see if MultiLayerStorage property is set internal bool IsSetMultiLayerStorage() { return this._multiLayerStorage != null; } /// /// Gets and sets the property RetentionPeriod. /// public RetentionPeriod RetentionPeriod { get { return this._retentionPeriod; } set { this._retentionPeriod = value; } } // Check to see if RetentionPeriod property is set internal bool IsSetRetentionPeriod() { return this._retentionPeriod != null; } /// /// Gets and sets the property StorageType. /// /// The storage tier that you specified for your data. The storageType parameter /// can be one of the following values: /// /// /// [AWSProperty(Required=true)] public StorageType StorageType { get { return this._storageType; } set { this._storageType = value; } } // Check to see if StorageType property is set internal bool IsSetStorageType() { return this._storageType != null; } } }