AWS SDK for C++  1.9.73
AWS SDK for C++
InputSerialization.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace S3Crt
24 {
25 namespace Model
26 {
27 
35  {
36  public:
40 
41  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42 
43 
47  inline const CSVInput& GetCSV() const{ return m_cSV; }
48 
52  inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; }
53 
57  inline void SetCSV(const CSVInput& value) { m_cSVHasBeenSet = true; m_cSV = value; }
58 
62  inline void SetCSV(CSVInput&& value) { m_cSVHasBeenSet = true; m_cSV = std::move(value); }
63 
67  inline InputSerialization& WithCSV(const CSVInput& value) { SetCSV(value); return *this;}
68 
72  inline InputSerialization& WithCSV(CSVInput&& value) { SetCSV(std::move(value)); return *this;}
73 
74 
79  inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
80 
85  inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
86 
91  inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
92 
97  inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
98 
103  inline InputSerialization& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
104 
109  inline InputSerialization& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
110 
111 
115  inline const JSONInput& GetJSON() const{ return m_jSON; }
116 
120  inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; }
121 
125  inline void SetJSON(const JSONInput& value) { m_jSONHasBeenSet = true; m_jSON = value; }
126 
130  inline void SetJSON(JSONInput&& value) { m_jSONHasBeenSet = true; m_jSON = std::move(value); }
131 
135  inline InputSerialization& WithJSON(const JSONInput& value) { SetJSON(value); return *this;}
136 
140  inline InputSerialization& WithJSON(JSONInput&& value) { SetJSON(std::move(value)); return *this;}
141 
142 
146  inline const ParquetInput& GetParquet() const{ return m_parquet; }
147 
151  inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; }
152 
156  inline void SetParquet(const ParquetInput& value) { m_parquetHasBeenSet = true; m_parquet = value; }
157 
161  inline void SetParquet(ParquetInput&& value) { m_parquetHasBeenSet = true; m_parquet = std::move(value); }
162 
166  inline InputSerialization& WithParquet(const ParquetInput& value) { SetParquet(value); return *this;}
167 
171  inline InputSerialization& WithParquet(ParquetInput&& value) { SetParquet(std::move(value)); return *this;}
172 
173  private:
174 
175  CSVInput m_cSV;
176  bool m_cSVHasBeenSet;
177 
178  CompressionType m_compressionType;
179  bool m_compressionTypeHasBeenSet;
180 
181  JSONInput m_jSON;
182  bool m_jSONHasBeenSet;
183 
184  ParquetInput m_parquet;
185  bool m_parquetHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace S3Crt
190 } // namespace Aws
Aws::S3Crt::Model::JSONInput
Definition: JSONInput.h:32
Aws::S3Crt::Model::InputSerialization::SetCSV
void SetCSV(CSVInput &&value)
Definition: InputSerialization.h:62
Aws::S3Crt::Model::CSVInput
Definition: CSVInput.h:33
CompressionType.h
Aws::S3Crt::Model::InputSerialization::SetCompressionType
void SetCompressionType(const CompressionType &value)
Definition: InputSerialization.h:91
Aws::S3Crt::Model::InputSerialization::InputSerialization
InputSerialization(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Crt::Model::InputSerialization::WithCompressionType
InputSerialization & WithCompressionType(CompressionType &&value)
Definition: InputSerialization.h:109
Aws::S3Crt::Model::InputSerialization::SetParquet
void SetParquet(ParquetInput &&value)
Definition: InputSerialization.h:161
Aws::S3Crt::Model::InputSerialization::SetCSV
void SetCSV(const CSVInput &value)
Definition: InputSerialization.h:57
CSVInput.h
Aws::S3Crt::Model::InputSerialization::JSONHasBeenSet
bool JSONHasBeenSet() const
Definition: InputSerialization.h:120
JSONInput.h
Aws::S3Crt::Model::InputSerialization::CompressionTypeHasBeenSet
bool CompressionTypeHasBeenSet() const
Definition: InputSerialization.h:85
Aws::S3Crt::Model::ParquetInput
Definition: ParquetInput.h:29
Aws::S3Crt::Model::InputSerialization::GetCSV
const CSVInput & GetCSV() const
Definition: InputSerialization.h:47
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CRT_API
#define AWS_S3CRT_API
Definition: S3Crt_EXPORTS.h:28
Aws::S3Crt::Model::InputSerialization::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Crt::Model::InputSerialization::ParquetHasBeenSet
bool ParquetHasBeenSet() const
Definition: InputSerialization.h:151
Aws::S3Crt::Model::InputSerialization::WithCompressionType
InputSerialization & WithCompressionType(const CompressionType &value)
Definition: InputSerialization.h:103
Aws::S3Crt::Model::InputSerialization::InputSerialization
InputSerialization()
Aws::S3Crt::Model::InputSerialization::WithCSV
InputSerialization & WithCSV(CSVInput &&value)
Definition: InputSerialization.h:72
ParquetInput.h
Aws::S3Crt::Model::InputSerialization::GetJSON
const JSONInput & GetJSON() const
Definition: InputSerialization.h:115
Aws::S3Crt::Model::InputSerialization::WithParquet
InputSerialization & WithParquet(const ParquetInput &value)
Definition: InputSerialization.h:166
Aws::S3Crt::Model::InputSerialization::SetJSON
void SetJSON(JSONInput &&value)
Definition: InputSerialization.h:130
Aws::S3Crt::Model::InputSerialization::SetJSON
void SetJSON(const JSONInput &value)
Definition: InputSerialization.h:125
Aws::S3Crt::Model::InputSerialization::SetCompressionType
void SetCompressionType(CompressionType &&value)
Definition: InputSerialization.h:97
Aws::S3Crt::Model::InputSerialization::GetCompressionType
const CompressionType & GetCompressionType() const
Definition: InputSerialization.h:79
Aws::S3Crt::Model::InputSerialization::operator=
InputSerialization & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Crt::Model::InputSerialization::CSVHasBeenSet
bool CSVHasBeenSet() const
Definition: InputSerialization.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::S3Crt::Model::CompressionType
CompressionType
Definition: CompressionType.h:17
Aws::S3Crt::Model::InputSerialization::SetParquet
void SetParquet(const ParquetInput &value)
Definition: InputSerialization.h:156
Aws::S3Crt::Model::InputSerialization
Definition: InputSerialization.h:35
Aws::S3Crt::Model::InputSerialization::WithParquet
InputSerialization & WithParquet(ParquetInput &&value)
Definition: InputSerialization.h:171
Aws::S3Crt::Model::InputSerialization::WithCSV
InputSerialization & WithCSV(const CSVInput &value)
Definition: InputSerialization.h:67
Aws::S3Crt::Model::InputSerialization::GetParquet
const ParquetInput & GetParquet() const
Definition: InputSerialization.h:146
Aws::S3Crt::Model::InputSerialization::WithJSON
InputSerialization & WithJSON(const JSONInput &value)
Definition: InputSerialization.h:135
Aws::S3Crt::Model::InputSerialization::WithJSON
InputSerialization & WithJSON(JSONInput &&value)
Definition: InputSerialization.h:140
S3Crt_EXPORTS.h