7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/OAuth2CustomPropType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename KeyT = Aws::String>
45 m_keyHasBeenSet =
true;
46 m_key = std::forward<KeyT>(value);
48 template <
typename KeyT = Aws::String>
50 SetKey(std::forward<KeyT>(value));
63 m_isRequiredHasBeenSet =
true;
78 template <
typename LabelT = Aws::String>
80 m_labelHasBeenSet =
true;
81 m_label = std::forward<LabelT>(value);
83 template <
typename LabelT = Aws::String>
85 SetLabel(std::forward<LabelT>(value));
97 template <
typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet =
true;
100 m_description = std::forward<DescriptionT>(value);
102 template <
typename DescriptionT = Aws::String>
117 m_isSensitiveFieldHasBeenSet =
true;
118 m_isSensitiveField = value;
133 template <
typename ConnectorSuppliedValuesT = Aws::Vector<Aws::String>>
135 m_connectorSuppliedValuesHasBeenSet =
true;
136 m_connectorSuppliedValues = std::forward<ConnectorSuppliedValuesT>(value);
138 template <
typename ConnectorSuppliedValuesT = Aws::Vector<Aws::String>>
143 template <
typename ConnectorSuppliedValuesT = Aws::String>
145 m_connectorSuppliedValuesHasBeenSet =
true;
146 m_connectorSuppliedValues.emplace_back(std::forward<ConnectorSuppliedValuesT>(value));
158 m_typeHasBeenSet =
true;
169 bool m_isRequired{
false};
175 bool m_isSensitiveField{
false};
180 bool m_keyHasBeenSet =
false;
181 bool m_isRequiredHasBeenSet =
false;
182 bool m_labelHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
184 bool m_isSensitiveFieldHasBeenSet =
false;
185 bool m_connectorSuppliedValuesHasBeenSet =
false;
186 bool m_typeHasBeenSet =
false;
AWS_APPFLOW_API OAuth2CustomParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
OAuth2CustomPropType GetType() const
OAuth2CustomParameter & WithType(OAuth2CustomPropType value)
OAuth2CustomParameter & WithDescription(DescriptionT &&value)
bool GetIsRequired() const
OAuth2CustomParameter & WithLabel(LabelT &&value)
void SetIsRequired(bool value)
bool GetIsSensitiveField() const
AWS_APPFLOW_API OAuth2CustomParameter()=default
void SetType(OAuth2CustomPropType value)
void SetConnectorSuppliedValues(ConnectorSuppliedValuesT &&value)
OAuth2CustomParameter & AddConnectorSuppliedValues(ConnectorSuppliedValuesT &&value)
bool KeyHasBeenSet() const
OAuth2CustomParameter & WithConnectorSuppliedValues(ConnectorSuppliedValuesT &&value)
OAuth2CustomParameter & WithIsRequired(bool value)
bool LabelHasBeenSet() const
bool ConnectorSuppliedValuesHasBeenSet() const
OAuth2CustomParameter & WithKey(KeyT &&value)
void SetIsSensitiveField(bool value)
OAuth2CustomParameter & WithIsSensitiveField(bool value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetLabel(LabelT &&value)
AWS_APPFLOW_API OAuth2CustomParameter(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
bool IsRequiredHasBeenSet() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
bool IsSensitiveFieldHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetKey() const
const Aws::String & GetLabel() const
void SetKey(KeyT &&value)
const Aws::Vector< Aws::String > & GetConnectorSuppliedValues() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue