AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
CustomerProfilesIntegrationConfig.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/EventType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.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 CustomerProfilesIntegrationConfig() = default;
34 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetDomainArn() const { return m_domainArn; }
39 inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; }
40 template <typename DomainArnT = Aws::String>
41 void SetDomainArn(DomainArnT&& value) {
42 m_domainArnHasBeenSet = true;
43 m_domainArn = std::forward<DomainArnT>(value);
44 }
45 template <typename DomainArnT = Aws::String>
47 SetDomainArn(std::forward<DomainArnT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::Map<EventType, Aws::String>& GetObjectTypeNames() const { return m_objectTypeNames; }
55 inline bool ObjectTypeNamesHasBeenSet() const { return m_objectTypeNamesHasBeenSet; }
56 template <typename ObjectTypeNamesT = Aws::Map<EventType, Aws::String>>
57 void SetObjectTypeNames(ObjectTypeNamesT&& value) {
58 m_objectTypeNamesHasBeenSet = true;
59 m_objectTypeNames = std::forward<ObjectTypeNamesT>(value);
60 }
61 template <typename ObjectTypeNamesT = Aws::Map<EventType, Aws::String>>
63 SetObjectTypeNames(std::forward<ObjectTypeNamesT>(value));
64 return *this;
65 }
67 m_objectTypeNamesHasBeenSet = true;
68 m_objectTypeNames.emplace(key, value);
69 return *this;
70 }
72 private:
73 Aws::String m_domainArn;
74
75 Aws::Map<EventType, Aws::String> m_objectTypeNames;
76 bool m_domainArnHasBeenSet = false;
77 bool m_objectTypeNamesHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ConnectCampaignsV2
82} // namespace Aws
CustomerProfilesIntegrationConfig & AddObjectTypeNames(EventType key, Aws::String value)
AWS_CONNECTCAMPAIGNSV2_API CustomerProfilesIntegrationConfig()=default
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerProfilesIntegrationConfig & WithObjectTypeNames(ObjectTypeNamesT &&value)
CustomerProfilesIntegrationConfig & WithDomainArn(DomainArnT &&value)
AWS_CONNECTCAMPAIGNSV2_API CustomerProfilesIntegrationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API CustomerProfilesIntegrationConfig(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue