AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputSerialization.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/CSVInput.h>
9#include <aws/s3/model/CompressionType.h>
10#include <aws/s3/model/JSONInput.h>
11#include <aws/s3/model/ParquetInput.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace S3
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_S3_API InputSerialization();
38 AWS_S3_API InputSerialization(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const CSVInput& GetCSV() const{ return m_cSV; }
49 inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; }
50 inline void SetCSV(const CSVInput& value) { m_cSVHasBeenSet = true; m_cSV = value; }
51 inline void SetCSV(CSVInput&& value) { m_cSVHasBeenSet = true; m_cSV = std::move(value); }
52 inline InputSerialization& WithCSV(const CSVInput& value) { SetCSV(value); return *this;}
53 inline InputSerialization& WithCSV(CSVInput&& value) { SetCSV(std::move(value)); return *this;}
55
57
61 inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
62 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
63 inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
64 inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
65 inline InputSerialization& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
66 inline InputSerialization& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
68
70
73 inline const JSONInput& GetJSON() const{ return m_jSON; }
74 inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; }
75 inline void SetJSON(const JSONInput& value) { m_jSONHasBeenSet = true; m_jSON = value; }
76 inline void SetJSON(JSONInput&& value) { m_jSONHasBeenSet = true; m_jSON = std::move(value); }
77 inline InputSerialization& WithJSON(const JSONInput& value) { SetJSON(value); return *this;}
78 inline InputSerialization& WithJSON(JSONInput&& value) { SetJSON(std::move(value)); return *this;}
80
82
85 inline const ParquetInput& GetParquet() const{ return m_parquet; }
86 inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; }
87 inline void SetParquet(const ParquetInput& value) { m_parquetHasBeenSet = true; m_parquet = value; }
88 inline void SetParquet(ParquetInput&& value) { m_parquetHasBeenSet = true; m_parquet = std::move(value); }
89 inline InputSerialization& WithParquet(const ParquetInput& value) { SetParquet(value); return *this;}
90 inline InputSerialization& WithParquet(ParquetInput&& value) { SetParquet(std::move(value)); return *this;}
92 private:
93
94 CSVInput m_cSV;
95 bool m_cSVHasBeenSet = false;
96
97 CompressionType m_compressionType;
98 bool m_compressionTypeHasBeenSet = false;
99
100 JSONInput m_jSON;
101 bool m_jSONHasBeenSet = false;
102
103 ParquetInput m_parquet;
104 bool m_parquetHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace S3
109} // namespace Aws
const JSONInput & GetJSON() const
InputSerialization & WithCompressionType(const CompressionType &value)
AWS_S3_API InputSerialization & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const ParquetInput & GetParquet() const
void SetCompressionType(const CompressionType &value)
InputSerialization & WithCompressionType(CompressionType &&value)
InputSerialization & WithParquet(ParquetInput &&value)
InputSerialization & WithCSV(const CSVInput &value)
void SetParquet(ParquetInput &&value)
const CompressionType & GetCompressionType() const
InputSerialization & WithParquet(const ParquetInput &value)
InputSerialization & WithJSON(JSONInput &&value)
void SetCompressionType(CompressionType &&value)
InputSerialization & WithJSON(const JSONInput &value)
void SetParquet(const ParquetInput &value)
void SetJSON(const JSONInput &value)
InputSerialization & WithCSV(CSVInput &&value)
void SetCSV(const CSVInput &value)
AWS_S3_API InputSerialization(const Aws::Utils::Xml::XmlNode &xmlNode)