AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationOptionsRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/DestinationFileFormat.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const DestinationFileFormat& GetFileFormat() const{ return m_fileFormat; }
48 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
49 inline void SetFileFormat(const DestinationFileFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
50 inline void SetFileFormat(DestinationFileFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); }
51 inline DestinationOptionsRequest& WithFileFormat(const DestinationFileFormat& value) { SetFileFormat(value); return *this;}
52 inline DestinationOptionsRequest& WithFileFormat(DestinationFileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
54
56
60 inline bool GetHiveCompatiblePartitions() const{ return m_hiveCompatiblePartitions; }
61 inline bool HiveCompatiblePartitionsHasBeenSet() const { return m_hiveCompatiblePartitionsHasBeenSet; }
62 inline void SetHiveCompatiblePartitions(bool value) { m_hiveCompatiblePartitionsHasBeenSet = true; m_hiveCompatiblePartitions = value; }
65
67
71 inline bool GetPerHourPartition() const{ return m_perHourPartition; }
72 inline bool PerHourPartitionHasBeenSet() const { return m_perHourPartitionHasBeenSet; }
73 inline void SetPerHourPartition(bool value) { m_perHourPartitionHasBeenSet = true; m_perHourPartition = value; }
74 inline DestinationOptionsRequest& WithPerHourPartition(bool value) { SetPerHourPartition(value); return *this;}
76 private:
77
78 DestinationFileFormat m_fileFormat;
79 bool m_fileFormatHasBeenSet = false;
80
81 bool m_hiveCompatiblePartitions;
82 bool m_hiveCompatiblePartitionsHasBeenSet = false;
83
84 bool m_perHourPartition;
85 bool m_perHourPartitionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace EC2
90} // namespace Aws
void SetFileFormat(DestinationFileFormat &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DestinationOptionsRequest & WithHiveCompatiblePartitions(bool value)
DestinationOptionsRequest & WithPerHourPartition(bool value)
const DestinationFileFormat & GetFileFormat() const
DestinationOptionsRequest & WithFileFormat(const DestinationFileFormat &value)
AWS_EC2_API DestinationOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DestinationOptionsRequest & WithFileFormat(DestinationFileFormat &&value)
AWS_EC2_API DestinationOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFileFormat(const DestinationFileFormat &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream