AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AthenaTableReference.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_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 CleanRooms
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLEANROOMS_API AthenaTableReference() = default;
35 AWS_CLEANROOMS_API AthenaTableReference(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
45 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
46 template<typename WorkGroupT = Aws::String>
47 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
48 template<typename WorkGroupT = Aws::String>
49 AthenaTableReference& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
51
53
56 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
57 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
58 template<typename OutputLocationT = Aws::String>
59 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
60 template<typename OutputLocationT = Aws::String>
61 AthenaTableReference& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
69 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
70 template<typename DatabaseNameT = Aws::String>
71 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
72 template<typename DatabaseNameT = Aws::String>
73 AthenaTableReference& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetTableName() const { return m_tableName; }
81 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
82 template<typename TableNameT = Aws::String>
83 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
84 template<typename TableNameT = Aws::String>
85 AthenaTableReference& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
87 private:
88
89 Aws::String m_workGroup;
90 bool m_workGroupHasBeenSet = false;
91
92 Aws::String m_outputLocation;
93 bool m_outputLocationHasBeenSet = false;
94
95 Aws::String m_databaseName;
96 bool m_databaseNameHasBeenSet = false;
97
98 Aws::String m_tableName;
99 bool m_tableNameHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CleanRooms
104} // namespace Aws
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API AthenaTableReference(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API AthenaTableReference()=default
AthenaTableReference & WithTableName(TableNameT &&value)
AthenaTableReference & WithDatabaseName(DatabaseNameT &&value)
AthenaTableReference & WithWorkGroup(WorkGroupT &&value)
AthenaTableReference & WithOutputLocation(OutputLocationT &&value)
AWS_CLEANROOMS_API AthenaTableReference & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue