AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutputSerialization.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/CSVOutput.h>
9#include <aws/s3-crt/model/JSONOutput.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Crt
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CRT_API OutputSerialization();
36 AWS_S3CRT_API OutputSerialization(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const CSVOutput& GetCSV() const{ return m_cSV; }
47 inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; }
48 inline void SetCSV(const CSVOutput& value) { m_cSVHasBeenSet = true; m_cSV = value; }
49 inline void SetCSV(CSVOutput&& value) { m_cSVHasBeenSet = true; m_cSV = std::move(value); }
50 inline OutputSerialization& WithCSV(const CSVOutput& value) { SetCSV(value); return *this;}
51 inline OutputSerialization& WithCSV(CSVOutput&& value) { SetCSV(std::move(value)); return *this;}
53
55
58 inline const JSONOutput& GetJSON() const{ return m_jSON; }
59 inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; }
60 inline void SetJSON(const JSONOutput& value) { m_jSONHasBeenSet = true; m_jSON = value; }
61 inline void SetJSON(JSONOutput&& value) { m_jSONHasBeenSet = true; m_jSON = std::move(value); }
62 inline OutputSerialization& WithJSON(const JSONOutput& value) { SetJSON(value); return *this;}
63 inline OutputSerialization& WithJSON(JSONOutput&& value) { SetJSON(std::move(value)); return *this;}
65 private:
66
67 CSVOutput m_cSV;
68 bool m_cSVHasBeenSet = false;
69
70 JSONOutput m_jSON;
71 bool m_jSONHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace S3Crt
76} // namespace Aws
AWS_S3CRT_API OutputSerialization(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetJSON(const JSONOutput &value)
OutputSerialization & WithJSON(const JSONOutput &value)
OutputSerialization & WithJSON(JSONOutput &&value)
OutputSerialization & WithCSV(const CSVOutput &value)
OutputSerialization & WithCSV(CSVOutput &&value)
AWS_S3CRT_API OutputSerialization & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const