AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
35 AWS_EC2_API DestinationOptionsRequest() = default;
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 DestinationFileFormat GetFileFormat() const { return m_fileFormat; }
48 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
49 inline void SetFileFormat(DestinationFileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
52
54
58 inline bool GetHiveCompatiblePartitions() const { return m_hiveCompatiblePartitions; }
59 inline bool HiveCompatiblePartitionsHasBeenSet() const { return m_hiveCompatiblePartitionsHasBeenSet; }
60 inline void SetHiveCompatiblePartitions(bool value) { m_hiveCompatiblePartitionsHasBeenSet = true; m_hiveCompatiblePartitions = value; }
63
65
69 inline bool GetPerHourPartition() const { return m_perHourPartition; }
70 inline bool PerHourPartitionHasBeenSet() const { return m_perHourPartitionHasBeenSet; }
71 inline void SetPerHourPartition(bool value) { m_perHourPartitionHasBeenSet = true; m_perHourPartition = value; }
72 inline DestinationOptionsRequest& WithPerHourPartition(bool value) { SetPerHourPartition(value); return *this;}
74 private:
75
77 bool m_fileFormatHasBeenSet = false;
78
79 bool m_hiveCompatiblePartitions{false};
80 bool m_hiveCompatiblePartitionsHasBeenSet = false;
81
82 bool m_perHourPartition{false};
83 bool m_perHourPartitionHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace EC2
88} // namespace Aws
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)
AWS_EC2_API DestinationOptionsRequest()=default
AWS_EC2_API DestinationOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API DestinationOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DestinationOptionsRequest & WithFileFormat(DestinationFileFormat value)
void SetFileFormat(DestinationFileFormat value)
std::basic_ostream< char, std::char_traits< char > > OStream