AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecordColumn.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
34 {
35 public:
36 AWS_KINESISANALYTICS_API RecordColumn();
37 AWS_KINESISANALYTICS_API RecordColumn(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICS_API RecordColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline RecordColumn& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline RecordColumn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline RecordColumn& WithName(const char* value) { SetName(value); return *this;}
56
58
64 inline const Aws::String& GetMapping() const{ return m_mapping; }
65 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
66 inline void SetMapping(const Aws::String& value) { m_mappingHasBeenSet = true; m_mapping = value; }
67 inline void SetMapping(Aws::String&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
68 inline void SetMapping(const char* value) { m_mappingHasBeenSet = true; m_mapping.assign(value); }
69 inline RecordColumn& WithMapping(const Aws::String& value) { SetMapping(value); return *this;}
70 inline RecordColumn& WithMapping(Aws::String&& value) { SetMapping(std::move(value)); return *this;}
71 inline RecordColumn& WithMapping(const char* value) { SetMapping(value); return *this;}
73
75
79 inline const Aws::String& GetSqlType() const{ return m_sqlType; }
80 inline bool SqlTypeHasBeenSet() const { return m_sqlTypeHasBeenSet; }
81 inline void SetSqlType(const Aws::String& value) { m_sqlTypeHasBeenSet = true; m_sqlType = value; }
82 inline void SetSqlType(Aws::String&& value) { m_sqlTypeHasBeenSet = true; m_sqlType = std::move(value); }
83 inline void SetSqlType(const char* value) { m_sqlTypeHasBeenSet = true; m_sqlType.assign(value); }
84 inline RecordColumn& WithSqlType(const Aws::String& value) { SetSqlType(value); return *this;}
85 inline RecordColumn& WithSqlType(Aws::String&& value) { SetSqlType(std::move(value)); return *this;}
86 inline RecordColumn& WithSqlType(const char* value) { SetSqlType(value); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_mapping;
94 bool m_mappingHasBeenSet = false;
95
96 Aws::String m_sqlType;
97 bool m_sqlTypeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace KinesisAnalytics
102} // namespace Aws
const Aws::String & GetName() const
RecordColumn & WithSqlType(Aws::String &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
RecordColumn & WithSqlType(const char *value)
RecordColumn & WithMapping(const Aws::String &value)
void SetName(const Aws::String &value)
void SetSqlType(const Aws::String &value)
RecordColumn & WithMapping(Aws::String &&value)
AWS_KINESISANALYTICS_API RecordColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API RecordColumn(Aws::Utils::Json::JsonView jsonValue)
void SetMapping(const Aws::String &value)
const Aws::String & GetMapping() const
RecordColumn & WithName(const char *value)
const Aws::String & GetSqlType() const
RecordColumn & WithName(const Aws::String &value)
RecordColumn & WithSqlType(const Aws::String &value)
RecordColumn & WithMapping(const char *value)
AWS_KINESISANALYTICS_API RecordColumn()
RecordColumn & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue