AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename KeyT = Aws::String>
49 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
50 template<typename KeyT = Aws::String>
51 ConnectorRuntimeSetting& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDataType() const { return m_dataType; }
59 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
60 template<typename DataTypeT = Aws::String>
61 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::forward<DataTypeT>(value); }
62 template<typename DataTypeT = Aws::String>
63 ConnectorRuntimeSetting& WithDataType(DataTypeT&& value) { SetDataType(std::forward<DataTypeT>(value)); return *this;}
65
67
70 inline bool GetIsRequired() const { return m_isRequired; }
71 inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
72 inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
73 inline ConnectorRuntimeSetting& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
75
77
80 inline const Aws::String& GetLabel() const { return m_label; }
81 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
82 template<typename LabelT = Aws::String>
83 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
84 template<typename LabelT = Aws::String>
85 ConnectorRuntimeSetting& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template<typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
96 template<typename DescriptionT = Aws::String>
97 ConnectorRuntimeSetting& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
99
101
104 inline const Aws::String& GetScope() const { return m_scope; }
105 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
106 template<typename ScopeT = Aws::String>
107 void SetScope(ScopeT&& value) { m_scopeHasBeenSet = true; m_scope = std::forward<ScopeT>(value); }
108 template<typename ScopeT = Aws::String>
109 ConnectorRuntimeSetting& WithScope(ScopeT&& value) { SetScope(std::forward<ScopeT>(value)); return *this;}
111
113
117 inline const Aws::Vector<Aws::String>& GetConnectorSuppliedValueOptions() const { return m_connectorSuppliedValueOptions; }
118 inline bool ConnectorSuppliedValueOptionsHasBeenSet() const { return m_connectorSuppliedValueOptionsHasBeenSet; }
119 template<typename ConnectorSuppliedValueOptionsT = Aws::Vector<Aws::String>>
120 void SetConnectorSuppliedValueOptions(ConnectorSuppliedValueOptionsT&& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions = std::forward<ConnectorSuppliedValueOptionsT>(value); }
121 template<typename ConnectorSuppliedValueOptionsT = Aws::Vector<Aws::String>>
122 ConnectorRuntimeSetting& WithConnectorSuppliedValueOptions(ConnectorSuppliedValueOptionsT&& value) { SetConnectorSuppliedValueOptions(std::forward<ConnectorSuppliedValueOptionsT>(value)); return *this;}
123 template<typename ConnectorSuppliedValueOptionsT = Aws::String>
124 ConnectorRuntimeSetting& AddConnectorSuppliedValueOptions(ConnectorSuppliedValueOptionsT&& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions.emplace_back(std::forward<ConnectorSuppliedValueOptionsT>(value)); return *this; }
126 private:
127
128 Aws::String m_key;
129 bool m_keyHasBeenSet = false;
130
131 Aws::String m_dataType;
132 bool m_dataTypeHasBeenSet = false;
133
134 bool m_isRequired{false};
135 bool m_isRequiredHasBeenSet = false;
136
137 Aws::String m_label;
138 bool m_labelHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::String m_scope;
144 bool m_scopeHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_connectorSuppliedValueOptions;
147 bool m_connectorSuppliedValueOptionsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Appflow
152} // namespace Aws
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetConnectorSuppliedValueOptions() const
ConnectorRuntimeSetting & WithDescription(DescriptionT &&value)
ConnectorRuntimeSetting & WithKey(KeyT &&value)
ConnectorRuntimeSetting & WithLabel(LabelT &&value)
AWS_APPFLOW_API ConnectorRuntimeSetting()=default
ConnectorRuntimeSetting & WithScope(ScopeT &&value)
void SetConnectorSuppliedValueOptions(ConnectorSuppliedValueOptionsT &&value)
ConnectorRuntimeSetting & WithIsRequired(bool value)
ConnectorRuntimeSetting & AddConnectorSuppliedValueOptions(ConnectorSuppliedValueOptionsT &&value)
AWS_APPFLOW_API ConnectorRuntimeSetting(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API ConnectorRuntimeSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorRuntimeSetting & WithDataType(DataTypeT &&value)
ConnectorRuntimeSetting & WithConnectorSuppliedValueOptions(ConnectorSuppliedValueOptionsT &&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