AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecordColumn.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
35 {
36 public:
37 AWS_KINESISANALYTICSV2_API RecordColumn() = default;
38 AWS_KINESISANALYTICSV2_API RecordColumn(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API RecordColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 RecordColumn& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_mappingHasBeenSet = true; m_mapping = std::forward<MappingT>(value); }
65 template<typename MappingT = Aws::String>
66 RecordColumn& WithMapping(MappingT&& value) { SetMapping(std::forward<MappingT>(value)); return *this;}
68
70
74 inline const Aws::String& GetSqlType() const { return m_sqlType; }
75 inline bool SqlTypeHasBeenSet() const { return m_sqlTypeHasBeenSet; }
76 template<typename SqlTypeT = Aws::String>
77 void SetSqlType(SqlTypeT&& value) { m_sqlTypeHasBeenSet = true; m_sqlType = std::forward<SqlTypeT>(value); }
78 template<typename SqlTypeT = Aws::String>
79 RecordColumn& WithSqlType(SqlTypeT&& value) { SetSqlType(std::forward<SqlTypeT>(value)); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_mapping;
87 bool m_mappingHasBeenSet = false;
88
89 Aws::String m_sqlType;
90 bool m_sqlTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace KinesisAnalyticsV2
95} // 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