AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CsvOptions.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlueDataBrew
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GLUEDATABREW_API CsvOptions();
37 AWS_GLUEDATABREW_API CsvOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLUEDATABREW_API CsvOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
48 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
49 inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
50 inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
51 inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
52 inline CsvOptions& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
53 inline CsvOptions& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
54 inline CsvOptions& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
56
58
62 inline bool GetHeaderRow() const{ return m_headerRow; }
63 inline bool HeaderRowHasBeenSet() const { return m_headerRowHasBeenSet; }
64 inline void SetHeaderRow(bool value) { m_headerRowHasBeenSet = true; m_headerRow = value; }
65 inline CsvOptions& WithHeaderRow(bool value) { SetHeaderRow(value); return *this;}
67 private:
68
69 Aws::String m_delimiter;
70 bool m_delimiterHasBeenSet = false;
71
72 bool m_headerRow;
73 bool m_headerRowHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GlueDataBrew
78} // namespace Aws
void SetDelimiter(Aws::String &&value)
Definition CsvOptions.h:50
AWS_GLUEDATABREW_API CsvOptions(Aws::Utils::Json::JsonView jsonValue)
CsvOptions & WithDelimiter(const char *value)
Definition CsvOptions.h:54
CsvOptions & WithHeaderRow(bool value)
Definition CsvOptions.h:65
void SetDelimiter(const char *value)
Definition CsvOptions.h:51
void SetDelimiter(const Aws::String &value)
Definition CsvOptions.h:49
AWS_GLUEDATABREW_API CsvOptions()
CsvOptions & WithDelimiter(const Aws::String &value)
Definition CsvOptions.h:52
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
CsvOptions & WithDelimiter(Aws::String &&value)
Definition CsvOptions.h:53
const Aws::String & GetDelimiter() const
Definition CsvOptions.h:47
AWS_GLUEDATABREW_API CsvOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue