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

The connector-specific profile properties required when using Salesforce. *

See Also:

AWS * API Reference

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

The location of the Salesforce resource.

*/ inline const Aws::String& GetInstanceUrl() const{ return m_instanceUrl; } /** *

The location of the Salesforce resource.

*/ inline bool InstanceUrlHasBeenSet() const { return m_instanceUrlHasBeenSet; } /** *

The location of the Salesforce resource.

*/ inline void SetInstanceUrl(const Aws::String& value) { m_instanceUrlHasBeenSet = true; m_instanceUrl = value; } /** *

The location of the Salesforce resource.

*/ inline void SetInstanceUrl(Aws::String&& value) { m_instanceUrlHasBeenSet = true; m_instanceUrl = std::move(value); } /** *

The location of the Salesforce resource.

*/ inline void SetInstanceUrl(const char* value) { m_instanceUrlHasBeenSet = true; m_instanceUrl.assign(value); } /** *

The location of the Salesforce resource.

*/ inline SalesforceConnectorProfileProperties& WithInstanceUrl(const Aws::String& value) { SetInstanceUrl(value); return *this;} /** *

The location of the Salesforce resource.

*/ inline SalesforceConnectorProfileProperties& WithInstanceUrl(Aws::String&& value) { SetInstanceUrl(std::move(value)); return *this;} /** *

The location of the Salesforce resource.

*/ inline SalesforceConnectorProfileProperties& WithInstanceUrl(const char* value) { SetInstanceUrl(value); return *this;} /** *

Indicates whether the connector profile applies to a sandbox or production * environment.

*/ inline bool GetIsSandboxEnvironment() const{ return m_isSandboxEnvironment; } /** *

Indicates whether the connector profile applies to a sandbox or production * environment.

*/ inline bool IsSandboxEnvironmentHasBeenSet() const { return m_isSandboxEnvironmentHasBeenSet; } /** *

Indicates whether the connector profile applies to a sandbox or production * environment.

*/ inline void SetIsSandboxEnvironment(bool value) { m_isSandboxEnvironmentHasBeenSet = true; m_isSandboxEnvironment = value; } /** *

Indicates whether the connector profile applies to a sandbox or production * environment.

*/ inline SalesforceConnectorProfileProperties& WithIsSandboxEnvironment(bool value) { SetIsSandboxEnvironment(value); return *this;} /** *

If the connection mode for the connector profile is private, this parameter * sets whether Amazon AppFlow uses the private network to send metadata and * authorization calls to Salesforce. Amazon AppFlow sends private calls through * Amazon Web Services PrivateLink. These calls travel through Amazon Web Services * infrastructure without being exposed to the public internet.

Set either * of the following values:

true

Amazon AppFlow sends all * calls to Salesforce over the private network.

These private calls * are:

  • Calls to get metadata about your Salesforce records. This * metadata describes your Salesforce objects and their fields.

  • *

    Calls to get or refresh access tokens that allow Amazon AppFlow to access * your Salesforce records.

  • Calls to transfer your Salesforce * records as part of a flow run.

false

The * default value. Amazon AppFlow sends some calls to Salesforce privately and other * calls over the public internet.

The public calls are:

  • *

    Calls to get metadata about your Salesforce records.

  • Calls * to get or refresh access tokens.

The private calls are:

*
  • Calls to transfer your Salesforce records as part of a flow * run.

*/ inline bool GetUsePrivateLinkForMetadataAndAuthorization() const{ return m_usePrivateLinkForMetadataAndAuthorization; } /** *

If the connection mode for the connector profile is private, this parameter * sets whether Amazon AppFlow uses the private network to send metadata and * authorization calls to Salesforce. Amazon AppFlow sends private calls through * Amazon Web Services PrivateLink. These calls travel through Amazon Web Services * infrastructure without being exposed to the public internet.

Set either * of the following values:

true

Amazon AppFlow sends all * calls to Salesforce over the private network.

These private calls * are:

  • Calls to get metadata about your Salesforce records. This * metadata describes your Salesforce objects and their fields.

  • *

    Calls to get or refresh access tokens that allow Amazon AppFlow to access * your Salesforce records.

  • Calls to transfer your Salesforce * records as part of a flow run.

false

The * default value. Amazon AppFlow sends some calls to Salesforce privately and other * calls over the public internet.

The public calls are:

  • *

    Calls to get metadata about your Salesforce records.

  • Calls * to get or refresh access tokens.

The private calls are:

*
  • Calls to transfer your Salesforce records as part of a flow * run.

*/ inline bool UsePrivateLinkForMetadataAndAuthorizationHasBeenSet() const { return m_usePrivateLinkForMetadataAndAuthorizationHasBeenSet; } /** *

If the connection mode for the connector profile is private, this parameter * sets whether Amazon AppFlow uses the private network to send metadata and * authorization calls to Salesforce. Amazon AppFlow sends private calls through * Amazon Web Services PrivateLink. These calls travel through Amazon Web Services * infrastructure without being exposed to the public internet.

Set either * of the following values:

true

Amazon AppFlow sends all * calls to Salesforce over the private network.

These private calls * are:

  • Calls to get metadata about your Salesforce records. This * metadata describes your Salesforce objects and their fields.

  • *

    Calls to get or refresh access tokens that allow Amazon AppFlow to access * your Salesforce records.

  • Calls to transfer your Salesforce * records as part of a flow run.

false

The * default value. Amazon AppFlow sends some calls to Salesforce privately and other * calls over the public internet.

The public calls are:

  • *

    Calls to get metadata about your Salesforce records.

  • Calls * to get or refresh access tokens.

The private calls are:

*
  • Calls to transfer your Salesforce records as part of a flow * run.

*/ inline void SetUsePrivateLinkForMetadataAndAuthorization(bool value) { m_usePrivateLinkForMetadataAndAuthorizationHasBeenSet = true; m_usePrivateLinkForMetadataAndAuthorization = value; } /** *

If the connection mode for the connector profile is private, this parameter * sets whether Amazon AppFlow uses the private network to send metadata and * authorization calls to Salesforce. Amazon AppFlow sends private calls through * Amazon Web Services PrivateLink. These calls travel through Amazon Web Services * infrastructure without being exposed to the public internet.

Set either * of the following values:

true

Amazon AppFlow sends all * calls to Salesforce over the private network.

These private calls * are:

  • Calls to get metadata about your Salesforce records. This * metadata describes your Salesforce objects and their fields.

  • *

    Calls to get or refresh access tokens that allow Amazon AppFlow to access * your Salesforce records.

  • Calls to transfer your Salesforce * records as part of a flow run.

false

The * default value. Amazon AppFlow sends some calls to Salesforce privately and other * calls over the public internet.

The public calls are:

  • *

    Calls to get metadata about your Salesforce records.

  • Calls * to get or refresh access tokens.

The private calls are:

*
  • Calls to transfer your Salesforce records as part of a flow * run.

*/ inline SalesforceConnectorProfileProperties& WithUsePrivateLinkForMetadataAndAuthorization(bool value) { SetUsePrivateLinkForMetadataAndAuthorization(value); return *this;} private: Aws::String m_instanceUrl; bool m_instanceUrlHasBeenSet = false; bool m_isSandboxEnvironment; bool m_isSandboxEnvironmentHasBeenSet = false; bool m_usePrivateLinkForMetadataAndAuthorization; bool m_usePrivateLinkForMetadataAndAuthorizationHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws