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>
140 template <
typename EffectiveDateT = Aws::String>
142 m_effectiveDateHasBeenSet =
true;
143 m_effectiveDate = std::forward<EffectiveDateT>(value);
145 template <
typename EffectiveDateT = Aws::String>
163 template <
typename Endpo
intStatusT = Aws::String>
165 m_endpointStatusHasBeenSet =
true;
166 m_endpointStatus = std::forward<EndpointStatusT>(value);
168 template <
typename Endpo
intStatusT = Aws::String>
181 template <
typename IdT = Aws::String>
183 m_idHasBeenSet =
true;
184 m_id = std::forward<IdT>(value);
186 template <
typename IdT = Aws::String>
188 SetId(std::forward<IdT>(value));
199 template <
typename LocationT = Endpo
intLocation>
201 m_locationHasBeenSet =
true;
202 m_location = std::forward<LocationT>(value);
204 template <
typename LocationT = Endpo
intLocation>
218 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
220 m_metricsHasBeenSet =
true;
221 m_metrics = std::forward<MetricsT>(value);
223 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
229 m_metricsHasBeenSet =
true;
230 m_metrics.emplace(key, value);
245 template <
typename OptOutT = Aws::String>
247 m_optOutHasBeenSet =
true;
248 m_optOut = std::forward<OptOutT>(value);
250 template <
typename OptOutT = Aws::String>
263 template <
typename RequestIdT = Aws::String>
265 m_requestIdHasBeenSet =
true;
266 m_requestId = std::forward<RequestIdT>(value);
268 template <
typename RequestIdT = Aws::String>
282 template <
typename UserT = Endpo
intUser>
284 m_userHasBeenSet =
true;
285 m_user = std::forward<UserT>(value);
287 template <
typename UserT = Endpo
intUser>
289 SetUser(std::forward<UserT>(value));
300 EndpointDemographic m_demographic;
308 EndpointLocation m_location;
317 bool m_addressHasBeenSet =
false;
318 bool m_attributesHasBeenSet =
false;
319 bool m_channelTypeHasBeenSet =
false;
320 bool m_demographicHasBeenSet =
false;
321 bool m_effectiveDateHasBeenSet =
false;
322 bool m_endpointStatusHasBeenSet =
false;
323 bool m_idHasBeenSet =
false;
324 bool m_locationHasBeenSet =
false;
325 bool m_metricsHasBeenSet =
false;
326 bool m_optOutHasBeenSet =
false;
327 bool m_requestIdHasBeenSet =
false;
328 bool m_userHasBeenSet =
false;
const Aws::String & GetAddress() const
EndpointBatchItem & WithEndpointStatus(EndpointStatusT &&value)
EndpointBatchItem & WithChannelType(ChannelType value)
bool RequestIdHasBeenSet() const
EndpointBatchItem & WithRequestId(RequestIdT &&value)
const EndpointLocation & GetLocation() const
const Aws::String & GetEffectiveDate() const
const EndpointUser & GetUser() const
EndpointBatchItem & WithUser(UserT &&value)
void SetEffectiveDate(EffectiveDateT &&value)
EndpointBatchItem & WithAttributes(AttributesT &&value)
EndpointBatchItem & WithEffectiveDate(EffectiveDateT &&value)
EndpointBatchItem & WithDemographic(DemographicT &&value)
bool DemographicHasBeenSet() const
void SetLocation(LocationT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAttributes() const
AWS_PINPOINT_API EndpointBatchItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UserHasBeenSet() const
bool IdHasBeenSet() const
void SetOptOut(OptOutT &&value)
EndpointBatchItem & AddMetrics(Aws::String key, double value)
void SetAttributes(AttributesT &&value)
const Aws::String & GetId() const
const Aws::String & GetRequestId() const
bool AddressHasBeenSet() const
bool EffectiveDateHasBeenSet() const
bool MetricsHasBeenSet() const
ChannelType GetChannelType() const
bool EndpointStatusHasBeenSet() const
EndpointBatchItem & WithLocation(LocationT &&value)
AWS_PINPOINT_API EndpointBatchItem()=default
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOptOut() const
void SetUser(UserT &&value)
void SetChannelType(ChannelType value)
bool OptOutHasBeenSet() const
void SetAddress(AddressT &&value)
EndpointBatchItem & WithAddress(AddressT &&value)
EndpointBatchItem & WithId(IdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_PINPOINT_API EndpointBatchItem(Aws::Utils::Json::JsonView jsonValue)
bool ChannelTypeHasBeenSet() const
void SetDemographic(DemographicT &&value)
bool AttributesHasBeenSet() const
const Aws::String & GetEndpointStatus() const
const Aws::Map< Aws::String, double > & GetMetrics() const
EndpointBatchItem & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
EndpointBatchItem & WithOptOut(OptOutT &&value)
bool LocationHasBeenSet() const
void SetMetrics(MetricsT &&value)
const EndpointDemographic & GetDemographic() const
void SetEndpointStatus(EndpointStatusT &&value)
EndpointBatchItem & WithMetrics(MetricsT &&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