AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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