AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
CreateIntegrationTablePropertiesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/SourceTableConfig.h>
11#include <aws/glue/model/TargetTableConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Glue {
17namespace Model {
18
22 public:
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegrationTableProperties"; }
30
31 AWS_GLUE_API Aws::String SerializePayload() const override;
32
34
36
44 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
45 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
46 template <typename ResourceArnT = Aws::String>
47 void SetResourceArn(ResourceArnT&& value) {
48 m_resourceArnHasBeenSet = true;
49 m_resourceArn = std::forward<ResourceArnT>(value);
50 }
51 template <typename ResourceArnT = Aws::String>
53 SetResourceArn(std::forward<ResourceArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetTableName() const { return m_tableName; }
63 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
64 template <typename TableNameT = Aws::String>
65 void SetTableName(TableNameT&& value) {
66 m_tableNameHasBeenSet = true;
67 m_tableName = std::forward<TableNameT>(value);
68 }
69 template <typename TableNameT = Aws::String>
71 SetTableName(std::forward<TableNameT>(value));
72 return *this;
73 }
75
77
82 inline const SourceTableConfig& GetSourceTableConfig() const { return m_sourceTableConfig; }
83 inline bool SourceTableConfigHasBeenSet() const { return m_sourceTableConfigHasBeenSet; }
84 template <typename SourceTableConfigT = SourceTableConfig>
85 void SetSourceTableConfig(SourceTableConfigT&& value) {
86 m_sourceTableConfigHasBeenSet = true;
87 m_sourceTableConfig = std::forward<SourceTableConfigT>(value);
88 }
89 template <typename SourceTableConfigT = SourceTableConfig>
91 SetSourceTableConfig(std::forward<SourceTableConfigT>(value));
92 return *this;
93 }
95
97
100 inline const TargetTableConfig& GetTargetTableConfig() const { return m_targetTableConfig; }
101 inline bool TargetTableConfigHasBeenSet() const { return m_targetTableConfigHasBeenSet; }
102 template <typename TargetTableConfigT = TargetTableConfig>
103 void SetTargetTableConfig(TargetTableConfigT&& value) {
104 m_targetTableConfigHasBeenSet = true;
105 m_targetTableConfig = std::forward<TargetTableConfigT>(value);
106 }
107 template <typename TargetTableConfigT = TargetTableConfig>
109 SetTargetTableConfig(std::forward<TargetTableConfigT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_resourceArn;
115 bool m_resourceArnHasBeenSet = false;
116
117 Aws::String m_tableName;
118 bool m_tableNameHasBeenSet = false;
119
120 SourceTableConfig m_sourceTableConfig;
121 bool m_sourceTableConfigHasBeenSet = false;
122
123 TargetTableConfig m_targetTableConfig;
124 bool m_targetTableConfigHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace Glue
129} // namespace Aws
CreateIntegrationTablePropertiesRequest & WithTargetTableConfig(TargetTableConfigT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIntegrationTablePropertiesRequest & WithSourceTableConfig(SourceTableConfigT &&value)
CreateIntegrationTablePropertiesRequest & WithTableName(TableNameT &&value)
CreateIntegrationTablePropertiesRequest & WithResourceArn(ResourceArnT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String