AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationFieldProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/appflow/model/WriteOperationType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFLOW_API DestinationFieldProperties();
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetIsCreatable() const{ return m_isCreatable; }
47 inline bool IsCreatableHasBeenSet() const { return m_isCreatableHasBeenSet; }
48 inline void SetIsCreatable(bool value) { m_isCreatableHasBeenSet = true; m_isCreatable = value; }
49 inline DestinationFieldProperties& WithIsCreatable(bool value) { SetIsCreatable(value); return *this;}
51
53
56 inline bool GetIsNullable() const{ return m_isNullable; }
57 inline bool IsNullableHasBeenSet() const { return m_isNullableHasBeenSet; }
58 inline void SetIsNullable(bool value) { m_isNullableHasBeenSet = true; m_isNullable = value; }
59 inline DestinationFieldProperties& WithIsNullable(bool value) { SetIsNullable(value); return *this;}
61
63
67 inline bool GetIsUpsertable() const{ return m_isUpsertable; }
68 inline bool IsUpsertableHasBeenSet() const { return m_isUpsertableHasBeenSet; }
69 inline void SetIsUpsertable(bool value) { m_isUpsertableHasBeenSet = true; m_isUpsertable = value; }
70 inline DestinationFieldProperties& WithIsUpsertable(bool value) { SetIsUpsertable(value); return *this;}
72
74
78 inline bool GetIsUpdatable() const{ return m_isUpdatable; }
79 inline bool IsUpdatableHasBeenSet() const { return m_isUpdatableHasBeenSet; }
80 inline void SetIsUpdatable(bool value) { m_isUpdatableHasBeenSet = true; m_isUpdatable = value; }
81 inline DestinationFieldProperties& WithIsUpdatable(bool value) { SetIsUpdatable(value); return *this;}
83
85
89 inline bool GetIsDefaultedOnCreate() const{ return m_isDefaultedOnCreate; }
90 inline bool IsDefaultedOnCreateHasBeenSet() const { return m_isDefaultedOnCreateHasBeenSet; }
91 inline void SetIsDefaultedOnCreate(bool value) { m_isDefaultedOnCreateHasBeenSet = true; m_isDefaultedOnCreate = value; }
94
96
101 inline const Aws::Vector<WriteOperationType>& GetSupportedWriteOperations() const{ return m_supportedWriteOperations; }
102 inline bool SupportedWriteOperationsHasBeenSet() const { return m_supportedWriteOperationsHasBeenSet; }
103 inline void SetSupportedWriteOperations(const Aws::Vector<WriteOperationType>& value) { m_supportedWriteOperationsHasBeenSet = true; m_supportedWriteOperations = value; }
104 inline void SetSupportedWriteOperations(Aws::Vector<WriteOperationType>&& value) { m_supportedWriteOperationsHasBeenSet = true; m_supportedWriteOperations = std::move(value); }
107 inline DestinationFieldProperties& AddSupportedWriteOperations(const WriteOperationType& value) { m_supportedWriteOperationsHasBeenSet = true; m_supportedWriteOperations.push_back(value); return *this; }
108 inline DestinationFieldProperties& AddSupportedWriteOperations(WriteOperationType&& value) { m_supportedWriteOperationsHasBeenSet = true; m_supportedWriteOperations.push_back(std::move(value)); return *this; }
110 private:
111
112 bool m_isCreatable;
113 bool m_isCreatableHasBeenSet = false;
114
115 bool m_isNullable;
116 bool m_isNullableHasBeenSet = false;
117
118 bool m_isUpsertable;
119 bool m_isUpsertableHasBeenSet = false;
120
121 bool m_isUpdatable;
122 bool m_isUpdatableHasBeenSet = false;
123
124 bool m_isDefaultedOnCreate;
125 bool m_isDefaultedOnCreateHasBeenSet = false;
126
127 Aws::Vector<WriteOperationType> m_supportedWriteOperations;
128 bool m_supportedWriteOperationsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Appflow
133} // namespace Aws
DestinationFieldProperties & WithIsNullable(bool value)
void SetSupportedWriteOperations(const Aws::Vector< WriteOperationType > &value)
DestinationFieldProperties & AddSupportedWriteOperations(const WriteOperationType &value)
DestinationFieldProperties & WithIsUpdatable(bool value)
DestinationFieldProperties & WithSupportedWriteOperations(Aws::Vector< WriteOperationType > &&value)
DestinationFieldProperties & WithIsDefaultedOnCreate(bool value)
const Aws::Vector< WriteOperationType > & GetSupportedWriteOperations() const
AWS_APPFLOW_API DestinationFieldProperties(Aws::Utils::Json::JsonView jsonValue)
DestinationFieldProperties & WithIsCreatable(bool value)
DestinationFieldProperties & AddSupportedWriteOperations(WriteOperationType &&value)
DestinationFieldProperties & WithSupportedWriteOperations(const Aws::Vector< WriteOperationType > &value)
DestinationFieldProperties & WithIsUpsertable(bool value)
void SetSupportedWriteOperations(Aws::Vector< WriteOperationType > &&value)
AWS_APPFLOW_API DestinationFieldProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue