AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FormatOptions.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/model/JsonOptions.h>
9#include <aws/databrew/model/ExcelOptions.h>
10#include <aws/databrew/model/CsvOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GlueDataBrew
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUEDATABREW_API FormatOptions();
38 AWS_GLUEDATABREW_API FormatOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API FormatOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const JsonOptions& GetJson() const{ return m_json; }
48 inline bool JsonHasBeenSet() const { return m_jsonHasBeenSet; }
49 inline void SetJson(const JsonOptions& value) { m_jsonHasBeenSet = true; m_json = value; }
50 inline void SetJson(JsonOptions&& value) { m_jsonHasBeenSet = true; m_json = std::move(value); }
51 inline FormatOptions& WithJson(const JsonOptions& value) { SetJson(value); return *this;}
52 inline FormatOptions& WithJson(JsonOptions&& value) { SetJson(std::move(value)); return *this;}
54
56
59 inline const ExcelOptions& GetExcel() const{ return m_excel; }
60 inline bool ExcelHasBeenSet() const { return m_excelHasBeenSet; }
61 inline void SetExcel(const ExcelOptions& value) { m_excelHasBeenSet = true; m_excel = value; }
62 inline void SetExcel(ExcelOptions&& value) { m_excelHasBeenSet = true; m_excel = std::move(value); }
63 inline FormatOptions& WithExcel(const ExcelOptions& value) { SetExcel(value); return *this;}
64 inline FormatOptions& WithExcel(ExcelOptions&& value) { SetExcel(std::move(value)); return *this;}
66
68
71 inline const CsvOptions& GetCsv() const{ return m_csv; }
72 inline bool CsvHasBeenSet() const { return m_csvHasBeenSet; }
73 inline void SetCsv(const CsvOptions& value) { m_csvHasBeenSet = true; m_csv = value; }
74 inline void SetCsv(CsvOptions&& value) { m_csvHasBeenSet = true; m_csv = std::move(value); }
75 inline FormatOptions& WithCsv(const CsvOptions& value) { SetCsv(value); return *this;}
76 inline FormatOptions& WithCsv(CsvOptions&& value) { SetCsv(std::move(value)); return *this;}
78 private:
79
80 JsonOptions m_json;
81 bool m_jsonHasBeenSet = false;
82
83 ExcelOptions m_excel;
84 bool m_excelHasBeenSet = false;
85
86 CsvOptions m_csv;
87 bool m_csvHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GlueDataBrew
92} // namespace Aws
AWS_GLUEDATABREW_API FormatOptions()
void SetJson(JsonOptions &&value)
void SetExcel(const ExcelOptions &value)
void SetExcel(ExcelOptions &&value)
FormatOptions & WithJson(const JsonOptions &value)
FormatOptions & WithExcel(const ExcelOptions &value)
const CsvOptions & GetCsv() const
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
FormatOptions & WithCsv(const CsvOptions &value)
FormatOptions & WithExcel(ExcelOptions &&value)
void SetJson(const JsonOptions &value)
FormatOptions & WithJson(JsonOptions &&value)
void SetCsv(const CsvOptions &value)
AWS_GLUEDATABREW_API FormatOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API FormatOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const ExcelOptions & GetExcel() const
FormatOptions & WithCsv(CsvOptions &&value)
const JsonOptions & GetJson() const
Aws::Utils::Json::JsonValue JsonValue