AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnowflakeTableSchema.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cleanrooms/model/SnowflakeTableSchemaV1.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 CleanRooms
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLEANROOMS_API SnowflakeTableSchema() = default;
36 AWS_CLEANROOMS_API SnowflakeTableSchema(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<SnowflakeTableSchemaV1>& GetV1() const { return m_v1; }
46 inline bool V1HasBeenSet() const { return m_v1HasBeenSet; }
47 template<typename V1T = Aws::Vector<SnowflakeTableSchemaV1>>
48 void SetV1(V1T&& value) { m_v1HasBeenSet = true; m_v1 = std::forward<V1T>(value); }
49 template<typename V1T = Aws::Vector<SnowflakeTableSchemaV1>>
50 SnowflakeTableSchema& WithV1(V1T&& value) { SetV1(std::forward<V1T>(value)); return *this;}
51 template<typename V1T = SnowflakeTableSchemaV1>
52 SnowflakeTableSchema& AddV1(V1T&& value) { m_v1HasBeenSet = true; m_v1.emplace_back(std::forward<V1T>(value)); return *this; }
54 private:
55
57 bool m_v1HasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace CleanRooms
62} // namespace Aws
AWS_CLEANROOMS_API SnowflakeTableSchema(Aws::Utils::Json::JsonView jsonValue)
SnowflakeTableSchema & AddV1(V1T &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API SnowflakeTableSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API SnowflakeTableSchema()=default
SnowflakeTableSchema & WithV1(V1T &&value)
const Aws::Vector< SnowflakeTableSchemaV1 > & GetV1() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue