AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
IcebergInput.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/CreateIcebergTableInput.h>
10#include <aws/glue/model/MetadataOperation.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
31 public:
32 AWS_GLUE_API IcebergInput() = default;
36
38
41 inline MetadataOperation GetMetadataOperation() const { return m_metadataOperation; }
42 inline bool MetadataOperationHasBeenSet() const { return m_metadataOperationHasBeenSet; }
44 m_metadataOperationHasBeenSet = true;
45 m_metadataOperation = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetVersion() const { return m_version; }
58 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
59 template <typename VersionT = Aws::String>
60 void SetVersion(VersionT&& value) {
61 m_versionHasBeenSet = true;
62 m_version = std::forward<VersionT>(value);
63 }
64 template <typename VersionT = Aws::String>
65 IcebergInput& WithVersion(VersionT&& value) {
66 SetVersion(std::forward<VersionT>(value));
67 return *this;
68 }
70
72
76 inline const CreateIcebergTableInput& GetCreateIcebergTableInput() const { return m_createIcebergTableInput; }
77 inline bool CreateIcebergTableInputHasBeenSet() const { return m_createIcebergTableInputHasBeenSet; }
78 template <typename CreateIcebergTableInputT = CreateIcebergTableInput>
79 void SetCreateIcebergTableInput(CreateIcebergTableInputT&& value) {
80 m_createIcebergTableInputHasBeenSet = true;
81 m_createIcebergTableInput = std::forward<CreateIcebergTableInputT>(value);
82 }
83 template <typename CreateIcebergTableInputT = CreateIcebergTableInput>
84 IcebergInput& WithCreateIcebergTableInput(CreateIcebergTableInputT&& value) {
85 SetCreateIcebergTableInput(std::forward<CreateIcebergTableInputT>(value));
86 return *this;
87 }
89 private:
91
92 Aws::String m_version;
93
94 CreateIcebergTableInput m_createIcebergTableInput;
95 bool m_metadataOperationHasBeenSet = false;
96 bool m_versionHasBeenSet = false;
97 bool m_createIcebergTableInputHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Glue
102} // namespace Aws
IcebergInput & WithMetadataOperation(MetadataOperation value)
AWS_GLUE_API IcebergInput()=default
const CreateIcebergTableInput & GetCreateIcebergTableInput() const
AWS_GLUE_API IcebergInput & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MetadataOperationHasBeenSet() const
AWS_GLUE_API IcebergInput(Aws::Utils::Json::JsonView jsonValue)
void SetCreateIcebergTableInput(CreateIcebergTableInputT &&value)
bool CreateIcebergTableInputHasBeenSet() const
const Aws::String & GetVersion() const
void SetMetadataOperation(MetadataOperation value)
void SetVersion(VersionT &&value)
IcebergInput & WithVersion(VersionT &&value)
IcebergInput & WithCreateIcebergTableInput(CreateIcebergTableInputT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataOperation GetMetadataOperation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue