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/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() = default;
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 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 RecordColumn& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_mappingHasBeenSet = true; m_mapping = std::forward<MappingT>(value); }
66 template<typename MappingT = Aws::String>
67 RecordColumn& WithMapping(MappingT&& value) { SetMapping(std::forward<MappingT>(value)); return *this;}
69
71
75 inline const Aws::String& GetSqlType() const { return m_sqlType; }
76 inline bool SqlTypeHasBeenSet() const { return m_sqlTypeHasBeenSet; }
77 template<typename SqlTypeT = Aws::String>
78 void SetSqlType(SqlTypeT&& value) { m_sqlTypeHasBeenSet = true; m_sqlType = std::forward<SqlTypeT>(value); }
79 template<typename SqlTypeT = Aws::String>
80 RecordColumn& WithSqlType(SqlTypeT&& value) { SetSqlType(std::forward<SqlTypeT>(value)); return *this;}
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 Aws::String m_mapping;
88 bool m_mappingHasBeenSet = false;
89
90 Aws::String m_sqlType;
91 bool m_sqlTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace KinesisAnalytics
96} // 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