/*
* 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 iotanalytics-2017-11-27.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.IoTAnalytics.Model
{
///
/// Where channel data is stored. You may choose one of serviceManagedS3
,
/// customerManagedS3
storage. If not specified, the default is serviceManagedS3
.
/// This can't be changed after creation of the channel.
///
public partial class ChannelStorage
{
private CustomerManagedChannelS3Storage _customerManagedS3;
private ServiceManagedChannelS3Storage _serviceManagedS3;
///
/// Gets and sets the property CustomerManagedS3.
///
/// Used to store channel data in an S3 bucket that you manage. If customer managed storage
/// is selected, the retentionPeriod
parameter is ignored. You can't change
/// the choice of S3 storage after the data store is created.
///
///
public CustomerManagedChannelS3Storage CustomerManagedS3
{
get { return this._customerManagedS3; }
set { this._customerManagedS3 = value; }
}
// Check to see if CustomerManagedS3 property is set
internal bool IsSetCustomerManagedS3()
{
return this._customerManagedS3 != null;
}
///
/// Gets and sets the property ServiceManagedS3.
///
/// Used to store channel data in an S3 bucket managed by IoT Analytics. You can't change
/// the choice of S3 storage after the data store is created.
///
///
public ServiceManagedChannelS3Storage ServiceManagedS3
{
get { return this._serviceManagedS3; }
set { this._serviceManagedS3 = value; }
}
// Check to see if ServiceManagedS3 property is set
internal bool IsSetServiceManagedS3()
{
return this._serviceManagedS3 != null;
}
}
}