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 <aws/appflow/model/OAuth2CustomPropType.h>
49 template<
typename KeyT = Aws::String>
50 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
51 template<
typename KeyT = Aws::String>
62 inline void SetIsRequired(
bool value) { m_isRequiredHasBeenSet =
true; m_isRequired = value; }
72 template<
typename LabelT = Aws::String>
73 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
74 template<
typename LabelT = Aws::String>
85 template<
typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
87 template<
typename DescriptionT = Aws::String>
98 inline void SetIsSensitiveField(
bool value) { m_isSensitiveFieldHasBeenSet =
true; m_isSensitiveField = value; }
109 template<
typename ConnectorSuppliedValuesT = Aws::Vector<Aws::String>>
110 void SetConnectorSuppliedValues(ConnectorSuppliedValuesT&& value) { m_connectorSuppliedValuesHasBeenSet =
true; m_connectorSuppliedValues = std::forward<ConnectorSuppliedValuesT>(value); }
111 template<
typename ConnectorSuppliedValuesT = Aws::Vector<Aws::String>>
113 template<
typename ConnectorSuppliedValuesT = Aws::String>
129 bool m_keyHasBeenSet =
false;
131 bool m_isRequired{
false};
132 bool m_isRequiredHasBeenSet =
false;
135 bool m_labelHasBeenSet =
false;
138 bool m_descriptionHasBeenSet =
false;
140 bool m_isSensitiveField{
false};
141 bool m_isSensitiveFieldHasBeenSet =
false;
144 bool m_connectorSuppliedValuesHasBeenSet =
false;
147 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