AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IcebergPartitionField.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GLUE_API IcebergPartitionField() = default;
40
41
43
47 inline int GetSourceId() const { return m_sourceId; }
48 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
49 inline void SetSourceId(int value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
50 inline IcebergPartitionField& WithSourceId(int value) { SetSourceId(value); return *this;}
52
54
58 inline const Aws::String& GetTransform() const { return m_transform; }
59 inline bool TransformHasBeenSet() const { return m_transformHasBeenSet; }
60 template<typename TransformT = Aws::String>
61 void SetTransform(TransformT&& value) { m_transformHasBeenSet = true; m_transform = std::forward<TransformT>(value); }
62 template<typename TransformT = Aws::String>
63 IcebergPartitionField& WithTransform(TransformT&& value) { SetTransform(std::forward<TransformT>(value)); return *this;}
65
67
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 IcebergPartitionField& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
84 inline int GetFieldId() const { return m_fieldId; }
85 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
86 inline void SetFieldId(int value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
87 inline IcebergPartitionField& WithFieldId(int value) { SetFieldId(value); return *this;}
89 private:
90
91 int m_sourceId{0};
92 bool m_sourceIdHasBeenSet = false;
93
94 Aws::String m_transform;
95 bool m_transformHasBeenSet = false;
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 int m_fieldId{0};
101 bool m_fieldIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
IcebergPartitionField & WithFieldId(int value)
IcebergPartitionField & WithTransform(TransformT &&value)
IcebergPartitionField & WithName(NameT &&value)
AWS_GLUE_API IcebergPartitionField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API IcebergPartitionField(Aws::Utils::Json::JsonView jsonValue)
IcebergPartitionField & WithSourceId(int value)
AWS_GLUE_API IcebergPartitionField()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue