/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the information that is required to query a particular Amazon
* AppFlow connector. Customer Profiles supports Salesforce, Zendesk, Marketo,
* ServiceNow and Amazon S3.See Also:
AWS
* API Reference
The properties that are applied when Marketo is being used as a source.
*/ inline const MarketoSourceProperties& GetMarketo() const{ return m_marketo; } /** *The properties that are applied when Marketo is being used as a source.
*/ inline bool MarketoHasBeenSet() const { return m_marketoHasBeenSet; } /** *The properties that are applied when Marketo is being used as a source.
*/ inline void SetMarketo(const MarketoSourceProperties& value) { m_marketoHasBeenSet = true; m_marketo = value; } /** *The properties that are applied when Marketo is being used as a source.
*/ inline void SetMarketo(MarketoSourceProperties&& value) { m_marketoHasBeenSet = true; m_marketo = std::move(value); } /** *The properties that are applied when Marketo is being used as a source.
*/ inline SourceConnectorProperties& WithMarketo(const MarketoSourceProperties& value) { SetMarketo(value); return *this;} /** *The properties that are applied when Marketo is being used as a source.
*/ inline SourceConnectorProperties& WithMarketo(MarketoSourceProperties&& value) { SetMarketo(std::move(value)); return *this;} /** *The properties that are applied when Amazon S3 is being used as the flow * source.
*/ inline const S3SourceProperties& GetS3() const{ return m_s3; } /** *The properties that are applied when Amazon S3 is being used as the flow * source.
*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *The properties that are applied when Amazon S3 is being used as the flow * source.
*/ inline void SetS3(const S3SourceProperties& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *The properties that are applied when Amazon S3 is being used as the flow * source.
*/ inline void SetS3(S3SourceProperties&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *The properties that are applied when Amazon S3 is being used as the flow * source.
*/ inline SourceConnectorProperties& WithS3(const S3SourceProperties& value) { SetS3(value); return *this;} /** *The properties that are applied when Amazon S3 is being used as the flow * source.
*/ inline SourceConnectorProperties& WithS3(S3SourceProperties&& value) { SetS3(std::move(value)); return *this;} /** *The properties that are applied when Salesforce is being used as a * source.
*/ inline const SalesforceSourceProperties& GetSalesforce() const{ return m_salesforce; } /** *The properties that are applied when Salesforce is being used as a * source.
*/ inline bool SalesforceHasBeenSet() const { return m_salesforceHasBeenSet; } /** *The properties that are applied when Salesforce is being used as a * source.
*/ inline void SetSalesforce(const SalesforceSourceProperties& value) { m_salesforceHasBeenSet = true; m_salesforce = value; } /** *The properties that are applied when Salesforce is being used as a * source.
*/ inline void SetSalesforce(SalesforceSourceProperties&& value) { m_salesforceHasBeenSet = true; m_salesforce = std::move(value); } /** *The properties that are applied when Salesforce is being used as a * source.
*/ inline SourceConnectorProperties& WithSalesforce(const SalesforceSourceProperties& value) { SetSalesforce(value); return *this;} /** *The properties that are applied when Salesforce is being used as a * source.
*/ inline SourceConnectorProperties& WithSalesforce(SalesforceSourceProperties&& value) { SetSalesforce(std::move(value)); return *this;} /** *The properties that are applied when ServiceNow is being used as a * source.
*/ inline const ServiceNowSourceProperties& GetServiceNow() const{ return m_serviceNow; } /** *The properties that are applied when ServiceNow is being used as a * source.
*/ inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; } /** *The properties that are applied when ServiceNow is being used as a * source.
*/ inline void SetServiceNow(const ServiceNowSourceProperties& value) { m_serviceNowHasBeenSet = true; m_serviceNow = value; } /** *The properties that are applied when ServiceNow is being used as a * source.
*/ inline void SetServiceNow(ServiceNowSourceProperties&& value) { m_serviceNowHasBeenSet = true; m_serviceNow = std::move(value); } /** *The properties that are applied when ServiceNow is being used as a * source.
*/ inline SourceConnectorProperties& WithServiceNow(const ServiceNowSourceProperties& value) { SetServiceNow(value); return *this;} /** *The properties that are applied when ServiceNow is being used as a * source.
*/ inline SourceConnectorProperties& WithServiceNow(ServiceNowSourceProperties&& value) { SetServiceNow(std::move(value)); return *this;} /** *The properties that are applied when using Zendesk as a flow source.
*/ inline const ZendeskSourceProperties& GetZendesk() const{ return m_zendesk; } /** *The properties that are applied when using Zendesk as a flow source.
*/ inline bool ZendeskHasBeenSet() const { return m_zendeskHasBeenSet; } /** *The properties that are applied when using Zendesk as a flow source.
*/ inline void SetZendesk(const ZendeskSourceProperties& value) { m_zendeskHasBeenSet = true; m_zendesk = value; } /** *The properties that are applied when using Zendesk as a flow source.
*/ inline void SetZendesk(ZendeskSourceProperties&& value) { m_zendeskHasBeenSet = true; m_zendesk = std::move(value); } /** *The properties that are applied when using Zendesk as a flow source.
*/ inline SourceConnectorProperties& WithZendesk(const ZendeskSourceProperties& value) { SetZendesk(value); return *this;} /** *The properties that are applied when using Zendesk as a flow source.
*/ inline SourceConnectorProperties& WithZendesk(ZendeskSourceProperties&& value) { SetZendesk(std::move(value)); return *this;} private: MarketoSourceProperties m_marketo; bool m_marketoHasBeenSet = false; S3SourceProperties m_s3; bool m_s3HasBeenSet = false; SalesforceSourceProperties m_salesforce; bool m_salesforceHasBeenSet = false; ServiceNowSourceProperties m_serviceNow; bool m_serviceNowHasBeenSet = false; ZendeskSourceProperties m_zendesk; bool m_zendeskHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws