/*
* 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
{
///
/// Specifies elements that Amazon AppFlow includes in the file and folder names in the
/// flow destination.
///
public partial class PrefixConfig
{
private List _pathPrefixHierarchy = new List();
private PrefixFormat _prefixFormat;
private PrefixType _prefixType;
///
/// Gets and sets the property PathPrefixHierarchy.
///
/// Specifies whether the destination file path includes either or both of the following
/// elements:
///
/// - EXECUTION_ID
-
///
/// The ID that Amazon AppFlow assigns to the flow run.
///
///
- SCHEMA_VERSION
-
///
/// The version number of your data schema. Amazon AppFlow assigns this version number.
/// The version number increases by one when you change any of the following settings
/// in your flow configuration:
///
///
-
///
/// Source-to-destination field mappings
///
///
-
///
/// Field data types
///
///
-
///
/// Partition keys
///
///
///
public List PathPrefixHierarchy
{
get { return this._pathPrefixHierarchy; }
set { this._pathPrefixHierarchy = value; }
}
// Check to see if PathPrefixHierarchy property is set
internal bool IsSetPathPrefixHierarchy()
{
return this._pathPrefixHierarchy != null && this._pathPrefixHierarchy.Count > 0;
}
///
/// Gets and sets the property PrefixFormat.
///
/// Determines the level of granularity for the date and time that's included in the prefix.
///
///
///
public PrefixFormat PrefixFormat
{
get { return this._prefixFormat; }
set { this._prefixFormat = value; }
}
// Check to see if PrefixFormat property is set
internal bool IsSetPrefixFormat()
{
return this._prefixFormat != null;
}
///
/// Gets and sets the property PrefixType.
///
/// Determines the format of the prefix, and whether it applies to the file name, file
/// path, or both.
///
///
public PrefixType PrefixType
{
get { return this._prefixType; }
set { this._prefixType = value; }
}
// Check to see if PrefixType property is set
internal bool IsSetPrefixType()
{
return this._prefixType != null;
}
}
}