AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
IntegrationPartition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API IntegrationPartition() = default;
34
36
43 inline const Aws::String& GetFieldName() const { return m_fieldName; }
44 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
45 template <typename FieldNameT = Aws::String>
46 void SetFieldName(FieldNameT&& value) {
47 m_fieldNameHasBeenSet = true;
48 m_fieldName = std::forward<FieldNameT>(value);
49 }
50 template <typename FieldNameT = Aws::String>
51 IntegrationPartition& WithFieldName(FieldNameT&& value) {
52 SetFieldName(std::forward<FieldNameT>(value));
53 return *this;
54 }
56
58
68 inline const Aws::String& GetFunctionSpec() const { return m_functionSpec; }
69 inline bool FunctionSpecHasBeenSet() const { return m_functionSpecHasBeenSet; }
70 template <typename FunctionSpecT = Aws::String>
71 void SetFunctionSpec(FunctionSpecT&& value) {
72 m_functionSpecHasBeenSet = true;
73 m_functionSpec = std::forward<FunctionSpecT>(value);
74 }
75 template <typename FunctionSpecT = Aws::String>
76 IntegrationPartition& WithFunctionSpec(FunctionSpecT&& value) {
77 SetFunctionSpec(std::forward<FunctionSpecT>(value));
78 return *this;
79 }
81
83
99 inline const Aws::String& GetConversionSpec() const { return m_conversionSpec; }
100 inline bool ConversionSpecHasBeenSet() const { return m_conversionSpecHasBeenSet; }
101 template <typename ConversionSpecT = Aws::String>
102 void SetConversionSpec(ConversionSpecT&& value) {
103 m_conversionSpecHasBeenSet = true;
104 m_conversionSpec = std::forward<ConversionSpecT>(value);
105 }
106 template <typename ConversionSpecT = Aws::String>
107 IntegrationPartition& WithConversionSpec(ConversionSpecT&& value) {
108 SetConversionSpec(std::forward<ConversionSpecT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_fieldName;
114
115 Aws::String m_functionSpec;
116
117 Aws::String m_conversionSpec;
118 bool m_fieldNameHasBeenSet = false;
119 bool m_functionSpecHasBeenSet = false;
120 bool m_conversionSpecHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Glue
125} // namespace Aws
const Aws::String & GetConversionSpec() const
AWS_GLUE_API IntegrationPartition & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegrationPartition & WithFieldName(FieldNameT &&value)
void SetConversionSpec(ConversionSpecT &&value)
IntegrationPartition & WithConversionSpec(ConversionSpecT &&value)
AWS_GLUE_API IntegrationPartition(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFunctionSpec() const
void SetFunctionSpec(FunctionSpecT &&value)
AWS_GLUE_API IntegrationPartition()=default
IntegrationPartition & WithFunctionSpec(FunctionSpecT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue