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>
60 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
128 inline void SetEffectiveDate(
const char* value) { m_effectiveDateHasBeenSet =
true; m_effectiveDate.assign(value); }
147 inline void SetEndpointStatus(
const char* value) { m_endpointStatusHasBeenSet =
true; m_endpointStatus.assign(value); }
161 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
207 inline void SetOptOut(
const char* value) { m_optOutHasBeenSet =
true; m_optOut.assign(value); }
221 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
242 bool m_addressHasBeenSet =
false;
245 bool m_attributesHasBeenSet =
false;
248 bool m_channelTypeHasBeenSet =
false;
251 bool m_demographicHasBeenSet =
false;
254 bool m_effectiveDateHasBeenSet =
false;
257 bool m_endpointStatusHasBeenSet =
false;
260 bool m_idHasBeenSet =
false;
263 bool m_locationHasBeenSet =
false;
266 bool m_metricsHasBeenSet =
false;
269 bool m_optOutHasBeenSet =
false;
272 bool m_requestIdHasBeenSet =
false;
275 bool m_userHasBeenSet =
false;
const Aws::String & GetAddress() const
EndpointBatchItem & WithLocation(EndpointLocation &&value)
EndpointBatchItem & WithEffectiveDate(const char *value)
EndpointBatchItem & WithAddress(Aws::String &&value)
EndpointBatchItem & WithId(const Aws::String &value)
void SetEndpointStatus(const Aws::String &value)
bool RequestIdHasBeenSet() const
EndpointBatchItem & WithEndpointStatus(Aws::String &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
EndpointBatchItem & AddAttributes(Aws::String &&key, Aws::Vector< Aws::String > &&value)
EndpointBatchItem & WithMetrics(const Aws::Map< Aws::String, double > &value)
const EndpointLocation & GetLocation() const
const Aws::String & GetEffectiveDate() const
EndpointBatchItem & WithEffectiveDate(const Aws::String &value)
EndpointBatchItem & WithAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetChannelType(const ChannelType &value)
void SetOptOut(const char *value)
void SetMetrics(Aws::Map< Aws::String, double > &&value)
const EndpointUser & GetUser() const
EndpointBatchItem & AddAttributes(Aws::String &&key, const Aws::Vector< Aws::String > &value)
EndpointBatchItem & WithRequestId(const Aws::String &value)
void SetId(Aws::String &&value)
EndpointBatchItem & WithEndpointStatus(const Aws::String &value)
void SetLocation(const EndpointLocation &value)
void SetDemographic(EndpointDemographic &&value)
EndpointBatchItem & WithUser(EndpointUser &&value)
bool DemographicHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAttributes() const
AWS_PINPOINT_API EndpointBatchItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
EndpointBatchItem & WithId(Aws::String &&value)
EndpointBatchItem & WithOptOut(const char *value)
bool UserHasBeenSet() const
bool IdHasBeenSet() const
EndpointBatchItem & WithAddress(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetUser(const EndpointUser &value)
EndpointBatchItem & WithEffectiveDate(Aws::String &&value)
const Aws::String & GetId() const
EndpointBatchItem & AddAttributes(const char *key, Aws::Vector< Aws::String > &&value)
const Aws::String & GetRequestId() const
bool AddressHasBeenSet() const
EndpointBatchItem & WithRequestId(Aws::String &&value)
void SetDemographic(const EndpointDemographic &value)
bool EffectiveDateHasBeenSet() const
bool MetricsHasBeenSet() const
bool EndpointStatusHasBeenSet() const
EndpointBatchItem & WithRequestId(const char *value)
void SetEffectiveDate(const Aws::String &value)
EndpointBatchItem & WithDemographic(const EndpointDemographic &value)
void SetRequestId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointBatchItem & WithEndpointStatus(const char *value)
const Aws::String & GetOptOut() const
EndpointBatchItem & WithDemographic(EndpointDemographic &&value)
EndpointBatchItem & WithId(const char *value)
EndpointBatchItem & AddMetrics(Aws::String &&key, double value)
EndpointBatchItem & AddMetrics(const Aws::String &key, double value)
void SetMetrics(const Aws::Map< Aws::String, double > &value)
void SetEffectiveDate(const char *value)
EndpointBatchItem & WithOptOut(const Aws::String &value)
EndpointBatchItem & WithOptOut(Aws::String &&value)
EndpointBatchItem & AddAttributes(const Aws::String &key, const Aws::Vector< Aws::String > &value)
bool OptOutHasBeenSet() const
void SetAddress(const char *value)
void SetEndpointStatus(Aws::String &&value)
void SetAddress(Aws::String &&value)
void SetRequestId(const char *value)
EndpointBatchItem & AddAttributes(const Aws::String &key, Aws::Vector< Aws::String > &&value)
EndpointBatchItem & WithLocation(const EndpointLocation &value)
EndpointBatchItem & AddAttributes(const char *key, const Aws::Vector< Aws::String > &value)
AWS_PINPOINT_API EndpointBatchItem()
void SetEndpointStatus(const char *value)
AWS_PINPOINT_API EndpointBatchItem(Aws::Utils::Json::JsonView jsonValue)
EndpointBatchItem & WithChannelType(const ChannelType &value)
bool ChannelTypeHasBeenSet() const
bool AttributesHasBeenSet() const
const Aws::String & GetEndpointStatus() const
const Aws::Map< Aws::String, double > & GetMetrics() const
void SetLocation(EndpointLocation &&value)
EndpointBatchItem & WithAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
EndpointBatchItem & WithChannelType(ChannelType &&value)
const ChannelType & GetChannelType() const
void SetEffectiveDate(Aws::String &&value)
EndpointBatchItem & WithAddress(const char *value)
EndpointBatchItem & WithUser(const EndpointUser &value)
void SetAddress(const Aws::String &value)
bool LocationHasBeenSet() const
void SetAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const EndpointDemographic & GetDemographic() const
void SetUser(EndpointUser &&value)
void SetId(const char *value)
void SetChannelType(ChannelType &&value)
EndpointBatchItem & AddMetrics(const char *key, double value)
void SetOptOut(Aws::String &&value)
EndpointBatchItem & WithMetrics(Aws::Map< Aws::String, double > &&value)
void SetOptOut(const 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue