/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Structure holding all APPFLOW_INTEGRATION
specific workflow
* attributes.See Also:
AWS
* API Reference
Specifies the source connector type, such as Salesforce, ServiceNow, and * Marketo. Indicates source of ingestion.
*/ inline const SourceConnectorType& GetSourceConnectorType() const{ return m_sourceConnectorType; } /** *Specifies the source connector type, such as Salesforce, ServiceNow, and * Marketo. Indicates source of ingestion.
*/ inline bool SourceConnectorTypeHasBeenSet() const { return m_sourceConnectorTypeHasBeenSet; } /** *Specifies the source connector type, such as Salesforce, ServiceNow, and * Marketo. Indicates source of ingestion.
*/ inline void SetSourceConnectorType(const SourceConnectorType& value) { m_sourceConnectorTypeHasBeenSet = true; m_sourceConnectorType = value; } /** *Specifies the source connector type, such as Salesforce, ServiceNow, and * Marketo. Indicates source of ingestion.
*/ inline void SetSourceConnectorType(SourceConnectorType&& value) { m_sourceConnectorTypeHasBeenSet = true; m_sourceConnectorType = std::move(value); } /** *Specifies the source connector type, such as Salesforce, ServiceNow, and * Marketo. Indicates source of ingestion.
*/ inline AppflowIntegrationWorkflowAttributes& WithSourceConnectorType(const SourceConnectorType& value) { SetSourceConnectorType(value); return *this;} /** *Specifies the source connector type, such as Salesforce, ServiceNow, and * Marketo. Indicates source of ingestion.
*/ inline AppflowIntegrationWorkflowAttributes& WithSourceConnectorType(SourceConnectorType&& value) { SetSourceConnectorType(std::move(value)); return *this;} /** *The name of the AppFlow connector profile used for ingestion.
*/ inline const Aws::String& GetConnectorProfileName() const{ return m_connectorProfileName; } /** *The name of the AppFlow connector profile used for ingestion.
*/ inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; } /** *The name of the AppFlow connector profile used for ingestion.
*/ inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; } /** *The name of the AppFlow connector profile used for ingestion.
*/ inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); } /** *The name of the AppFlow connector profile used for ingestion.
*/ inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); } /** *The name of the AppFlow connector profile used for ingestion.
*/ inline AppflowIntegrationWorkflowAttributes& WithConnectorProfileName(const Aws::String& value) { SetConnectorProfileName(value); return *this;} /** *The name of the AppFlow connector profile used for ingestion.
*/ inline AppflowIntegrationWorkflowAttributes& WithConnectorProfileName(Aws::String&& value) { SetConnectorProfileName(std::move(value)); return *this;} /** *The name of the AppFlow connector profile used for ingestion.
*/ inline AppflowIntegrationWorkflowAttributes& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline AppflowIntegrationWorkflowAttributes& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline AppflowIntegrationWorkflowAttributes& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.
*/ inline AppflowIntegrationWorkflowAttributes& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: SourceConnectorType m_sourceConnectorType; bool m_sourceConnectorTypeHasBeenSet = false; Aws::String m_connectorProfileName; bool m_connectorProfileNameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws