AWS SDK for C++

AWS SDK for C++ Version 1.11.894

Loading...
Searching...
No Matches
IntegrationTableProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/SourceTableConfig.h>
10#include <aws/glue/model/TargetTableConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
32 public:
33 AWS_GLUE_API IntegrationTableProperties() = default;
37
39
42 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
43 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
44 template <typename ResourceArnT = Aws::String>
45 void SetResourceArn(ResourceArnT&& value) {
46 m_resourceArnHasBeenSet = true;
47 m_resourceArn = std::forward<ResourceArnT>(value);
48 }
49 template <typename ResourceArnT = Aws::String>
51 SetResourceArn(std::forward<ResourceArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetTableName() const { return m_tableName; }
61 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
62 template <typename TableNameT = Aws::String>
63 void SetTableName(TableNameT&& value) {
64 m_tableNameHasBeenSet = true;
65 m_tableName = std::forward<TableNameT>(value);
66 }
67 template <typename TableNameT = Aws::String>
69 SetTableName(std::forward<TableNameT>(value));
70 return *this;
71 }
73
75
78 inline const SourceTableConfig& GetSourceTableConfig() const { return m_sourceTableConfig; }
79 inline bool SourceTableConfigHasBeenSet() const { return m_sourceTableConfigHasBeenSet; }
80 template <typename SourceTableConfigT = SourceTableConfig>
81 void SetSourceTableConfig(SourceTableConfigT&& value) {
82 m_sourceTableConfigHasBeenSet = true;
83 m_sourceTableConfig = std::forward<SourceTableConfigT>(value);
84 }
85 template <typename SourceTableConfigT = SourceTableConfig>
87 SetSourceTableConfig(std::forward<SourceTableConfigT>(value));
88 return *this;
89 }
91
93
96 inline const TargetTableConfig& GetTargetTableConfig() const { return m_targetTableConfig; }
97 inline bool TargetTableConfigHasBeenSet() const { return m_targetTableConfigHasBeenSet; }
98 template <typename TargetTableConfigT = TargetTableConfig>
99 void SetTargetTableConfig(TargetTableConfigT&& value) {
100 m_targetTableConfigHasBeenSet = true;
101 m_targetTableConfig = std::forward<TargetTableConfigT>(value);
102 }
103 template <typename TargetTableConfigT = TargetTableConfig>
105 SetTargetTableConfig(std::forward<TargetTableConfigT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_resourceArn;
111
112 Aws::String m_tableName;
113
114 SourceTableConfig m_sourceTableConfig;
115
116 TargetTableConfig m_targetTableConfig;
117 bool m_resourceArnHasBeenSet = false;
118 bool m_tableNameHasBeenSet = false;
119 bool m_sourceTableConfigHasBeenSet = false;
120 bool m_targetTableConfigHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Glue
125} // namespace Aws
AWS_GLUE_API IntegrationTableProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegrationTableProperties & WithTargetTableConfig(TargetTableConfigT &&value)
const SourceTableConfig & GetSourceTableConfig() const
const TargetTableConfig & GetTargetTableConfig() const
IntegrationTableProperties & WithSourceTableConfig(SourceTableConfigT &&value)
AWS_GLUE_API IntegrationTableProperties()=default
AWS_GLUE_API IntegrationTableProperties(Aws::Utils::Json::JsonView jsonValue)
IntegrationTableProperties & WithResourceArn(ResourceArnT &&value)
IntegrationTableProperties & WithTableName(TableNameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue