/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

Contains information about the connector runtime settings that are required * for flow execution.

See Also:

AWS * API Reference

*/ class ConnectorRuntimeSetting { public: AWS_APPFLOW_API ConnectorRuntimeSetting(); AWS_APPFLOW_API ConnectorRuntimeSetting(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API ConnectorRuntimeSetting& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Contains value information about the connector runtime setting.

*/ inline const Aws::String& GetKey() const{ return m_key; } /** *

Contains value information about the connector runtime setting.

*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *

Contains value information about the connector runtime setting.

*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *

Contains value information about the connector runtime setting.

*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *

Contains value information about the connector runtime setting.

*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *

Contains value information about the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *

Contains value information about the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *

Contains value information about the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithKey(const char* value) { SetKey(value); return *this;} /** *

Data type of the connector runtime setting.

*/ inline const Aws::String& GetDataType() const{ return m_dataType; } /** *

Data type of the connector runtime setting.

*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *

Data type of the connector runtime setting.

*/ inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *

Data type of the connector runtime setting.

*/ inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *

Data type of the connector runtime setting.

*/ inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); } /** *

Data type of the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *

Data type of the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *

Data type of the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithDataType(const char* value) { SetDataType(value); return *this;} /** *

Indicates whether this connector runtime setting is required.

*/ inline bool GetIsRequired() const{ return m_isRequired; } /** *

Indicates whether this connector runtime setting is required.

*/ inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; } /** *

Indicates whether this connector runtime setting is required.

*/ inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; } /** *

Indicates whether this connector runtime setting is required.

*/ inline ConnectorRuntimeSetting& WithIsRequired(bool value) { SetIsRequired(value); return *this;} /** *

A label used for connector runtime setting.

*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *

A label used for connector runtime setting.

*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *

A label used for connector runtime setting.

*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *

A label used for connector runtime setting.

*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *

A label used for connector runtime setting.

*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *

A label used for connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *

A label used for connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *

A label used for connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithLabel(const char* value) { SetLabel(value); return *this;} /** *

A description about the connector runtime setting.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description about the connector runtime setting.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description about the connector runtime setting.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description about the connector runtime setting.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description about the connector runtime setting.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description about the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description about the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description about the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Indicates the scope of the connector runtime setting.

*/ inline const Aws::String& GetScope() const{ return m_scope; } /** *

Indicates the scope of the connector runtime setting.

*/ inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; } /** *

Indicates the scope of the connector runtime setting.

*/ inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; } /** *

Indicates the scope of the connector runtime setting.

*/ inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); } /** *

Indicates the scope of the connector runtime setting.

*/ inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); } /** *

Indicates the scope of the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithScope(const Aws::String& value) { SetScope(value); return *this;} /** *

Indicates the scope of the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;} /** *

Indicates the scope of the connector runtime setting.

*/ inline ConnectorRuntimeSetting& WithScope(const char* value) { SetScope(value); return *this;} /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline const Aws::Vector& GetConnectorSuppliedValueOptions() const{ return m_connectorSuppliedValueOptions; } /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline bool ConnectorSuppliedValueOptionsHasBeenSet() const { return m_connectorSuppliedValueOptionsHasBeenSet; } /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline void SetConnectorSuppliedValueOptions(const Aws::Vector& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions = value; } /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline void SetConnectorSuppliedValueOptions(Aws::Vector&& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions = std::move(value); } /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline ConnectorRuntimeSetting& WithConnectorSuppliedValueOptions(const Aws::Vector& value) { SetConnectorSuppliedValueOptions(value); return *this;} /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline ConnectorRuntimeSetting& WithConnectorSuppliedValueOptions(Aws::Vector&& value) { SetConnectorSuppliedValueOptions(std::move(value)); return *this;} /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline ConnectorRuntimeSetting& AddConnectorSuppliedValueOptions(const Aws::String& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions.push_back(value); return *this; } /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline ConnectorRuntimeSetting& AddConnectorSuppliedValueOptions(Aws::String&& value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions.push_back(std::move(value)); return *this; } /** *

Contains default values for the connector runtime setting that are supplied * by the connector.

*/ inline ConnectorRuntimeSetting& AddConnectorSuppliedValueOptions(const char* value) { m_connectorSuppliedValueOptionsHasBeenSet = true; m_connectorSuppliedValueOptions.push_back(value); return *this; } private: Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_dataType; bool m_dataTypeHasBeenSet = false; bool m_isRequired; bool m_isRequiredHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_scope; bool m_scopeHasBeenSet = false; Aws::Vector m_connectorSuppliedValueOptions; bool m_connectorSuppliedValueOptionsHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws