AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
IntegrationIdentifier.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/CustomerProfilesIntegrationIdentifier.h>
9#include <aws/connectcampaignsv2/model/LambdaIntegrationIdentifier.h>
10#include <aws/connectcampaignsv2/model/QConnectIntegrationIdentifier.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectCampaignsV2 {
22namespace Model {
23
30 public:
31 AWS_CONNECTCAMPAIGNSV2_API IntegrationIdentifier() = default;
32 AWS_CONNECTCAMPAIGNSV2_API IntegrationIdentifier(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNSV2_API IntegrationIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const CustomerProfilesIntegrationIdentifier& GetCustomerProfiles() const { return m_customerProfiles; }
39 inline bool CustomerProfilesHasBeenSet() const { return m_customerProfilesHasBeenSet; }
40 template <typename CustomerProfilesT = CustomerProfilesIntegrationIdentifier>
41 void SetCustomerProfiles(CustomerProfilesT&& value) {
42 m_customerProfilesHasBeenSet = true;
43 m_customerProfiles = std::forward<CustomerProfilesT>(value);
44 }
45 template <typename CustomerProfilesT = CustomerProfilesIntegrationIdentifier>
46 IntegrationIdentifier& WithCustomerProfiles(CustomerProfilesT&& value) {
47 SetCustomerProfiles(std::forward<CustomerProfilesT>(value));
48 return *this;
49 }
51
53
54 inline const QConnectIntegrationIdentifier& GetQConnect() const { return m_qConnect; }
55 inline bool QConnectHasBeenSet() const { return m_qConnectHasBeenSet; }
56 template <typename QConnectT = QConnectIntegrationIdentifier>
57 void SetQConnect(QConnectT&& value) {
58 m_qConnectHasBeenSet = true;
59 m_qConnect = std::forward<QConnectT>(value);
60 }
61 template <typename QConnectT = QConnectIntegrationIdentifier>
62 IntegrationIdentifier& WithQConnect(QConnectT&& value) {
63 SetQConnect(std::forward<QConnectT>(value));
64 return *this;
65 }
67
69
70 inline const LambdaIntegrationIdentifier& GetLambda() const { return m_lambda; }
71 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
72 template <typename LambdaT = LambdaIntegrationIdentifier>
73 void SetLambda(LambdaT&& value) {
74 m_lambdaHasBeenSet = true;
75 m_lambda = std::forward<LambdaT>(value);
76 }
77 template <typename LambdaT = LambdaIntegrationIdentifier>
79 SetLambda(std::forward<LambdaT>(value));
80 return *this;
81 }
83 private:
85
87
89 bool m_customerProfilesHasBeenSet = false;
90 bool m_qConnectHasBeenSet = false;
91 bool m_lambdaHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace ConnectCampaignsV2
96} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API IntegrationIdentifier(Aws::Utils::Json::JsonView jsonValue)
IntegrationIdentifier & WithQConnect(QConnectT &&value)
const LambdaIntegrationIdentifier & GetLambda() const
const CustomerProfilesIntegrationIdentifier & GetCustomerProfiles() const
AWS_CONNECTCAMPAIGNSV2_API IntegrationIdentifier()=default
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntegrationIdentifier & WithCustomerProfiles(CustomerProfilesT &&value)
AWS_CONNECTCAMPAIGNSV2_API IntegrationIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
const QConnectIntegrationIdentifier & GetQConnect() const
IntegrationIdentifier & WithLambda(LambdaT &&value)
Aws::Utils::Json::JsonValue JsonValue