AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContactDataRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Endpoint.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connect/model/Campaign.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECT_API ContactDataRequest() = default;
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Endpoint& GetSystemEndpoint() const { return m_systemEndpoint; }
50 inline bool SystemEndpointHasBeenSet() const { return m_systemEndpointHasBeenSet; }
51 template<typename SystemEndpointT = Endpoint>
52 void SetSystemEndpoint(SystemEndpointT&& value) { m_systemEndpointHasBeenSet = true; m_systemEndpoint = std::forward<SystemEndpointT>(value); }
53 template<typename SystemEndpointT = Endpoint>
54 ContactDataRequest& WithSystemEndpoint(SystemEndpointT&& value) { SetSystemEndpoint(std::forward<SystemEndpointT>(value)); return *this;}
56
58
61 inline const Endpoint& GetCustomerEndpoint() const { return m_customerEndpoint; }
62 inline bool CustomerEndpointHasBeenSet() const { return m_customerEndpointHasBeenSet; }
63 template<typename CustomerEndpointT = Endpoint>
64 void SetCustomerEndpoint(CustomerEndpointT&& value) { m_customerEndpointHasBeenSet = true; m_customerEndpoint = std::forward<CustomerEndpointT>(value); }
65 template<typename CustomerEndpointT = Endpoint>
66 ContactDataRequest& WithCustomerEndpoint(CustomerEndpointT&& value) { SetCustomerEndpoint(std::forward<CustomerEndpointT>(value)); return *this;}
68
70
73 inline const Aws::String& GetRequestIdentifier() const { return m_requestIdentifier; }
74 inline bool RequestIdentifierHasBeenSet() const { return m_requestIdentifierHasBeenSet; }
75 template<typename RequestIdentifierT = Aws::String>
76 void SetRequestIdentifier(RequestIdentifierT&& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = std::forward<RequestIdentifierT>(value); }
77 template<typename RequestIdentifierT = Aws::String>
78 ContactDataRequest& WithRequestIdentifier(RequestIdentifierT&& value) { SetRequestIdentifier(std::forward<RequestIdentifierT>(value)); return *this;}
80
82
86 inline const Aws::String& GetQueueId() const { return m_queueId; }
87 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
88 template<typename QueueIdT = Aws::String>
89 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
90 template<typename QueueIdT = Aws::String>
91 ContactDataRequest& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
93
95
98 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
99 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
100 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
101 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
102 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
103 ContactDataRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
104 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
105 ContactDataRequest& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
106 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
107 }
109
111
114 inline const Campaign& GetCampaign() const { return m_campaign; }
115 inline bool CampaignHasBeenSet() const { return m_campaignHasBeenSet; }
116 template<typename CampaignT = Campaign>
117 void SetCampaign(CampaignT&& value) { m_campaignHasBeenSet = true; m_campaign = std::forward<CampaignT>(value); }
118 template<typename CampaignT = Campaign>
119 ContactDataRequest& WithCampaign(CampaignT&& value) { SetCampaign(std::forward<CampaignT>(value)); return *this;}
121 private:
122
123 Endpoint m_systemEndpoint;
124 bool m_systemEndpointHasBeenSet = false;
125
126 Endpoint m_customerEndpoint;
127 bool m_customerEndpointHasBeenSet = false;
128
129 Aws::String m_requestIdentifier;
130 bool m_requestIdentifierHasBeenSet = false;
131
132 Aws::String m_queueId;
133 bool m_queueIdHasBeenSet = false;
134
136 bool m_attributesHasBeenSet = false;
137
138 Campaign m_campaign;
139 bool m_campaignHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Connect
144} // namespace Aws
AWS_CONNECT_API ContactDataRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactDataRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomerEndpoint(CustomerEndpointT &&value)
AWS_CONNECT_API ContactDataRequest(Aws::Utils::Json::JsonView jsonValue)
ContactDataRequest & WithCustomerEndpoint(CustomerEndpointT &&value)
ContactDataRequest & WithQueueId(QueueIdT &&value)
void SetSystemEndpoint(SystemEndpointT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
ContactDataRequest & WithCampaign(CampaignT &&value)
AWS_CONNECT_API ContactDataRequest()=default
ContactDataRequest & WithAttributes(AttributesT &&value)
ContactDataRequest & WithSystemEndpoint(SystemEndpointT &&value)
const Aws::String & GetRequestIdentifier() const
void SetRequestIdentifier(RequestIdentifierT &&value)
ContactDataRequest & WithRequestIdentifier(RequestIdentifierT &&value)
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