7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/pinpoint/model/ChannelType.h>
11#include <aws/pinpoint/model/EndpointDemographic.h>
12#include <aws/pinpoint/model/EndpointLocation.h>
13#include <aws/pinpoint/model/EndpointUser.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
58 template<
typename AddressT = Aws::String>
59 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
60 template<
typename AddressT = Aws::String>
79 template<
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
80 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
81 template<
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
83 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::Vector<Aws::String>>
85 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
107 template<
typename DemographicT = Endpo
intDemographic>
108 void SetDemographic(DemographicT&& value) { m_demographicHasBeenSet =
true; m_demographic = std::forward<DemographicT>(value); }
109 template<
typename DemographicT = Endpo
intDemographic>
120 template<
typename EffectiveDateT = Aws::String>
121 void SetEffectiveDate(EffectiveDateT&& value) { m_effectiveDateHasBeenSet =
true; m_effectiveDate = std::forward<EffectiveDateT>(value); }
122 template<
typename EffectiveDateT = Aws::String>
137 template<
typename Endpo
intStatusT = Aws::String>
138 void SetEndpointStatus(EndpointStatusT&& value) { m_endpointStatusHasBeenSet =
true; m_endpointStatus = std::forward<EndpointStatusT>(value); }
139 template<
typename Endpo
intStatusT = Aws::String>
149 template<
typename IdT = Aws::String>
150 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
151 template<
typename IdT = Aws::String>
161 template<
typename LocationT = Endpo
intLocation>
162 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
163 template<
typename LocationT = Endpo
intLocation>
174 template<
typename MetricsT = Aws::Map<Aws::String,
double>>
175 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
176 template<
typename MetricsT = Aws::Map<Aws::String,
double>>
179 m_metricsHasBeenSet =
true; m_metrics.emplace(key, value);
return *
this;
193 template<
typename OptOutT = Aws::String>
194 void SetOptOut(OptOutT&& value) { m_optOutHasBeenSet =
true; m_optOut = std::forward<OptOutT>(value); }
195 template<
typename OptOutT = Aws::String>
205 template<
typename RequestIdT = Aws::String>
206 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
207 template<
typename RequestIdT = Aws::String>
218 template<
typename UserT = Endpo
intUser>
219 void SetUser(UserT&& value) { m_userHasBeenSet =
true; m_user = std::forward<UserT>(value); }
220 template<
typename UserT = Endpo
intUser>
226 bool m_addressHasBeenSet =
false;
229 bool m_attributesHasBeenSet =
false;
232 bool m_channelTypeHasBeenSet =
false;
234 EndpointDemographic m_demographic;
235 bool m_demographicHasBeenSet =
false;
238 bool m_effectiveDateHasBeenSet =
false;
241 bool m_endpointStatusHasBeenSet =
false;
244 bool m_idHasBeenSet =
false;
246 EndpointLocation m_location;
247 bool m_locationHasBeenSet =
false;
250 bool m_metricsHasBeenSet =
false;
253 bool m_optOutHasBeenSet =
false;
256 bool m_requestIdHasBeenSet =
false;
259 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