/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

The operation to be performed on the provided source fields.

See * Also:

AWS * API Reference

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

The operation to be performed on the provided Marketo source fields.

*/ inline const MarketoConnectorOperator& GetMarketo() const{ return m_marketo; } /** *

The operation to be performed on the provided Marketo source fields.

*/ inline bool MarketoHasBeenSet() const { return m_marketoHasBeenSet; } /** *

The operation to be performed on the provided Marketo source fields.

*/ inline void SetMarketo(const MarketoConnectorOperator& value) { m_marketoHasBeenSet = true; m_marketo = value; } /** *

The operation to be performed on the provided Marketo source fields.

*/ inline void SetMarketo(MarketoConnectorOperator&& value) { m_marketoHasBeenSet = true; m_marketo = std::move(value); } /** *

The operation to be performed on the provided Marketo source fields.

*/ inline ConnectorOperator& WithMarketo(const MarketoConnectorOperator& value) { SetMarketo(value); return *this;} /** *

The operation to be performed on the provided Marketo source fields.

*/ inline ConnectorOperator& WithMarketo(MarketoConnectorOperator&& value) { SetMarketo(std::move(value)); return *this;} /** *

The operation to be performed on the provided Amazon S3 source fields.

*/ inline const S3ConnectorOperator& GetS3() const{ return m_s3; } /** *

The operation to be performed on the provided Amazon S3 source fields.

*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *

The operation to be performed on the provided Amazon S3 source fields.

*/ inline void SetS3(const S3ConnectorOperator& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *

The operation to be performed on the provided Amazon S3 source fields.

*/ inline void SetS3(S3ConnectorOperator&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *

The operation to be performed on the provided Amazon S3 source fields.

*/ inline ConnectorOperator& WithS3(const S3ConnectorOperator& value) { SetS3(value); return *this;} /** *

The operation to be performed on the provided Amazon S3 source fields.

*/ inline ConnectorOperator& WithS3(S3ConnectorOperator&& value) { SetS3(std::move(value)); return *this;} /** *

The operation to be performed on the provided Salesforce source fields.

*/ inline const SalesforceConnectorOperator& GetSalesforce() const{ return m_salesforce; } /** *

The operation to be performed on the provided Salesforce source fields.

*/ inline bool SalesforceHasBeenSet() const { return m_salesforceHasBeenSet; } /** *

The operation to be performed on the provided Salesforce source fields.

*/ inline void SetSalesforce(const SalesforceConnectorOperator& value) { m_salesforceHasBeenSet = true; m_salesforce = value; } /** *

The operation to be performed on the provided Salesforce source fields.

*/ inline void SetSalesforce(SalesforceConnectorOperator&& value) { m_salesforceHasBeenSet = true; m_salesforce = std::move(value); } /** *

The operation to be performed on the provided Salesforce source fields.

*/ inline ConnectorOperator& WithSalesforce(const SalesforceConnectorOperator& value) { SetSalesforce(value); return *this;} /** *

The operation to be performed on the provided Salesforce source fields.

*/ inline ConnectorOperator& WithSalesforce(SalesforceConnectorOperator&& value) { SetSalesforce(std::move(value)); return *this;} /** *

The operation to be performed on the provided ServiceNow source fields.

*/ inline const ServiceNowConnectorOperator& GetServiceNow() const{ return m_serviceNow; } /** *

The operation to be performed on the provided ServiceNow source fields.

*/ inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; } /** *

The operation to be performed on the provided ServiceNow source fields.

*/ inline void SetServiceNow(const ServiceNowConnectorOperator& value) { m_serviceNowHasBeenSet = true; m_serviceNow = value; } /** *

The operation to be performed on the provided ServiceNow source fields.

*/ inline void SetServiceNow(ServiceNowConnectorOperator&& value) { m_serviceNowHasBeenSet = true; m_serviceNow = std::move(value); } /** *

The operation to be performed on the provided ServiceNow source fields.

*/ inline ConnectorOperator& WithServiceNow(const ServiceNowConnectorOperator& value) { SetServiceNow(value); return *this;} /** *

The operation to be performed on the provided ServiceNow source fields.

*/ inline ConnectorOperator& WithServiceNow(ServiceNowConnectorOperator&& value) { SetServiceNow(std::move(value)); return *this;} /** *

The operation to be performed on the provided Zendesk source fields.

*/ inline const ZendeskConnectorOperator& GetZendesk() const{ return m_zendesk; } /** *

The operation to be performed on the provided Zendesk source fields.

*/ inline bool ZendeskHasBeenSet() const { return m_zendeskHasBeenSet; } /** *

The operation to be performed on the provided Zendesk source fields.

*/ inline void SetZendesk(const ZendeskConnectorOperator& value) { m_zendeskHasBeenSet = true; m_zendesk = value; } /** *

The operation to be performed on the provided Zendesk source fields.

*/ inline void SetZendesk(ZendeskConnectorOperator&& value) { m_zendeskHasBeenSet = true; m_zendesk = std::move(value); } /** *

The operation to be performed on the provided Zendesk source fields.

*/ inline ConnectorOperator& WithZendesk(const ZendeskConnectorOperator& value) { SetZendesk(value); return *this;} /** *

The operation to be performed on the provided Zendesk source fields.

*/ inline ConnectorOperator& WithZendesk(ZendeskConnectorOperator&& value) { SetZendesk(std::move(value)); return *this;} private: MarketoConnectorOperator m_marketo; bool m_marketoHasBeenSet = false; S3ConnectorOperator m_s3; bool m_s3HasBeenSet = false; SalesforceConnectorOperator m_salesforce; bool m_salesforceHasBeenSet = false; ServiceNowConnectorOperator m_serviceNow; bool m_serviceNowHasBeenSet = false; ZendeskConnectorOperator m_zendesk; bool m_zendeskHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws