AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RecordColumn.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalytics {
20namespace Model {
21
30 public:
31 AWS_KINESISANALYTICS_API RecordColumn() = default;
32 AWS_KINESISANALYTICS_API RecordColumn(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESISANALYTICS_API RecordColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 RecordColumn& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
62 inline const Aws::String& GetMapping() const { return m_mapping; }
63 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
64 template <typename MappingT = Aws::String>
65 void SetMapping(MappingT&& value) {
66 m_mappingHasBeenSet = true;
67 m_mapping = std::forward<MappingT>(value);
68 }
69 template <typename MappingT = Aws::String>
70 RecordColumn& WithMapping(MappingT&& value) {
71 SetMapping(std::forward<MappingT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetSqlType() const { return m_sqlType; }
82 inline bool SqlTypeHasBeenSet() const { return m_sqlTypeHasBeenSet; }
83 template <typename SqlTypeT = Aws::String>
84 void SetSqlType(SqlTypeT&& value) {
85 m_sqlTypeHasBeenSet = true;
86 m_sqlType = std::forward<SqlTypeT>(value);
87 }
88 template <typename SqlTypeT = Aws::String>
89 RecordColumn& WithSqlType(SqlTypeT&& value) {
90 SetSqlType(std::forward<SqlTypeT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_name;
96
97 Aws::String m_mapping;
98
99 Aws::String m_sqlType;
100 bool m_nameHasBeenSet = false;
101 bool m_mappingHasBeenSet = false;
102 bool m_sqlTypeHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace KinesisAnalytics
107} // namespace Aws
const Aws::String & GetName() const
RecordColumn & WithMapping(MappingT &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API RecordColumn()=default
AWS_KINESISANALYTICS_API RecordColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API RecordColumn(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMapping() const
const Aws::String & GetSqlType() const
RecordColumn & WithSqlType(SqlTypeT &&value)
RecordColumn & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue