/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The connector-specific profile properties required when using Salesforce
* Pardot.See Also:
AWS
* API Reference
The location of the Salesforce Pardot resource.
*/ inline const Aws::String& GetInstanceUrl() const{ return m_instanceUrl; } /** *The location of the Salesforce Pardot resource.
*/ inline bool InstanceUrlHasBeenSet() const { return m_instanceUrlHasBeenSet; } /** *The location of the Salesforce Pardot resource.
*/ inline void SetInstanceUrl(const Aws::String& value) { m_instanceUrlHasBeenSet = true; m_instanceUrl = value; } /** *The location of the Salesforce Pardot resource.
*/ inline void SetInstanceUrl(Aws::String&& value) { m_instanceUrlHasBeenSet = true; m_instanceUrl = std::move(value); } /** *The location of the Salesforce Pardot resource.
*/ inline void SetInstanceUrl(const char* value) { m_instanceUrlHasBeenSet = true; m_instanceUrl.assign(value); } /** *The location of the Salesforce Pardot resource.
*/ inline PardotConnectorProfileProperties& WithInstanceUrl(const Aws::String& value) { SetInstanceUrl(value); return *this;} /** *The location of the Salesforce Pardot resource.
*/ inline PardotConnectorProfileProperties& WithInstanceUrl(Aws::String&& value) { SetInstanceUrl(std::move(value)); return *this;} /** *The location of the Salesforce Pardot resource.
*/ inline PardotConnectorProfileProperties& 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 PardotConnectorProfileProperties& WithIsSandboxEnvironment(bool value) { SetIsSandboxEnvironment(value); return *this;} /** *The business unit id of Salesforce Pardot instance.
*/ inline const Aws::String& GetBusinessUnitId() const{ return m_businessUnitId; } /** *The business unit id of Salesforce Pardot instance.
*/ inline bool BusinessUnitIdHasBeenSet() const { return m_businessUnitIdHasBeenSet; } /** *The business unit id of Salesforce Pardot instance.
*/ inline void SetBusinessUnitId(const Aws::String& value) { m_businessUnitIdHasBeenSet = true; m_businessUnitId = value; } /** *The business unit id of Salesforce Pardot instance.
*/ inline void SetBusinessUnitId(Aws::String&& value) { m_businessUnitIdHasBeenSet = true; m_businessUnitId = std::move(value); } /** *The business unit id of Salesforce Pardot instance.
*/ inline void SetBusinessUnitId(const char* value) { m_businessUnitIdHasBeenSet = true; m_businessUnitId.assign(value); } /** *The business unit id of Salesforce Pardot instance.
*/ inline PardotConnectorProfileProperties& WithBusinessUnitId(const Aws::String& value) { SetBusinessUnitId(value); return *this;} /** *The business unit id of Salesforce Pardot instance.
*/ inline PardotConnectorProfileProperties& WithBusinessUnitId(Aws::String&& value) { SetBusinessUnitId(std::move(value)); return *this;} /** *The business unit id of Salesforce Pardot instance.
*/ inline PardotConnectorProfileProperties& WithBusinessUnitId(const char* value) { SetBusinessUnitId(value); return *this;} private: Aws::String m_instanceUrl; bool m_instanceUrlHasBeenSet = false; bool m_isSandboxEnvironment; bool m_isSandboxEnvironmentHasBeenSet = false; Aws::String m_businessUnitId; bool m_businessUnitIdHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws