AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlueSchema.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/GlueStudioSchemaColumn.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API GlueSchema();
37 AWS_GLUE_API GlueSchema(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::Vector<GlueStudioSchemaColumn>& GetColumns() const{ return m_columns; }
47 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
48 inline void SetColumns(const Aws::Vector<GlueStudioSchemaColumn>& value) { m_columnsHasBeenSet = true; m_columns = value; }
49 inline void SetColumns(Aws::Vector<GlueStudioSchemaColumn>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
50 inline GlueSchema& WithColumns(const Aws::Vector<GlueStudioSchemaColumn>& value) { SetColumns(value); return *this;}
51 inline GlueSchema& WithColumns(Aws::Vector<GlueStudioSchemaColumn>&& value) { SetColumns(std::move(value)); return *this;}
52 inline GlueSchema& AddColumns(const GlueStudioSchemaColumn& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
53 inline GlueSchema& AddColumns(GlueStudioSchemaColumn&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_columnsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Glue
63} // namespace Aws
AWS_GLUE_API GlueSchema(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< GlueStudioSchemaColumn > & GetColumns() const
Definition GlueSchema.h:46
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
GlueSchema & WithColumns(const Aws::Vector< GlueStudioSchemaColumn > &value)
Definition GlueSchema.h:50
GlueSchema & WithColumns(Aws::Vector< GlueStudioSchemaColumn > &&value)
Definition GlueSchema.h:51
GlueSchema & AddColumns(const GlueStudioSchemaColumn &value)
Definition GlueSchema.h:52
AWS_GLUE_API GlueSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetColumns(const Aws::Vector< GlueStudioSchemaColumn > &value)
Definition GlueSchema.h:48
GlueSchema & AddColumns(GlueStudioSchemaColumn &&value)
Definition GlueSchema.h:53
void SetColumns(Aws::Vector< GlueStudioSchemaColumn > &&value)
Definition GlueSchema.h:49
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue