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/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DYNAMODB_API CsvOptions();
37 AWS_DYNAMODB_API CsvOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DYNAMODB_API CsvOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
47 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
48 inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
49 inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
50 inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
51 inline CsvOptions& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
52 inline CsvOptions& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
53 inline CsvOptions& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
55
57
63 inline const Aws::Vector<Aws::String>& GetHeaderList() const{ return m_headerList; }
64 inline bool HeaderListHasBeenSet() const { return m_headerListHasBeenSet; }
65 inline void SetHeaderList(const Aws::Vector<Aws::String>& value) { m_headerListHasBeenSet = true; m_headerList = value; }
66 inline void SetHeaderList(Aws::Vector<Aws::String>&& value) { m_headerListHasBeenSet = true; m_headerList = std::move(value); }
67 inline CsvOptions& WithHeaderList(const Aws::Vector<Aws::String>& value) { SetHeaderList(value); return *this;}
68 inline CsvOptions& WithHeaderList(Aws::Vector<Aws::String>&& value) { SetHeaderList(std::move(value)); return *this;}
69 inline CsvOptions& AddHeaderList(const Aws::String& value) { m_headerListHasBeenSet = true; m_headerList.push_back(value); return *this; }
70 inline CsvOptions& AddHeaderList(Aws::String&& value) { m_headerListHasBeenSet = true; m_headerList.push_back(std::move(value)); return *this; }
71 inline CsvOptions& AddHeaderList(const char* value) { m_headerListHasBeenSet = true; m_headerList.push_back(value); return *this; }
73 private:
74
75 Aws::String m_delimiter;
76 bool m_delimiterHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_headerList;
79 bool m_headerListHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace DynamoDB
84} // namespace Aws
void SetDelimiter(const char *value)
Definition CsvOptions.h:50
AWS_DYNAMODB_API CsvOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
CsvOptions & AddHeaderList(const Aws::String &value)
Definition CsvOptions.h:69
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHeaderList(const Aws::Vector< Aws::String > &value)
Definition CsvOptions.h:65
CsvOptions & WithHeaderList(const Aws::Vector< Aws::String > &value)
Definition CsvOptions.h:67
CsvOptions & AddHeaderList(const char *value)
Definition CsvOptions.h:71
const Aws::Vector< Aws::String > & GetHeaderList() const
Definition CsvOptions.h:63
CsvOptions & AddHeaderList(Aws::String &&value)
Definition CsvOptions.h:70
const Aws::String & GetDelimiter() const
Definition CsvOptions.h:46
void SetDelimiter(const Aws::String &value)
Definition CsvOptions.h:48
CsvOptions & WithHeaderList(Aws::Vector< Aws::String > &&value)
Definition CsvOptions.h:68
void SetHeaderList(Aws::Vector< Aws::String > &&value)
Definition CsvOptions.h:66
CsvOptions & WithDelimiter(const char *value)
Definition CsvOptions.h:53
CsvOptions & WithDelimiter(const Aws::String &value)
Definition CsvOptions.h:51
CsvOptions & WithDelimiter(Aws::String &&value)
Definition CsvOptions.h:52
AWS_DYNAMODB_API CsvOptions(Aws::Utils::Json::JsonView jsonValue)
void SetDelimiter(Aws::String &&value)
Definition CsvOptions.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue