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

Information about the registered connector.

See Also:

AWS * API Reference

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

A description about the registered connector.

*/ inline const Aws::String& GetConnectorDescription() const{ return m_connectorDescription; } /** *

A description about the registered connector.

*/ inline bool ConnectorDescriptionHasBeenSet() const { return m_connectorDescriptionHasBeenSet; } /** *

A description about the registered connector.

*/ inline void SetConnectorDescription(const Aws::String& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = value; } /** *

A description about the registered connector.

*/ inline void SetConnectorDescription(Aws::String&& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = std::move(value); } /** *

A description about the registered connector.

*/ inline void SetConnectorDescription(const char* value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription.assign(value); } /** *

A description about the registered connector.

*/ inline ConnectorDetail& WithConnectorDescription(const Aws::String& value) { SetConnectorDescription(value); return *this;} /** *

A description about the registered connector.

*/ inline ConnectorDetail& WithConnectorDescription(Aws::String&& value) { SetConnectorDescription(std::move(value)); return *this;} /** *

A description about the registered connector.

*/ inline ConnectorDetail& WithConnectorDescription(const char* value) { SetConnectorDescription(value); return *this;} /** *

The name of the connector.

*/ inline const Aws::String& GetConnectorName() const{ return m_connectorName; } /** *

The name of the connector.

*/ inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; } /** *

The name of the connector.

*/ inline void SetConnectorName(const Aws::String& value) { m_connectorNameHasBeenSet = true; m_connectorName = value; } /** *

The name of the connector.

*/ inline void SetConnectorName(Aws::String&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::move(value); } /** *

The name of the connector.

*/ inline void SetConnectorName(const char* value) { m_connectorNameHasBeenSet = true; m_connectorName.assign(value); } /** *

The name of the connector.

*/ inline ConnectorDetail& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;} /** *

The name of the connector.

*/ inline ConnectorDetail& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;} /** *

The name of the connector.

*/ inline ConnectorDetail& WithConnectorName(const char* value) { SetConnectorName(value); return *this;} /** *

The owner of the connector.

*/ inline const Aws::String& GetConnectorOwner() const{ return m_connectorOwner; } /** *

The owner of the connector.

*/ inline bool ConnectorOwnerHasBeenSet() const { return m_connectorOwnerHasBeenSet; } /** *

The owner of the connector.

*/ inline void SetConnectorOwner(const Aws::String& value) { m_connectorOwnerHasBeenSet = true; m_connectorOwner = value; } /** *

The owner of the connector.

*/ inline void SetConnectorOwner(Aws::String&& value) { m_connectorOwnerHasBeenSet = true; m_connectorOwner = std::move(value); } /** *

The owner of the connector.

*/ inline void SetConnectorOwner(const char* value) { m_connectorOwnerHasBeenSet = true; m_connectorOwner.assign(value); } /** *

The owner of the connector.

*/ inline ConnectorDetail& WithConnectorOwner(const Aws::String& value) { SetConnectorOwner(value); return *this;} /** *

The owner of the connector.

*/ inline ConnectorDetail& WithConnectorOwner(Aws::String&& value) { SetConnectorOwner(std::move(value)); return *this;} /** *

The owner of the connector.

*/ inline ConnectorDetail& WithConnectorOwner(const char* value) { SetConnectorOwner(value); return *this;} /** *

The connector version.

*/ inline const Aws::String& GetConnectorVersion() const{ return m_connectorVersion; } /** *

The connector version.

*/ inline bool ConnectorVersionHasBeenSet() const { return m_connectorVersionHasBeenSet; } /** *

The connector version.

*/ inline void SetConnectorVersion(const Aws::String& value) { m_connectorVersionHasBeenSet = true; m_connectorVersion = value; } /** *

The connector version.

*/ inline void SetConnectorVersion(Aws::String&& value) { m_connectorVersionHasBeenSet = true; m_connectorVersion = std::move(value); } /** *

The connector version.

*/ inline void SetConnectorVersion(const char* value) { m_connectorVersionHasBeenSet = true; m_connectorVersion.assign(value); } /** *

The connector version.

*/ inline ConnectorDetail& WithConnectorVersion(const Aws::String& value) { SetConnectorVersion(value); return *this;} /** *

The connector version.

*/ inline ConnectorDetail& WithConnectorVersion(Aws::String&& value) { SetConnectorVersion(std::move(value)); return *this;} /** *

The connector version.

*/ inline ConnectorDetail& WithConnectorVersion(const char* value) { SetConnectorVersion(value); return *this;} /** *

The application type of the connector.

*/ inline const Aws::String& GetApplicationType() const{ return m_applicationType; } /** *

The application type of the connector.

*/ inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; } /** *

The application type of the connector.

*/ inline void SetApplicationType(const Aws::String& value) { m_applicationTypeHasBeenSet = true; m_applicationType = value; } /** *

The application type of the connector.

*/ inline void SetApplicationType(Aws::String&& value) { m_applicationTypeHasBeenSet = true; m_applicationType = std::move(value); } /** *

The application type of the connector.

*/ inline void SetApplicationType(const char* value) { m_applicationTypeHasBeenSet = true; m_applicationType.assign(value); } /** *

The application type of the connector.

*/ inline ConnectorDetail& WithApplicationType(const Aws::String& value) { SetApplicationType(value); return *this;} /** *

The application type of the connector.

*/ inline ConnectorDetail& WithApplicationType(Aws::String&& value) { SetApplicationType(std::move(value)); return *this;} /** *

The application type of the connector.

*/ inline ConnectorDetail& WithApplicationType(const char* value) { SetApplicationType(value); return *this;} /** *

The connector type.

*/ inline const ConnectorType& GetConnectorType() const{ return m_connectorType; } /** *

The connector type.

*/ inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; } /** *

The connector type.

*/ inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; } /** *

The connector type.

*/ inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); } /** *

The connector type.

*/ inline ConnectorDetail& WithConnectorType(const ConnectorType& value) { SetConnectorType(value); return *this;} /** *

The connector type.

*/ inline ConnectorDetail& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;} /** *

A label used for the connector.

*/ inline const Aws::String& GetConnectorLabel() const{ return m_connectorLabel; } /** *

A label used for the connector.

*/ inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; } /** *

A label used for the connector.

*/ inline void SetConnectorLabel(const Aws::String& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = value; } /** *

A label used for the connector.

*/ inline void SetConnectorLabel(Aws::String&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::move(value); } /** *

A label used for the connector.

*/ inline void SetConnectorLabel(const char* value) { m_connectorLabelHasBeenSet = true; m_connectorLabel.assign(value); } /** *

A label used for the connector.

*/ inline ConnectorDetail& WithConnectorLabel(const Aws::String& value) { SetConnectorLabel(value); return *this;} /** *

A label used for the connector.

*/ inline ConnectorDetail& WithConnectorLabel(Aws::String&& value) { SetConnectorLabel(std::move(value)); return *this;} /** *

A label used for the connector.

*/ inline ConnectorDetail& WithConnectorLabel(const char* value) { SetConnectorLabel(value); return *this;} /** *

The time at which the connector was registered.

*/ inline const Aws::Utils::DateTime& GetRegisteredAt() const{ return m_registeredAt; } /** *

The time at which the connector was registered.

*/ inline bool RegisteredAtHasBeenSet() const { return m_registeredAtHasBeenSet; } /** *

The time at which the connector was registered.

*/ inline void SetRegisteredAt(const Aws::Utils::DateTime& value) { m_registeredAtHasBeenSet = true; m_registeredAt = value; } /** *

The time at which the connector was registered.

*/ inline void SetRegisteredAt(Aws::Utils::DateTime&& value) { m_registeredAtHasBeenSet = true; m_registeredAt = std::move(value); } /** *

The time at which the connector was registered.

*/ inline ConnectorDetail& WithRegisteredAt(const Aws::Utils::DateTime& value) { SetRegisteredAt(value); return *this;} /** *

The time at which the connector was registered.

*/ inline ConnectorDetail& WithRegisteredAt(Aws::Utils::DateTime&& value) { SetRegisteredAt(std::move(value)); return *this;} /** *

The user who registered the connector.

*/ inline const Aws::String& GetRegisteredBy() const{ return m_registeredBy; } /** *

The user who registered the connector.

*/ inline bool RegisteredByHasBeenSet() const { return m_registeredByHasBeenSet; } /** *

The user who registered the connector.

*/ inline void SetRegisteredBy(const Aws::String& value) { m_registeredByHasBeenSet = true; m_registeredBy = value; } /** *

The user who registered the connector.

*/ inline void SetRegisteredBy(Aws::String&& value) { m_registeredByHasBeenSet = true; m_registeredBy = std::move(value); } /** *

The user who registered the connector.

*/ inline void SetRegisteredBy(const char* value) { m_registeredByHasBeenSet = true; m_registeredBy.assign(value); } /** *

The user who registered the connector.

*/ inline ConnectorDetail& WithRegisteredBy(const Aws::String& value) { SetRegisteredBy(value); return *this;} /** *

The user who registered the connector.

*/ inline ConnectorDetail& WithRegisteredBy(Aws::String&& value) { SetRegisteredBy(std::move(value)); return *this;} /** *

The user who registered the connector.

*/ inline ConnectorDetail& WithRegisteredBy(const char* value) { SetRegisteredBy(value); return *this;} /** *

The provisioning type that the connector uses.

*/ inline const ConnectorProvisioningType& GetConnectorProvisioningType() const{ return m_connectorProvisioningType; } /** *

The provisioning type that the connector uses.

*/ inline bool ConnectorProvisioningTypeHasBeenSet() const { return m_connectorProvisioningTypeHasBeenSet; } /** *

The provisioning type that the connector uses.

*/ inline void SetConnectorProvisioningType(const ConnectorProvisioningType& value) { m_connectorProvisioningTypeHasBeenSet = true; m_connectorProvisioningType = value; } /** *

The provisioning type that the connector uses.

*/ inline void SetConnectorProvisioningType(ConnectorProvisioningType&& value) { m_connectorProvisioningTypeHasBeenSet = true; m_connectorProvisioningType = std::move(value); } /** *

The provisioning type that the connector uses.

*/ inline ConnectorDetail& WithConnectorProvisioningType(const ConnectorProvisioningType& value) { SetConnectorProvisioningType(value); return *this;} /** *

The provisioning type that the connector uses.

*/ inline ConnectorDetail& WithConnectorProvisioningType(ConnectorProvisioningType&& value) { SetConnectorProvisioningType(std::move(value)); return *this;} /** *

The connection mode that the connector supports.

*/ inline const Aws::Vector& GetConnectorModes() const{ return m_connectorModes; } /** *

The connection mode that the connector supports.

*/ inline bool ConnectorModesHasBeenSet() const { return m_connectorModesHasBeenSet; } /** *

The connection mode that the connector supports.

*/ inline void SetConnectorModes(const Aws::Vector& value) { m_connectorModesHasBeenSet = true; m_connectorModes = value; } /** *

The connection mode that the connector supports.

*/ inline void SetConnectorModes(Aws::Vector&& value) { m_connectorModesHasBeenSet = true; m_connectorModes = std::move(value); } /** *

The connection mode that the connector supports.

*/ inline ConnectorDetail& WithConnectorModes(const Aws::Vector& value) { SetConnectorModes(value); return *this;} /** *

The connection mode that the connector supports.

*/ inline ConnectorDetail& WithConnectorModes(Aws::Vector&& value) { SetConnectorModes(std::move(value)); return *this;} /** *

The connection mode that the connector supports.

*/ inline ConnectorDetail& AddConnectorModes(const Aws::String& value) { m_connectorModesHasBeenSet = true; m_connectorModes.push_back(value); return *this; } /** *

The connection mode that the connector supports.

*/ inline ConnectorDetail& AddConnectorModes(Aws::String&& value) { m_connectorModesHasBeenSet = true; m_connectorModes.push_back(std::move(value)); return *this; } /** *

The connection mode that the connector supports.

*/ inline ConnectorDetail& AddConnectorModes(const char* value) { m_connectorModesHasBeenSet = true; m_connectorModes.push_back(value); return *this; } /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline const Aws::Vector& GetSupportedDataTransferTypes() const{ return m_supportedDataTransferTypes; } /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline bool SupportedDataTransferTypesHasBeenSet() const { return m_supportedDataTransferTypesHasBeenSet; } /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline void SetSupportedDataTransferTypes(const Aws::Vector& value) { m_supportedDataTransferTypesHasBeenSet = true; m_supportedDataTransferTypes = value; } /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline void SetSupportedDataTransferTypes(Aws::Vector&& value) { m_supportedDataTransferTypesHasBeenSet = true; m_supportedDataTransferTypes = std::move(value); } /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline ConnectorDetail& WithSupportedDataTransferTypes(const Aws::Vector& value) { SetSupportedDataTransferTypes(value); return *this;} /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline ConnectorDetail& WithSupportedDataTransferTypes(Aws::Vector&& value) { SetSupportedDataTransferTypes(std::move(value)); return *this;} /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline ConnectorDetail& AddSupportedDataTransferTypes(const SupportedDataTransferType& value) { m_supportedDataTransferTypesHasBeenSet = true; m_supportedDataTransferTypes.push_back(value); return *this; } /** *

The data transfer types that the connector supports.

RECORD
*

Structured records.

FILE

Files or binary * data.

*/ inline ConnectorDetail& AddSupportedDataTransferTypes(SupportedDataTransferType&& value) { m_supportedDataTransferTypesHasBeenSet = true; m_supportedDataTransferTypes.push_back(std::move(value)); return *this; } private: Aws::String m_connectorDescription; bool m_connectorDescriptionHasBeenSet = false; Aws::String m_connectorName; bool m_connectorNameHasBeenSet = false; Aws::String m_connectorOwner; bool m_connectorOwnerHasBeenSet = false; Aws::String m_connectorVersion; bool m_connectorVersionHasBeenSet = false; Aws::String m_applicationType; bool m_applicationTypeHasBeenSet = false; ConnectorType m_connectorType; bool m_connectorTypeHasBeenSet = false; Aws::String m_connectorLabel; bool m_connectorLabelHasBeenSet = false; Aws::Utils::DateTime m_registeredAt; bool m_registeredAtHasBeenSet = false; Aws::String m_registeredBy; bool m_registeredByHasBeenSet = false; ConnectorProvisioningType m_connectorProvisioningType; bool m_connectorProvisioningTypeHasBeenSet = false; Aws::Vector m_connectorModes; bool m_connectorModesHasBeenSet = false; Aws::Vector m_supportedDataTransferTypes; bool m_supportedDataTransferTypesHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws