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/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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline RecordColumn& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline RecordColumn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline RecordColumn& WithName(const char* value) { SetName(value); return *this;}
57
59
63 inline const Aws::String& GetMapping() const{ return m_mapping; }
64 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
65 inline void SetMapping(const Aws::String& value) { m_mappingHasBeenSet = true; m_mapping = value; }
66 inline void SetMapping(Aws::String&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
67 inline void SetMapping(const char* value) { m_mappingHasBeenSet = true; m_mapping.assign(value); }
68 inline RecordColumn& WithMapping(const Aws::String& value) { SetMapping(value); return *this;}
69 inline RecordColumn& WithMapping(Aws::String&& value) { SetMapping(std::move(value)); return *this;}
70 inline RecordColumn& WithMapping(const char* value) { SetMapping(value); return *this;}
72
74
78 inline const Aws::String& GetSqlType() const{ return m_sqlType; }
79 inline bool SqlTypeHasBeenSet() const { return m_sqlTypeHasBeenSet; }
80 inline void SetSqlType(const Aws::String& value) { m_sqlTypeHasBeenSet = true; m_sqlType = value; }
81 inline void SetSqlType(Aws::String&& value) { m_sqlTypeHasBeenSet = true; m_sqlType = std::move(value); }
82 inline void SetSqlType(const char* value) { m_sqlTypeHasBeenSet = true; m_sqlType.assign(value); }
83 inline RecordColumn& WithSqlType(const Aws::String& value) { SetSqlType(value); return *this;}
84 inline RecordColumn& WithSqlType(Aws::String&& value) { SetSqlType(std::move(value)); return *this;}
85 inline RecordColumn& WithSqlType(const char* value) { SetSqlType(value); return *this;}
87 private:
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
92 Aws::String m_mapping;
93 bool m_mappingHasBeenSet = false;
94
95 Aws::String m_sqlType;
96 bool m_sqlTypeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace KinesisAnalyticsV2
101} // namespace Aws
const Aws::String & GetMapping() const
RecordColumn & WithSqlType(const Aws::String &value)
RecordColumn & WithSqlType(Aws::String &&value)
AWS_KINESISANALYTICSV2_API RecordColumn()
RecordColumn & WithName(const char *value)
AWS_KINESISANALYTICSV2_API RecordColumn(Aws::Utils::Json::JsonView jsonValue)
RecordColumn & WithName(const Aws::String &value)
const Aws::String & GetSqlType() const
RecordColumn & WithName(Aws::String &&value)
RecordColumn & WithMapping(const Aws::String &value)
RecordColumn & WithSqlType(const char *value)
RecordColumn & WithMapping(const char *value)
RecordColumn & WithMapping(Aws::String &&value)
AWS_KINESISANALYTICSV2_API RecordColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSqlType(const Aws::String &value)
void SetName(const Aws::String &value)
void SetMapping(const Aws::String &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