7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint/Pinpoint_EXPORTS.h>
11#include <aws/pinpoint/model/ChannelType.h>
12#include <aws/pinpoint/model/EndpointDemographic.h>
13#include <aws/pinpoint/model/EndpointLocation.h>
14#include <aws/pinpoint/model/EndpointUser.h>
52 template <
typename AddressT = Aws::String>
54 m_addressHasBeenSet =
true;
55 m_address = std::forward<AddressT>(value);
57 template <
typename AddressT = Aws::String>
79 template <
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
81 m_attributesHasBeenSet =
true;
82 m_attributes = std::forward<AttributesT>(value);
84 template <
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
89 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::Vector<Aws::String>>
91 m_attributesHasBeenSet =
true;
92 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
105 m_channelTypeHasBeenSet =
true;
106 m_channelType = value;
121 template <
typename DemographicT = Endpo
intDemographic>
123 m_demographicHasBeenSet =
true;
124 m_demographic = std::forward<DemographicT>(value);
126 template <
typename DemographicT = Endpo
intDemographic>
139 template <
typename EffectiveDateT = Aws::String>
141 m_effectiveDateHasBeenSet =
true;
142 m_effectiveDate = std::forward<EffectiveDateT>(value);
144 template <
typename EffectiveDateT = Aws::String>
162 template <
typename Endpo
intStatusT = Aws::String>
164 m_endpointStatusHasBeenSet =
true;
165 m_endpointStatus = std::forward<EndpointStatusT>(value);
167 template <
typename Endpo
intStatusT = Aws::String>
180 template <
typename LocationT = Endpo
intLocation>
182 m_locationHasBeenSet =
true;
183 m_location = std::forward<LocationT>(value);
185 template <
typename LocationT = Endpo
intLocation>
199 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
201 m_metricsHasBeenSet =
true;
202 m_metrics = std::forward<MetricsT>(value);
204 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
210 m_metricsHasBeenSet =
true;
211 m_metrics.emplace(key, value);
226 template <
typename OptOutT = Aws::String>
228 m_optOutHasBeenSet =
true;
229 m_optOut = std::forward<OptOutT>(value);
231 template <
typename OptOutT = Aws::String>
244 template <
typename RequestIdT = Aws::String>
246 m_requestIdHasBeenSet =
true;
247 m_requestId = std::forward<RequestIdT>(value);
249 template <
typename RequestIdT = Aws::String>
263 template <
typename UserT = Endpo
intUser>
265 m_userHasBeenSet =
true;
266 m_user = std::forward<UserT>(value);
268 template <
typename UserT = Endpo
intUser>
270 SetUser(std::forward<UserT>(value));
281 EndpointDemographic m_demographic;
287 EndpointLocation m_location;
296 bool m_addressHasBeenSet =
false;
297 bool m_attributesHasBeenSet =
false;
298 bool m_channelTypeHasBeenSet =
false;
299 bool m_demographicHasBeenSet =
false;
300 bool m_effectiveDateHasBeenSet =
false;
301 bool m_endpointStatusHasBeenSet =
false;
302 bool m_locationHasBeenSet =
false;
303 bool m_metricsHasBeenSet =
false;
304 bool m_optOutHasBeenSet =
false;
305 bool m_requestIdHasBeenSet =
false;
306 bool m_userHasBeenSet =
false;
const Aws::String & GetOptOut() const
const Aws::Map< Aws::String, double > & GetMetrics() const
EndpointRequest & WithChannelType(ChannelType value)
void SetOptOut(OptOutT &&value)
const Aws::String & GetAddress() const
const EndpointDemographic & GetDemographic() const
EndpointRequest & WithEffectiveDate(EffectiveDateT &&value)
EndpointRequest & WithDemographic(DemographicT &&value)
bool UserHasBeenSet() const
void SetRequestId(RequestIdT &&value)
bool EffectiveDateHasBeenSet() const
const Aws::String & GetRequestId() const
const EndpointUser & GetUser() const
void SetUser(UserT &&value)
EndpointRequest & WithRequestId(RequestIdT &&value)
bool RequestIdHasBeenSet() const
bool AddressHasBeenSet() const
EndpointRequest & WithMetrics(MetricsT &&value)
EndpointRequest & WithUser(UserT &&value)
EndpointRequest & WithEndpointStatus(EndpointStatusT &&value)
AWS_PINPOINT_API EndpointRequest(Aws::Utils::Json::JsonView jsonValue)
EndpointRequest & WithAttributes(AttributesT &&value)
EndpointRequest & WithLocation(LocationT &&value)
EndpointRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
bool AttributesHasBeenSet() const
bool EndpointStatusHasBeenSet() const
const Aws::String & GetEndpointStatus() const
bool MetricsHasBeenSet() const
void SetChannelType(ChannelType value)
void SetEndpointStatus(EndpointStatusT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetrics(MetricsT &&value)
bool ChannelTypeHasBeenSet() const
void SetDemographic(DemographicT &&value)
EndpointRequest & AddMetrics(Aws::String key, double value)
bool LocationHasBeenSet() const
void SetAddress(AddressT &&value)
void SetLocation(LocationT &&value)
bool DemographicHasBeenSet() const
const Aws::String & GetEffectiveDate() const
ChannelType GetChannelType() const
AWS_PINPOINT_API EndpointRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointRequest & WithAddress(AddressT &&value)
EndpointRequest & WithOptOut(OptOutT &&value)
bool OptOutHasBeenSet() const
const EndpointLocation & GetLocation() const
void SetEffectiveDate(EffectiveDateT &&value)
void SetAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAttributes() const
AWS_PINPOINT_API EndpointRequest()=default
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