AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectorRuntimeSetting.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 ConnectorRuntimeSetting();
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKey() const{ return m_key; }
47 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
48 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
49 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
50 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
51 inline ConnectorRuntimeSetting& WithKey(const Aws::String& value) { SetKey(value); return *this;}
52 inline ConnectorRuntimeSetting& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
53 inline ConnectorRuntimeSetting& WithKey(const char* value) { SetKey(value); return *this;}
55
57
60 inline const Aws::String& GetDataType() const{ return m_dataType; }
61 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
62 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
63 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
64 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
65 inline ConnectorRuntimeSetting& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
66 inline ConnectorRuntimeSetting& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
67 inline ConnectorRuntimeSetting& WithDataType(const char* value) { SetDataType(value); return *this;}
69
71
74 inline bool GetIsRequired() const{ return m_isRequired; }
75 inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
76 inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
77 inline ConnectorRuntimeSetting& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
79
81
84 inline const Aws::String& GetLabel() const{ return m_label; }
85 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
86 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
87 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
88 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
89 inline ConnectorRuntimeSetting& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
90 inline ConnectorRuntimeSetting& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
91 inline ConnectorRuntimeSetting& WithLabel(const char* value) { SetLabel(value); return *this;}
93
95
98 inline const Aws::String& GetDescription() const{ return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
101 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
102 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
103 inline ConnectorRuntimeSetting& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
104 inline ConnectorRuntimeSetting& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
105 inline ConnectorRuntimeSetting& WithDescription(const char* value) { SetDescription(value); return *this;}
107
109
112 inline const Aws::String& GetScope() const{ return m_scope; }
113 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
114 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
115 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
116 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
117 inline ConnectorRuntimeSetting& WithScope(const Aws::String& value) { SetScope(value); return *this;}
118 inline ConnectorRuntimeSetting& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
119 inline ConnectorRuntimeSetting& WithScope(const char* value) { SetScope(value); return *this;}
121
123
127 inline const Aws::Vector<Aws::String>& GetConnectorSuppliedValueOptions() const{ return m_connectorSuppliedValueOptions; }
128 inline bool ConnectorSuppliedValueOptionsHasBeenSet() const { return m_connectorSuppliedValueOptionsHasBeenSet; }
129 inline void SetConnectorSuppliedValueOptions(const Aws::Vector<Aws::String>& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions = value; }
130 inline void SetConnectorSuppliedValueOptions(Aws::Vector<Aws::String>&& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions = std::move(value); }
133 inline ConnectorRuntimeSetting& AddConnectorSuppliedValueOptions(const Aws::String& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions.push_back(value); return *this; }
134 inline ConnectorRuntimeSetting& AddConnectorSuppliedValueOptions(Aws::String&& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions.push_back(std::move(value)); return *this; }
135 inline ConnectorRuntimeSetting& AddConnectorSuppliedValueOptions(const char* value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions.push_back(value); return *this; }
137 private:
138
139 Aws::String m_key;
140 bool m_keyHasBeenSet = false;
141
142 Aws::String m_dataType;
143 bool m_dataTypeHasBeenSet = false;
144
145 bool m_isRequired;
146 bool m_isRequiredHasBeenSet = false;
147
148 Aws::String m_label;
149 bool m_labelHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 Aws::String m_scope;
155 bool m_scopeHasBeenSet = false;
156
157 Aws::Vector<Aws::String> m_connectorSuppliedValueOptions;
158 bool m_connectorSuppliedValueOptionsHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Appflow
163} // namespace Aws
ConnectorRuntimeSetting & WithDataType(const Aws::String &value)
ConnectorRuntimeSetting & AddConnectorSuppliedValueOptions(Aws::String &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetConnectorSuppliedValueOptions() const
ConnectorRuntimeSetting & WithLabel(Aws::String &&value)
ConnectorRuntimeSetting & WithLabel(const Aws::String &value)
ConnectorRuntimeSetting & WithDescription(const char *value)
ConnectorRuntimeSetting & WithDescription(Aws::String &&value)
ConnectorRuntimeSetting & WithDescription(const Aws::String &value)
ConnectorRuntimeSetting & WithConnectorSuppliedValueOptions(const Aws::Vector< Aws::String > &value)
ConnectorRuntimeSetting & WithKey(const char *value)
void SetConnectorSuppliedValueOptions(Aws::Vector< Aws::String > &&value)
ConnectorRuntimeSetting & AddConnectorSuppliedValueOptions(const Aws::String &value)
ConnectorRuntimeSetting & WithDataType(const char *value)
ConnectorRuntimeSetting & WithDataType(Aws::String &&value)
ConnectorRuntimeSetting & WithKey(const Aws::String &value)
void SetConnectorSuppliedValueOptions(const Aws::Vector< Aws::String > &value)
ConnectorRuntimeSetting & WithKey(Aws::String &&value)
ConnectorRuntimeSetting & WithScope(const char *value)
ConnectorRuntimeSetting & WithScope(const Aws::String &value)
ConnectorRuntimeSetting & WithScope(Aws::String &&value)
ConnectorRuntimeSetting & AddConnectorSuppliedValueOptions(const char *value)
ConnectorRuntimeSetting & WithIsRequired(bool value)
ConnectorRuntimeSetting & WithLabel(const char *value)
AWS_APPFLOW_API ConnectorRuntimeSetting(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API ConnectorRuntimeSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorRuntimeSetting & WithConnectorSuppliedValueOptions(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue