AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSystemEndpoint(const Endpoint& value) { m_systemEndpointHasBeenSet = true; m_systemEndpoint = value; }
52 inline void SetSystemEndpoint(Endpoint&& value) { m_systemEndpointHasBeenSet = true; m_systemEndpoint = std::move(value); }
53 inline ContactDataRequest& WithSystemEndpoint(const Endpoint& value) { SetSystemEndpoint(value); return *this;}
54 inline ContactDataRequest& WithSystemEndpoint(Endpoint&& value) { SetSystemEndpoint(std::move(value)); return *this;}
56
58
61 inline const Endpoint& GetCustomerEndpoint() const{ return m_customerEndpoint; }
62 inline bool CustomerEndpointHasBeenSet() const { return m_customerEndpointHasBeenSet; }
63 inline void SetCustomerEndpoint(const Endpoint& value) { m_customerEndpointHasBeenSet = true; m_customerEndpoint = value; }
64 inline void SetCustomerEndpoint(Endpoint&& value) { m_customerEndpointHasBeenSet = true; m_customerEndpoint = std::move(value); }
65 inline ContactDataRequest& WithCustomerEndpoint(const Endpoint& value) { SetCustomerEndpoint(value); return *this;}
66 inline ContactDataRequest& WithCustomerEndpoint(Endpoint&& value) { SetCustomerEndpoint(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetRequestIdentifier() const{ return m_requestIdentifier; }
74 inline bool RequestIdentifierHasBeenSet() const { return m_requestIdentifierHasBeenSet; }
75 inline void SetRequestIdentifier(const Aws::String& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = value; }
76 inline void SetRequestIdentifier(Aws::String&& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = std::move(value); }
77 inline void SetRequestIdentifier(const char* value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier.assign(value); }
78 inline ContactDataRequest& WithRequestIdentifier(const Aws::String& value) { SetRequestIdentifier(value); return *this;}
79 inline ContactDataRequest& WithRequestIdentifier(Aws::String&& value) { SetRequestIdentifier(std::move(value)); return *this;}
80 inline ContactDataRequest& WithRequestIdentifier(const char* value) { SetRequestIdentifier(value); return *this;}
82
84
88 inline const Aws::String& GetQueueId() const{ return m_queueId; }
89 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
90 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
91 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
92 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
93 inline ContactDataRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
94 inline ContactDataRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
95 inline ContactDataRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
97
99
102 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
103 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
104 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
105 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
107 inline ContactDataRequest& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
108 inline ContactDataRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
109 inline ContactDataRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
110 inline ContactDataRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
111 inline ContactDataRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
112 inline ContactDataRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
113 inline ContactDataRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
114 inline ContactDataRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
116
118
121 inline const Campaign& GetCampaign() const{ return m_campaign; }
122 inline bool CampaignHasBeenSet() const { return m_campaignHasBeenSet; }
123 inline void SetCampaign(const Campaign& value) { m_campaignHasBeenSet = true; m_campaign = value; }
124 inline void SetCampaign(Campaign&& value) { m_campaignHasBeenSet = true; m_campaign = std::move(value); }
125 inline ContactDataRequest& WithCampaign(const Campaign& value) { SetCampaign(value); return *this;}
126 inline ContactDataRequest& WithCampaign(Campaign&& value) { SetCampaign(std::move(value)); return *this;}
128 private:
129
130 Endpoint m_systemEndpoint;
131 bool m_systemEndpointHasBeenSet = false;
132
133 Endpoint m_customerEndpoint;
134 bool m_customerEndpointHasBeenSet = false;
135
136 Aws::String m_requestIdentifier;
137 bool m_requestIdentifierHasBeenSet = false;
138
139 Aws::String m_queueId;
140 bool m_queueIdHasBeenSet = false;
141
143 bool m_attributesHasBeenSet = false;
144
145 Campaign m_campaign;
146 bool m_campaignHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Connect
151} // namespace Aws
AWS_CONNECT_API ContactDataRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactDataRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ContactDataRequest(Aws::Utils::Json::JsonView jsonValue)
ContactDataRequest & WithSystemEndpoint(const Endpoint &value)
ContactDataRequest & WithRequestIdentifier(const char *value)
ContactDataRequest & WithRequestIdentifier(Aws::String &&value)
ContactDataRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
ContactDataRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ContactDataRequest & WithRequestIdentifier(const Aws::String &value)
ContactDataRequest & WithCustomerEndpoint(const Endpoint &value)
void SetQueueId(const Aws::String &value)
ContactDataRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
ContactDataRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
ContactDataRequest & WithSystemEndpoint(Endpoint &&value)
ContactDataRequest & WithCampaign(const Campaign &value)
ContactDataRequest & WithCustomerEndpoint(Endpoint &&value)
void SetSystemEndpoint(const Endpoint &value)
ContactDataRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
ContactDataRequest & WithQueueId(const char *value)
void SetRequestIdentifier(Aws::String &&value)
ContactDataRequest & AddAttributes(Aws::String &&key, const char *value)
ContactDataRequest & WithQueueId(const Aws::String &value)
void SetCustomerEndpoint(const Endpoint &value)
const Aws::String & GetRequestIdentifier() const
ContactDataRequest & WithCampaign(Campaign &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ContactDataRequest & AddAttributes(const char *key, Aws::String &&value)
void SetRequestIdentifier(const Aws::String &value)
ContactDataRequest & AddAttributes(const char *key, const char *value)
ContactDataRequest & WithQueueId(Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &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