AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceConnectorProperties.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/MarketoSourceProperties.h>
9#include <aws/customer-profiles/model/S3SourceProperties.h>
10#include <aws/customer-profiles/model/SalesforceSourceProperties.h>
11#include <aws/customer-profiles/model/ServiceNowSourceProperties.h>
12#include <aws/customer-profiles/model/ZendeskSourceProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CustomerProfiles
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_CUSTOMERPROFILES_API SourceConnectorProperties();
41 AWS_CUSTOMERPROFILES_API SourceConnectorProperties(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const MarketoSourceProperties& GetMarketo() const{ return m_marketo; }
51 inline bool MarketoHasBeenSet() const { return m_marketoHasBeenSet; }
52 inline void SetMarketo(const MarketoSourceProperties& value) { m_marketoHasBeenSet = true; m_marketo = value; }
53 inline void SetMarketo(MarketoSourceProperties&& value) { m_marketoHasBeenSet = true; m_marketo = std::move(value); }
54 inline SourceConnectorProperties& WithMarketo(const MarketoSourceProperties& value) { SetMarketo(value); return *this;}
55 inline SourceConnectorProperties& WithMarketo(MarketoSourceProperties&& value) { SetMarketo(std::move(value)); return *this;}
57
59
63 inline const S3SourceProperties& GetS3() const{ return m_s3; }
64 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
65 inline void SetS3(const S3SourceProperties& value) { m_s3HasBeenSet = true; m_s3 = value; }
66 inline void SetS3(S3SourceProperties&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
67 inline SourceConnectorProperties& WithS3(const S3SourceProperties& value) { SetS3(value); return *this;}
68 inline SourceConnectorProperties& WithS3(S3SourceProperties&& value) { SetS3(std::move(value)); return *this;}
70
72
76 inline const SalesforceSourceProperties& GetSalesforce() const{ return m_salesforce; }
77 inline bool SalesforceHasBeenSet() const { return m_salesforceHasBeenSet; }
78 inline void SetSalesforce(const SalesforceSourceProperties& value) { m_salesforceHasBeenSet = true; m_salesforce = value; }
79 inline void SetSalesforce(SalesforceSourceProperties&& value) { m_salesforceHasBeenSet = true; m_salesforce = std::move(value); }
81 inline SourceConnectorProperties& WithSalesforce(SalesforceSourceProperties&& value) { SetSalesforce(std::move(value)); return *this;}
83
85
89 inline const ServiceNowSourceProperties& GetServiceNow() const{ return m_serviceNow; }
90 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
91 inline void SetServiceNow(const ServiceNowSourceProperties& value) { m_serviceNowHasBeenSet = true; m_serviceNow = value; }
92 inline void SetServiceNow(ServiceNowSourceProperties&& value) { m_serviceNowHasBeenSet = true; m_serviceNow = std::move(value); }
94 inline SourceConnectorProperties& WithServiceNow(ServiceNowSourceProperties&& value) { SetServiceNow(std::move(value)); return *this;}
96
98
101 inline const ZendeskSourceProperties& GetZendesk() const{ return m_zendesk; }
102 inline bool ZendeskHasBeenSet() const { return m_zendeskHasBeenSet; }
103 inline void SetZendesk(const ZendeskSourceProperties& value) { m_zendeskHasBeenSet = true; m_zendesk = value; }
104 inline void SetZendesk(ZendeskSourceProperties&& value) { m_zendeskHasBeenSet = true; m_zendesk = std::move(value); }
105 inline SourceConnectorProperties& WithZendesk(const ZendeskSourceProperties& value) { SetZendesk(value); return *this;}
106 inline SourceConnectorProperties& WithZendesk(ZendeskSourceProperties&& value) { SetZendesk(std::move(value)); return *this;}
108 private:
109
110 MarketoSourceProperties m_marketo;
111 bool m_marketoHasBeenSet = false;
112
114 bool m_s3HasBeenSet = false;
115
116 SalesforceSourceProperties m_salesforce;
117 bool m_salesforceHasBeenSet = false;
118
119 ServiceNowSourceProperties m_serviceNow;
120 bool m_serviceNowHasBeenSet = false;
121
122 ZendeskSourceProperties m_zendesk;
123 bool m_zendeskHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace CustomerProfiles
128} // namespace Aws
SourceConnectorProperties & WithS3(S3SourceProperties &&value)
AWS_CUSTOMERPROFILES_API SourceConnectorProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API SourceConnectorProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceConnectorProperties & WithZendesk(ZendeskSourceProperties &&value)
const ServiceNowSourceProperties & GetServiceNow() const
SourceConnectorProperties & WithServiceNow(ServiceNowSourceProperties &&value)
SourceConnectorProperties & WithZendesk(const ZendeskSourceProperties &value)
SourceConnectorProperties & WithSalesforce(SalesforceSourceProperties &&value)
SourceConnectorProperties & WithS3(const S3SourceProperties &value)
const SalesforceSourceProperties & GetSalesforce() const
void SetServiceNow(const ServiceNowSourceProperties &value)
SourceConnectorProperties & WithMarketo(MarketoSourceProperties &&value)
void SetSalesforce(const SalesforceSourceProperties &value)
SourceConnectorProperties & WithSalesforce(const SalesforceSourceProperties &value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
SourceConnectorProperties & WithServiceNow(const ServiceNowSourceProperties &value)
SourceConnectorProperties & WithMarketo(const MarketoSourceProperties &value)
Aws::Utils::Json::JsonValue JsonValue