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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_KINESISANALYTICSV2_API CSVMappingParameters();
40 AWS_KINESISANALYTICSV2_API CSVMappingParameters(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API CSVMappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetRecordRowDelimiter() const{ return m_recordRowDelimiter; }
51 inline bool RecordRowDelimiterHasBeenSet() const { return m_recordRowDelimiterHasBeenSet; }
52 inline void SetRecordRowDelimiter(const Aws::String& value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter = value; }
53 inline void SetRecordRowDelimiter(Aws::String&& value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter = std::move(value); }
54 inline void SetRecordRowDelimiter(const char* value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter.assign(value); }
56 inline CSVMappingParameters& WithRecordRowDelimiter(Aws::String&& value) { SetRecordRowDelimiter(std::move(value)); return *this;}
57 inline CSVMappingParameters& WithRecordRowDelimiter(const char* value) { SetRecordRowDelimiter(value); return *this;}
59
61
65 inline const Aws::String& GetRecordColumnDelimiter() const{ return m_recordColumnDelimiter; }
66 inline bool RecordColumnDelimiterHasBeenSet() const { return m_recordColumnDelimiterHasBeenSet; }
67 inline void SetRecordColumnDelimiter(const Aws::String& value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter = value; }
68 inline void SetRecordColumnDelimiter(Aws::String&& value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter = std::move(value); }
69 inline void SetRecordColumnDelimiter(const char* value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter.assign(value); }
71 inline CSVMappingParameters& WithRecordColumnDelimiter(Aws::String&& value) { SetRecordColumnDelimiter(std::move(value)); return *this;}
72 inline CSVMappingParameters& WithRecordColumnDelimiter(const char* value) { SetRecordColumnDelimiter(value); return *this;}
74 private:
75
76 Aws::String m_recordRowDelimiter;
77 bool m_recordRowDelimiterHasBeenSet = false;
78
79 Aws::String m_recordColumnDelimiter;
80 bool m_recordColumnDelimiterHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace KinesisAnalyticsV2
85} // namespace Aws
CSVMappingParameters & WithRecordColumnDelimiter(Aws::String &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API CSVMappingParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
CSVMappingParameters & WithRecordRowDelimiter(const char *value)
CSVMappingParameters & WithRecordColumnDelimiter(const Aws::String &value)
CSVMappingParameters & WithRecordRowDelimiter(Aws::String &&value)
CSVMappingParameters & WithRecordColumnDelimiter(const char *value)
AWS_KINESISANALYTICSV2_API CSVMappingParameters(Aws::Utils::Json::JsonView jsonValue)
CSVMappingParameters & WithRecordRowDelimiter(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue