AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CSVMappingParameters.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_KINESISANALYTICS_API CSVMappingParameters();
39 AWS_KINESISANALYTICS_API CSVMappingParameters(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICS_API CSVMappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetRecordRowDelimiter() const{ return m_recordRowDelimiter; }
50 inline bool RecordRowDelimiterHasBeenSet() const { return m_recordRowDelimiterHasBeenSet; }
51 inline void SetRecordRowDelimiter(const Aws::String& value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter = value; }
52 inline void SetRecordRowDelimiter(Aws::String&& value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter = std::move(value); }
53 inline void SetRecordRowDelimiter(const char* value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter.assign(value); }
55 inline CSVMappingParameters& WithRecordRowDelimiter(Aws::String&& value) { SetRecordRowDelimiter(std::move(value)); return *this;}
56 inline CSVMappingParameters& WithRecordRowDelimiter(const char* value) { SetRecordRowDelimiter(value); return *this;}
58
60
64 inline const Aws::String& GetRecordColumnDelimiter() const{ return m_recordColumnDelimiter; }
65 inline bool RecordColumnDelimiterHasBeenSet() const { return m_recordColumnDelimiterHasBeenSet; }
66 inline void SetRecordColumnDelimiter(const Aws::String& value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter = value; }
67 inline void SetRecordColumnDelimiter(Aws::String&& value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter = std::move(value); }
68 inline void SetRecordColumnDelimiter(const char* value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter.assign(value); }
70 inline CSVMappingParameters& WithRecordColumnDelimiter(Aws::String&& value) { SetRecordColumnDelimiter(std::move(value)); return *this;}
71 inline CSVMappingParameters& WithRecordColumnDelimiter(const char* value) { SetRecordColumnDelimiter(value); return *this;}
73 private:
74
75 Aws::String m_recordRowDelimiter;
76 bool m_recordRowDelimiterHasBeenSet = false;
77
78 Aws::String m_recordColumnDelimiter;
79 bool m_recordColumnDelimiterHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace KinesisAnalytics
84} // namespace Aws
CSVMappingParameters & WithRecordRowDelimiter(const Aws::String &value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API CSVMappingParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API CSVMappingParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
CSVMappingParameters & WithRecordRowDelimiter(Aws::String &&value)
CSVMappingParameters & WithRecordColumnDelimiter(const Aws::String &value)
CSVMappingParameters & WithRecordColumnDelimiter(const char *value)
CSVMappingParameters & WithRecordRowDelimiter(const char *value)
CSVMappingParameters & WithRecordColumnDelimiter(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue