AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
53 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
54 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
55 inline ConnectorEntityField& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
56 inline ConnectorEntityField& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
57 inline ConnectorEntityField& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
59
61
64 inline const Aws::String& GetParentIdentifier() const{ return m_parentIdentifier; }
65 inline bool ParentIdentifierHasBeenSet() const { return m_parentIdentifierHasBeenSet; }
66 inline void SetParentIdentifier(const Aws::String& value) { m_parentIdentifierHasBeenSet = true; m_parentIdentifier = value; }
67 inline void SetParentIdentifier(Aws::String&& value) { m_parentIdentifierHasBeenSet = true; m_parentIdentifier = std::move(value); }
68 inline void SetParentIdentifier(const char* value) { m_parentIdentifierHasBeenSet = true; m_parentIdentifier.assign(value); }
69 inline ConnectorEntityField& WithParentIdentifier(const Aws::String& value) { SetParentIdentifier(value); return *this;}
70 inline ConnectorEntityField& WithParentIdentifier(Aws::String&& value) { SetParentIdentifier(std::move(value)); return *this;}
71 inline ConnectorEntityField& WithParentIdentifier(const char* value) { SetParentIdentifier(value); return *this;}
73
75
78 inline const Aws::String& GetLabel() const{ return m_label; }
79 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
80 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
81 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
82 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
83 inline ConnectorEntityField& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
84 inline ConnectorEntityField& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
85 inline ConnectorEntityField& WithLabel(const char* value) { SetLabel(value); return *this;}
87
89
93 inline bool GetIsPrimaryKey() const{ return m_isPrimaryKey; }
94 inline bool IsPrimaryKeyHasBeenSet() const { return m_isPrimaryKeyHasBeenSet; }
95 inline void SetIsPrimaryKey(bool value) { m_isPrimaryKeyHasBeenSet = true; m_isPrimaryKey = value; }
96 inline ConnectorEntityField& WithIsPrimaryKey(bool value) { SetIsPrimaryKey(value); return *this;}
98
100
103 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
104 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
105 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
106 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
107 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
108 inline ConnectorEntityField& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
109 inline ConnectorEntityField& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
110 inline ConnectorEntityField& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
112
114
117 inline bool GetIsDeprecated() const{ return m_isDeprecated; }
118 inline bool IsDeprecatedHasBeenSet() const { return m_isDeprecatedHasBeenSet; }
119 inline void SetIsDeprecated(bool value) { m_isDeprecatedHasBeenSet = true; m_isDeprecated = value; }
120 inline ConnectorEntityField& WithIsDeprecated(bool value) { SetIsDeprecated(value); return *this;}
122
124
129 inline const SupportedFieldTypeDetails& GetSupportedFieldTypeDetails() const{ return m_supportedFieldTypeDetails; }
130 inline bool SupportedFieldTypeDetailsHasBeenSet() const { return m_supportedFieldTypeDetailsHasBeenSet; }
131 inline void SetSupportedFieldTypeDetails(const SupportedFieldTypeDetails& value) { m_supportedFieldTypeDetailsHasBeenSet = true; m_supportedFieldTypeDetails = value; }
132 inline void SetSupportedFieldTypeDetails(SupportedFieldTypeDetails&& value) { m_supportedFieldTypeDetailsHasBeenSet = true; m_supportedFieldTypeDetails = std::move(value); }
136
138
141 inline const Aws::String& GetDescription() const{ return m_description; }
142 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
143 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
144 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
145 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
146 inline ConnectorEntityField& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
147 inline ConnectorEntityField& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
148 inline ConnectorEntityField& WithDescription(const char* value) { SetDescription(value); return *this;}
150
152
156 inline const SourceFieldProperties& GetSourceProperties() const{ return m_sourceProperties; }
157 inline bool SourcePropertiesHasBeenSet() const { return m_sourcePropertiesHasBeenSet; }
158 inline void SetSourceProperties(const SourceFieldProperties& value) { m_sourcePropertiesHasBeenSet = true; m_sourceProperties = value; }
159 inline void SetSourceProperties(SourceFieldProperties&& value) { m_sourcePropertiesHasBeenSet = true; m_sourceProperties = std::move(value); }
161 inline ConnectorEntityField& WithSourceProperties(SourceFieldProperties&& value) { SetSourceProperties(std::move(value)); return *this;}
163
165
169 inline const DestinationFieldProperties& GetDestinationProperties() const{ return m_destinationProperties; }
170 inline bool DestinationPropertiesHasBeenSet() const { return m_destinationPropertiesHasBeenSet; }
171 inline void SetDestinationProperties(const DestinationFieldProperties& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = value; }
172 inline void SetDestinationProperties(DestinationFieldProperties&& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = std::move(value); }
176
178
181 inline const Aws::Map<Aws::String, Aws::String>& GetCustomProperties() const{ return m_customProperties; }
182 inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; }
183 inline void SetCustomProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; }
184 inline void SetCustomProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); }
187 inline ConnectorEntityField& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; }
188 inline ConnectorEntityField& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; }
189 inline ConnectorEntityField& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; }
190 inline ConnectorEntityField& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; }
191 inline ConnectorEntityField& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; }
192 inline ConnectorEntityField& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; }
193 inline ConnectorEntityField& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; }
195 private:
196
197 Aws::String m_identifier;
198 bool m_identifierHasBeenSet = false;
199
200 Aws::String m_parentIdentifier;
201 bool m_parentIdentifierHasBeenSet = false;
202
203 Aws::String m_label;
204 bool m_labelHasBeenSet = false;
205
206 bool m_isPrimaryKey;
207 bool m_isPrimaryKeyHasBeenSet = false;
208
209 Aws::String m_defaultValue;
210 bool m_defaultValueHasBeenSet = false;
211
212 bool m_isDeprecated;
213 bool m_isDeprecatedHasBeenSet = false;
214
215 SupportedFieldTypeDetails m_supportedFieldTypeDetails;
216 bool m_supportedFieldTypeDetailsHasBeenSet = false;
217
218 Aws::String m_description;
219 bool m_descriptionHasBeenSet = false;
220
221 SourceFieldProperties m_sourceProperties;
222 bool m_sourcePropertiesHasBeenSet = false;
223
224 DestinationFieldProperties m_destinationProperties;
225 bool m_destinationPropertiesHasBeenSet = false;
226
227 Aws::Map<Aws::String, Aws::String> m_customProperties;
228 bool m_customPropertiesHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace Appflow
233} // namespace Aws
void SetDescription(const Aws::String &value)
ConnectorEntityField & WithIdentifier(const char *value)
void SetSourceProperties(SourceFieldProperties &&value)
ConnectorEntityField & WithDescription(const Aws::String &value)
ConnectorEntityField & WithCustomProperties(Aws::Map< Aws::String, Aws::String > &&value)
ConnectorEntityField & AddCustomProperties(const char *key, const char *value)
ConnectorEntityField & WithParentIdentifier(Aws::String &&value)
void SetCustomProperties(Aws::Map< Aws::String, Aws::String > &&value)
ConnectorEntityField & WithIsDeprecated(bool value)
ConnectorEntityField & WithSupportedFieldTypeDetails(SupportedFieldTypeDetails &&value)
void SetDestinationProperties(DestinationFieldProperties &&value)
ConnectorEntityField & WithCustomProperties(const Aws::Map< Aws::String, Aws::String > &value)
ConnectorEntityField & WithLabel(const char *value)
ConnectorEntityField & WithParentIdentifier(const Aws::String &value)
void SetIdentifier(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomProperties() const
ConnectorEntityField & WithDefaultValue(const Aws::String &value)
ConnectorEntityField & WithDescription(Aws::String &&value)
ConnectorEntityField & WithLabel(Aws::String &&value)
ConnectorEntityField & AddCustomProperties(const char *key, Aws::String &&value)
void SetDefaultValue(const Aws::String &value)
ConnectorEntityField & WithDefaultValue(const char *value)
ConnectorEntityField & WithParentIdentifier(const char *value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const DestinationFieldProperties & GetDestinationProperties() const
ConnectorEntityField & WithIdentifier(Aws::String &&value)
void SetCustomProperties(const Aws::Map< Aws::String, Aws::String > &value)
ConnectorEntityField & WithDestinationProperties(DestinationFieldProperties &&value)
ConnectorEntityField & AddCustomProperties(Aws::String &&key, const char *value)
void SetSupportedFieldTypeDetails(const SupportedFieldTypeDetails &value)
ConnectorEntityField & WithDefaultValue(Aws::String &&value)
ConnectorEntityField & AddCustomProperties(Aws::String &&key, Aws::String &&value)
void SetSourceProperties(const SourceFieldProperties &value)
ConnectorEntityField & WithSourceProperties(const SourceFieldProperties &value)
void SetDestinationProperties(const DestinationFieldProperties &value)
void SetSupportedFieldTypeDetails(SupportedFieldTypeDetails &&value)
ConnectorEntityField & AddCustomProperties(const Aws::String &key, Aws::String &&value)
ConnectorEntityField & WithLabel(const Aws::String &value)
const Aws::String & GetParentIdentifier() const
const SourceFieldProperties & GetSourceProperties() const
ConnectorEntityField & WithDescription(const char *value)
ConnectorEntityField & WithIsPrimaryKey(bool value)
const SupportedFieldTypeDetails & GetSupportedFieldTypeDetails() const
ConnectorEntityField & WithSupportedFieldTypeDetails(const SupportedFieldTypeDetails &value)
ConnectorEntityField & AddCustomProperties(const Aws::String &key, const Aws::String &value)
AWS_APPFLOW_API ConnectorEntityField(Aws::Utils::Json::JsonView jsonValue)
ConnectorEntityField & WithIdentifier(const Aws::String &value)
AWS_APPFLOW_API ConnectorEntityField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParentIdentifier(const Aws::String &value)
ConnectorEntityField & WithDestinationProperties(const DestinationFieldProperties &value)
ConnectorEntityField & WithSourceProperties(SourceFieldProperties &&value)
ConnectorEntityField & AddCustomProperties(Aws::String &&key, const Aws::String &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