AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
IcebergMetadata.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/model/IcebergSchema.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 S3Tables
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3TABLES_API IcebergMetadata() = default;
36 AWS_S3TABLES_API IcebergMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const IcebergSchema& GetSchema() const { return m_schema; }
46 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
47 template<typename SchemaT = IcebergSchema>
48 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
49 template<typename SchemaT = IcebergSchema>
50 IcebergMetadata& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
52 private:
53
54 IcebergSchema m_schema;
55 bool m_schemaHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace S3Tables
60} // namespace Aws
IcebergMetadata & WithSchema(SchemaT &&value)
AWS_S3TABLES_API IcebergMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3TABLES_API IcebergMetadata()=default
AWS_S3TABLES_API IcebergMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const IcebergSchema & GetSchema() const
Aws::Utils::Json::JsonValue JsonValue