/*
* 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 appflow-2020-08-23.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.Appflow.Model
{
///
/// The aggregation settings that you can use to customize the output format of your
/// flow data.
///
public partial class AggregationConfig
{
private AggregationType _aggregationType;
private long? _targetFileSize;
///
/// Gets and sets the property AggregationType.
///
/// Specifies whether Amazon AppFlow aggregates the flow records into a single file,
/// or leave them unaggregated.
///
///
public AggregationType AggregationType
{
get { return this._aggregationType; }
set { this._aggregationType = value; }
}
// Check to see if AggregationType property is set
internal bool IsSetAggregationType()
{
return this._aggregationType != null;
}
///
/// Gets and sets the property TargetFileSize.
///
/// The desired file size, in MB, for each output file that Amazon AppFlow writes to the
/// flow destination. For each file, Amazon AppFlow attempts to achieve the size that
/// you specify. The actual file sizes might differ from this target based on the number
/// and size of the records that each file contains.
///
///
public long TargetFileSize
{
get { return this._targetFileSize.GetValueOrDefault(); }
set { this._targetFileSize = value; }
}
// Check to see if TargetFileSize property is set
internal bool IsSetTargetFileSize()
{
return this._targetFileSize.HasValue;
}
}
}