/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the destination options for a flow log.See Also:
* AWS
* API Reference
The format for the flow log.
*/ inline const DestinationFileFormat& GetFileFormat() const{ return m_fileFormat; } /** *The format for the flow log.
*/ inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; } /** *The format for the flow log.
*/ inline void SetFileFormat(const DestinationFileFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; } /** *The format for the flow log.
*/ inline void SetFileFormat(DestinationFileFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); } /** *The format for the flow log.
*/ inline DestinationOptionsResponse& WithFileFormat(const DestinationFileFormat& value) { SetFileFormat(value); return *this;} /** *The format for the flow log.
*/ inline DestinationOptionsResponse& WithFileFormat(DestinationFileFormat&& value) { SetFileFormat(std::move(value)); return *this;} /** *Indicates whether to use Hive-compatible prefixes for flow logs stored in * Amazon S3.
*/ inline bool GetHiveCompatiblePartitions() const{ return m_hiveCompatiblePartitions; } /** *Indicates whether to use Hive-compatible prefixes for flow logs stored in * Amazon S3.
*/ inline bool HiveCompatiblePartitionsHasBeenSet() const { return m_hiveCompatiblePartitionsHasBeenSet; } /** *Indicates whether to use Hive-compatible prefixes for flow logs stored in * Amazon S3.
*/ inline void SetHiveCompatiblePartitions(bool value) { m_hiveCompatiblePartitionsHasBeenSet = true; m_hiveCompatiblePartitions = value; } /** *Indicates whether to use Hive-compatible prefixes for flow logs stored in * Amazon S3.
*/ inline DestinationOptionsResponse& WithHiveCompatiblePartitions(bool value) { SetHiveCompatiblePartitions(value); return *this;} /** *Indicates whether to partition the flow log per hour.
*/ inline bool GetPerHourPartition() const{ return m_perHourPartition; } /** *Indicates whether to partition the flow log per hour.
*/ inline bool PerHourPartitionHasBeenSet() const { return m_perHourPartitionHasBeenSet; } /** *Indicates whether to partition the flow log per hour.
*/ inline void SetPerHourPartition(bool value) { m_perHourPartitionHasBeenSet = true; m_perHourPartition = value; } /** *Indicates whether to partition the flow log per hour.
*/ inline DestinationOptionsResponse& WithPerHourPartition(bool value) { SetPerHourPartition(value); return *this;} private: DestinationFileFormat m_fileFormat; bool m_fileFormatHasBeenSet = false; bool m_hiveCompatiblePartitions; bool m_hiveCompatiblePartitionsHasBeenSet = false; bool m_perHourPartition; bool m_perHourPartitionHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws