AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TableReference.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/GlueTableReference.h>
9#include <aws/cleanrooms/model/SnowflakeTableReference.h>
10#include <aws/cleanrooms/model/AthenaTableReference.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRooms
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLEANROOMS_API TableReference() = default;
38 AWS_CLEANROOMS_API TableReference(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMS_API TableReference& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const GlueTableReference& GetGlue() const { return m_glue; }
49 inline bool GlueHasBeenSet() const { return m_glueHasBeenSet; }
50 template<typename GlueT = GlueTableReference>
51 void SetGlue(GlueT&& value) { m_glueHasBeenSet = true; m_glue = std::forward<GlueT>(value); }
52 template<typename GlueT = GlueTableReference>
53 TableReference& WithGlue(GlueT&& value) { SetGlue(std::forward<GlueT>(value)); return *this;}
55
57
61 inline const SnowflakeTableReference& GetSnowflake() const { return m_snowflake; }
62 inline bool SnowflakeHasBeenSet() const { return m_snowflakeHasBeenSet; }
63 template<typename SnowflakeT = SnowflakeTableReference>
64 void SetSnowflake(SnowflakeT&& value) { m_snowflakeHasBeenSet = true; m_snowflake = std::forward<SnowflakeT>(value); }
65 template<typename SnowflakeT = SnowflakeTableReference>
66 TableReference& WithSnowflake(SnowflakeT&& value) { SetSnowflake(std::forward<SnowflakeT>(value)); return *this;}
68
70
74 inline const AthenaTableReference& GetAthena() const { return m_athena; }
75 inline bool AthenaHasBeenSet() const { return m_athenaHasBeenSet; }
76 template<typename AthenaT = AthenaTableReference>
77 void SetAthena(AthenaT&& value) { m_athenaHasBeenSet = true; m_athena = std::forward<AthenaT>(value); }
78 template<typename AthenaT = AthenaTableReference>
79 TableReference& WithAthena(AthenaT&& value) { SetAthena(std::forward<AthenaT>(value)); return *this;}
81 private:
82
83 GlueTableReference m_glue;
84 bool m_glueHasBeenSet = false;
85
86 SnowflakeTableReference m_snowflake;
87 bool m_snowflakeHasBeenSet = false;
88
89 AthenaTableReference m_athena;
90 bool m_athenaHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CleanRooms
95} // namespace Aws
void SetSnowflake(SnowflakeT &&value)
AWS_CLEANROOMS_API TableReference()=default
const AthenaTableReference & GetAthena() const
AWS_CLEANROOMS_API TableReference & operator=(Aws::Utils::Json::JsonView jsonValue)
const GlueTableReference & GetGlue() const
TableReference & WithSnowflake(SnowflakeT &&value)
TableReference & WithAthena(AthenaT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
TableReference & WithGlue(GlueT &&value)
const SnowflakeTableReference & GetSnowflake() const
AWS_CLEANROOMS_API TableReference(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue