AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DestinationOptionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/DestinationFileFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
29 public:
30 AWS_EC2_API DestinationOptionsRequest() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline DestinationFileFormat GetFileFormat() const { return m_fileFormat; }
42 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
44 m_fileFormatHasBeenSet = true;
45 m_fileFormat = value;
46 }
48 SetFileFormat(value);
49 return *this;
50 }
52
54
58 inline bool GetHiveCompatiblePartitions() const { return m_hiveCompatiblePartitions; }
59 inline bool HiveCompatiblePartitionsHasBeenSet() const { return m_hiveCompatiblePartitionsHasBeenSet; }
60 inline void SetHiveCompatiblePartitions(bool value) {
61 m_hiveCompatiblePartitionsHasBeenSet = true;
62 m_hiveCompatiblePartitions = value;
63 }
66 return *this;
67 }
69
71
75 inline bool GetPerHourPartition() const { return m_perHourPartition; }
76 inline bool PerHourPartitionHasBeenSet() const { return m_perHourPartitionHasBeenSet; }
77 inline void SetPerHourPartition(bool value) {
78 m_perHourPartitionHasBeenSet = true;
79 m_perHourPartition = value;
80 }
83 return *this;
84 }
86 private:
88
89 bool m_hiveCompatiblePartitions{false};
90
91 bool m_perHourPartition{false};
92 bool m_fileFormatHasBeenSet = false;
93 bool m_hiveCompatiblePartitionsHasBeenSet = false;
94 bool m_perHourPartitionHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace EC2
99} // 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