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>
56 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
117 inline void SetEffectiveDate(
const char* value) { m_effectiveDateHasBeenSet =
true; m_effectiveDate.assign(value); }
136 inline void SetEndpointStatus(
const char* value) { m_endpointStatusHasBeenSet =
true; m_endpointStatus.assign(value); }
167 inline PublicEndpoint&
AddMetrics(
const char* key,
double value) { m_metricsHasBeenSet =
true; m_metrics.emplace(key, value);
return *
this; }
182 inline void SetOptOut(
const char* value) { m_optOutHasBeenSet =
true; m_optOut.assign(value); }
196 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
217 bool m_addressHasBeenSet =
false;
220 bool m_attributesHasBeenSet =
false;
223 bool m_channelTypeHasBeenSet =
false;
226 bool m_demographicHasBeenSet =
false;
229 bool m_effectiveDateHasBeenSet =
false;
232 bool m_endpointStatusHasBeenSet =
false;
235 bool m_locationHasBeenSet =
false;
238 bool m_metricsHasBeenSet =
false;
241 bool m_optOutHasBeenSet =
false;
244 bool m_requestIdHasBeenSet =
false;
247 bool m_userHasBeenSet =
false;
PublicEndpoint & WithMetrics(Aws::Map< Aws::String, double > &&value)
PublicEndpoint & AddMetrics(Aws::String &&key, double value)
PublicEndpoint & WithEffectiveDate(const char *value)
const EndpointDemographic & GetDemographic() const
PublicEndpoint & WithAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AWS_PINPOINT_API PublicEndpoint()
PublicEndpoint & WithUser(EndpointUser &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetOptOut(const Aws::String &value)
PublicEndpoint & AddAttributes(Aws::String &&key, Aws::Vector< Aws::String > &&value)
PublicEndpoint & WithRequestId(const Aws::String &value)
PublicEndpoint & WithEffectiveDate(const Aws::String &value)
PublicEndpoint & WithRequestId(const char *value)
PublicEndpoint & WithChannelType(const ChannelType &value)
void SetChannelType(const ChannelType &value)
PublicEndpoint & WithAddress(const Aws::String &value)
PublicEndpoint & WithEndpointStatus(Aws::String &&value)
const Aws::Map< Aws::String, double > & GetMetrics() const
bool UserHasBeenSet() const
PublicEndpoint & AddAttributes(const Aws::String &key, const Aws::Vector< Aws::String > &value)
PublicEndpoint & AddMetrics(const char *key, double value)
PublicEndpoint & WithLocation(const EndpointLocation &value)
const Aws::String & GetAddress() const
PublicEndpoint & WithChannelType(ChannelType &&value)
const Aws::String & GetEffectiveDate() const
void SetAddress(const char *value)
void SetAddress(Aws::String &&value)
PublicEndpoint & AddAttributes(const char *key, const Aws::Vector< Aws::String > &value)
PublicEndpoint & WithUser(const EndpointUser &value)
AWS_PINPOINT_API PublicEndpoint(Aws::Utils::Json::JsonView jsonValue)
PublicEndpoint & WithOptOut(const Aws::String &value)
void SetEffectiveDate(const Aws::String &value)
const Aws::String & GetOptOut() const
const EndpointUser & GetUser() const
PublicEndpoint & WithAddress(const char *value)
PublicEndpoint & AddMetrics(const Aws::String &key, double value)
void SetLocation(const EndpointLocation &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool DemographicHasBeenSet() const
void SetMetrics(const Aws::Map< Aws::String, double > &value)
bool EffectiveDateHasBeenSet() const
void SetRequestId(const char *value)
PublicEndpoint & AddAttributes(const char *key, Aws::Vector< Aws::String > &&value)
void SetEndpointStatus(const Aws::String &value)
const ChannelType & GetChannelType() const
const Aws::String & GetEndpointStatus() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAttributes() const
void SetUser(const EndpointUser &value)
const EndpointLocation & GetLocation() const
void SetOptOut(Aws::String &&value)
bool ChannelTypeHasBeenSet() const
AWS_PINPOINT_API PublicEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRequestId() const
void SetAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
PublicEndpoint & WithEndpointStatus(const Aws::String &value)
bool LocationHasBeenSet() const
PublicEndpoint & WithEffectiveDate(Aws::String &&value)
void SetEffectiveDate(Aws::String &&value)
PublicEndpoint & WithOptOut(const char *value)
void SetLocation(EndpointLocation &&value)
PublicEndpoint & WithAddress(Aws::String &&value)
PublicEndpoint & WithRequestId(Aws::String &&value)
void SetEndpointStatus(Aws::String &&value)
void SetDemographic(EndpointDemographic &&value)
PublicEndpoint & AddAttributes(const Aws::String &key, Aws::Vector< Aws::String > &&value)
bool EndpointStatusHasBeenSet() const
PublicEndpoint & WithEndpointStatus(const char *value)
bool RequestIdHasBeenSet() const
PublicEndpoint & WithOptOut(Aws::String &&value)
PublicEndpoint & WithAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool AddressHasBeenSet() const
void SetDemographic(const EndpointDemographic &value)
void SetRequestId(Aws::String &&value)
PublicEndpoint & AddAttributes(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetOptOut(const char *value)
void SetEffectiveDate(const char *value)
PublicEndpoint & WithMetrics(const Aws::Map< Aws::String, double > &value)
bool OptOutHasBeenSet() const
bool AttributesHasBeenSet() const
void SetChannelType(ChannelType &&value)
void SetMetrics(Aws::Map< Aws::String, double > &&value)
PublicEndpoint & WithLocation(EndpointLocation &&value)
PublicEndpoint & WithDemographic(EndpointDemographic &&value)
void SetEndpointStatus(const char *value)
void SetUser(EndpointUser &&value)
void SetAddress(const Aws::String &value)
bool MetricsHasBeenSet() const
PublicEndpoint & WithDemographic(const EndpointDemographic &value)
void SetRequestId(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