AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConnectorEntityField.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/SupportedFieldTypeDetails.h>
10#include <aws/appflow/model/SourceFieldProperties.h>
11#include <aws/appflow/model/DestinationFieldProperties.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Appflow
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_APPFLOW_API ConnectorEntityField() = default;
43 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetIdentifier() const { return m_identifier; }
51 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
52 template<typename IdentifierT = Aws::String>
53 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
54 template<typename IdentifierT = Aws::String>
55 ConnectorEntityField& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
57
59
62 inline const Aws::String& GetParentIdentifier() const { return m_parentIdentifier; }
63 inline bool ParentIdentifierHasBeenSet() const { return m_parentIdentifierHasBeenSet; }
64 template<typename ParentIdentifierT = Aws::String>
65 void SetParentIdentifier(ParentIdentifierT&& value) { m_parentIdentifierHasBeenSet = true; m_parentIdentifier = std::forward<ParentIdentifierT>(value); }
66 template<typename ParentIdentifierT = Aws::String>
67 ConnectorEntityField& WithParentIdentifier(ParentIdentifierT&& value) { SetParentIdentifier(std::forward<ParentIdentifierT>(value)); return *this;}
69
71
74 inline const Aws::String& GetLabel() const { return m_label; }
75 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
76 template<typename LabelT = Aws::String>
77 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
78 template<typename LabelT = Aws::String>
79 ConnectorEntityField& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
81
83
87 inline bool GetIsPrimaryKey() const { return m_isPrimaryKey; }
88 inline bool IsPrimaryKeyHasBeenSet() const { return m_isPrimaryKeyHasBeenSet; }
89 inline void SetIsPrimaryKey(bool value) { m_isPrimaryKeyHasBeenSet = true; m_isPrimaryKey = value; }
90 inline ConnectorEntityField& WithIsPrimaryKey(bool value) { SetIsPrimaryKey(value); return *this;}
92
94
97 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
98 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
99 template<typename DefaultValueT = Aws::String>
100 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
101 template<typename DefaultValueT = Aws::String>
102 ConnectorEntityField& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
104
106
109 inline bool GetIsDeprecated() const { return m_isDeprecated; }
110 inline bool IsDeprecatedHasBeenSet() const { return m_isDeprecatedHasBeenSet; }
111 inline void SetIsDeprecated(bool value) { m_isDeprecatedHasBeenSet = true; m_isDeprecated = value; }
112 inline ConnectorEntityField& WithIsDeprecated(bool value) { SetIsDeprecated(value); return *this;}
114
116
121 inline const SupportedFieldTypeDetails& GetSupportedFieldTypeDetails() const { return m_supportedFieldTypeDetails; }
122 inline bool SupportedFieldTypeDetailsHasBeenSet() const { return m_supportedFieldTypeDetailsHasBeenSet; }
123 template<typename SupportedFieldTypeDetailsT = SupportedFieldTypeDetails>
124 void SetSupportedFieldTypeDetails(SupportedFieldTypeDetailsT&& value) { m_supportedFieldTypeDetailsHasBeenSet = true; m_supportedFieldTypeDetails = std::forward<SupportedFieldTypeDetailsT>(value); }
125 template<typename SupportedFieldTypeDetailsT = SupportedFieldTypeDetails>
126 ConnectorEntityField& WithSupportedFieldTypeDetails(SupportedFieldTypeDetailsT&& value) { SetSupportedFieldTypeDetails(std::forward<SupportedFieldTypeDetailsT>(value)); return *this;}
128
130
133 inline const Aws::String& GetDescription() const { return m_description; }
134 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 template<typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
137 template<typename DescriptionT = Aws::String>
138 ConnectorEntityField& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
140
142
146 inline const SourceFieldProperties& GetSourceProperties() const { return m_sourceProperties; }
147 inline bool SourcePropertiesHasBeenSet() const { return m_sourcePropertiesHasBeenSet; }
148 template<typename SourcePropertiesT = SourceFieldProperties>
149 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet = true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
150 template<typename SourcePropertiesT = SourceFieldProperties>
151 ConnectorEntityField& WithSourceProperties(SourcePropertiesT&& value) { SetSourceProperties(std::forward<SourcePropertiesT>(value)); return *this;}
153
155
159 inline const DestinationFieldProperties& GetDestinationProperties() const { return m_destinationProperties; }
160 inline bool DestinationPropertiesHasBeenSet() const { return m_destinationPropertiesHasBeenSet; }
161 template<typename DestinationPropertiesT = DestinationFieldProperties>
162 void SetDestinationProperties(DestinationPropertiesT&& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = std::forward<DestinationPropertiesT>(value); }
163 template<typename DestinationPropertiesT = DestinationFieldProperties>
164 ConnectorEntityField& WithDestinationProperties(DestinationPropertiesT&& value) { SetDestinationProperties(std::forward<DestinationPropertiesT>(value)); return *this;}
166
168
171 inline const Aws::Map<Aws::String, Aws::String>& GetCustomProperties() const { return m_customProperties; }
172 inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; }
173 template<typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
174 void SetCustomProperties(CustomPropertiesT&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::forward<CustomPropertiesT>(value); }
175 template<typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
176 ConnectorEntityField& WithCustomProperties(CustomPropertiesT&& value) { SetCustomProperties(std::forward<CustomPropertiesT>(value)); return *this;}
177 template<typename CustomPropertiesKeyT = Aws::String, typename CustomPropertiesValueT = Aws::String>
178 ConnectorEntityField& AddCustomProperties(CustomPropertiesKeyT&& key, CustomPropertiesValueT&& value) {
179 m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::forward<CustomPropertiesKeyT>(key), std::forward<CustomPropertiesValueT>(value)); return *this;
180 }
182 private:
183
184 Aws::String m_identifier;
185 bool m_identifierHasBeenSet = false;
186
187 Aws::String m_parentIdentifier;
188 bool m_parentIdentifierHasBeenSet = false;
189
190 Aws::String m_label;
191 bool m_labelHasBeenSet = false;
192
193 bool m_isPrimaryKey{false};
194 bool m_isPrimaryKeyHasBeenSet = false;
195
196 Aws::String m_defaultValue;
197 bool m_defaultValueHasBeenSet = false;
198
199 bool m_isDeprecated{false};
200 bool m_isDeprecatedHasBeenSet = false;
201
202 SupportedFieldTypeDetails m_supportedFieldTypeDetails;
203 bool m_supportedFieldTypeDetailsHasBeenSet = false;
204
205 Aws::String m_description;
206 bool m_descriptionHasBeenSet = false;
207
208 SourceFieldProperties m_sourceProperties;
209 bool m_sourcePropertiesHasBeenSet = false;
210
211 DestinationFieldProperties m_destinationProperties;
212 bool m_destinationPropertiesHasBeenSet = false;
213
214 Aws::Map<Aws::String, Aws::String> m_customProperties;
215 bool m_customPropertiesHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace Appflow
220} // namespace Aws
ConnectorEntityField & AddCustomProperties(CustomPropertiesKeyT &&key, CustomPropertiesValueT &&value)
ConnectorEntityField & WithParentIdentifier(ParentIdentifierT &&value)
ConnectorEntityField & WithIsDeprecated(bool value)
const Aws::Map< Aws::String, Aws::String > & GetCustomProperties() const
ConnectorEntityField & WithCustomProperties(CustomPropertiesT &&value)
void SetDestinationProperties(DestinationPropertiesT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const DestinationFieldProperties & GetDestinationProperties() const
void SetSourceProperties(SourcePropertiesT &&value)
ConnectorEntityField & WithIdentifier(IdentifierT &&value)
ConnectorEntityField & WithDescription(DescriptionT &&value)
AWS_APPFLOW_API ConnectorEntityField()=default
ConnectorEntityField & WithSupportedFieldTypeDetails(SupportedFieldTypeDetailsT &&value)
ConnectorEntityField & WithSourceProperties(SourcePropertiesT &&value)
ConnectorEntityField & WithLabel(LabelT &&value)
void SetCustomProperties(CustomPropertiesT &&value)
const Aws::String & GetParentIdentifier() const
const SourceFieldProperties & GetSourceProperties() const
ConnectorEntityField & WithIsPrimaryKey(bool value)
ConnectorEntityField & WithDestinationProperties(DestinationPropertiesT &&value)
const SupportedFieldTypeDetails & GetSupportedFieldTypeDetails() const
AWS_APPFLOW_API ConnectorEntityField(Aws::Utils::Json::JsonView jsonValue)
void SetSupportedFieldTypeDetails(SupportedFieldTypeDetailsT &&value)
AWS_APPFLOW_API ConnectorEntityField & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorEntityField & WithDefaultValue(DefaultValueT &&value)
void SetParentIdentifier(ParentIdentifierT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue