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>
48 template <
typename AddressT = Aws::String>
50 m_addressHasBeenSet =
true;
51 m_address = std::forward<AddressT>(value);
53 template <
typename AddressT = Aws::String>
68 template <
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
70 m_attributesHasBeenSet =
true;
71 m_attributes = std::forward<AttributesT>(value);
73 template <
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
78 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::Vector<Aws::String>>
80 m_attributesHasBeenSet =
true;
81 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
94 m_channelTypeHasBeenSet =
true;
95 m_channelType = value;
110 template <
typename DemographicT = Endpo
intDemographic>
112 m_demographicHasBeenSet =
true;
113 m_demographic = std::forward<DemographicT>(value);
115 template <
typename DemographicT = Endpo
intDemographic>
129 template <
typename EffectiveDateT = Aws::String>
131 m_effectiveDateHasBeenSet =
true;
132 m_effectiveDate = std::forward<EffectiveDateT>(value);
134 template <
typename EffectiveDateT = Aws::String>
152 template <
typename Endpo
intStatusT = Aws::String>
154 m_endpointStatusHasBeenSet =
true;
155 m_endpointStatus = std::forward<EndpointStatusT>(value);
157 template <
typename Endpo
intStatusT = Aws::String>
170 template <
typename LocationT = Endpo
intLocation>
172 m_locationHasBeenSet =
true;
173 m_location = std::forward<LocationT>(value);
175 template <
typename LocationT = Endpo
intLocation>
189 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
191 m_metricsHasBeenSet =
true;
192 m_metrics = std::forward<MetricsT>(value);
194 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
200 m_metricsHasBeenSet =
true;
201 m_metrics.emplace(key, value);
216 template <
typename OptOutT = Aws::String>
218 m_optOutHasBeenSet =
true;
219 m_optOut = std::forward<OptOutT>(value);
221 template <
typename OptOutT = Aws::String>
234 template <
typename RequestIdT = Aws::String>
236 m_requestIdHasBeenSet =
true;
237 m_requestId = std::forward<RequestIdT>(value);
239 template <
typename RequestIdT = Aws::String>
253 template <
typename UserT = Endpo
intUser>
255 m_userHasBeenSet =
true;
256 m_user = std::forward<UserT>(value);
258 template <
typename UserT = Endpo
intUser>
260 SetUser(std::forward<UserT>(value));
271 EndpointDemographic m_demographic;
277 EndpointLocation m_location;
286 bool m_addressHasBeenSet =
false;
287 bool m_attributesHasBeenSet =
false;
288 bool m_channelTypeHasBeenSet =
false;
289 bool m_demographicHasBeenSet =
false;
290 bool m_effectiveDateHasBeenSet =
false;
291 bool m_endpointStatusHasBeenSet =
false;
292 bool m_locationHasBeenSet =
false;
293 bool m_metricsHasBeenSet =
false;
294 bool m_optOutHasBeenSet =
false;
295 bool m_requestIdHasBeenSet =
false;
296 bool m_userHasBeenSet =
false;
void SetDemographic(DemographicT &&value)
const EndpointDemographic & GetDemographic() const
PublicEndpoint & WithLocation(LocationT &&value)
void SetMetrics(MetricsT &&value)
void SetOptOut(OptOutT &&value)
PublicEndpoint & WithMetrics(MetricsT &&value)
PublicEndpoint & WithDemographic(DemographicT &&value)
const Aws::Map< Aws::String, double > & GetMetrics() const
bool UserHasBeenSet() const
const Aws::String & GetAddress() const
PublicEndpoint & WithAddress(AddressT &&value)
const Aws::String & GetEffectiveDate() const
void SetAttributes(AttributesT &&value)
ChannelType GetChannelType() const
AWS_PINPOINT_API PublicEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOptOut() const
void SetUser(UserT &&value)
const EndpointUser & GetUser() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool DemographicHasBeenSet() const
PublicEndpoint & WithOptOut(OptOutT &&value)
PublicEndpoint & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
bool EffectiveDateHasBeenSet() const
void SetEffectiveDate(EffectiveDateT &&value)
const Aws::String & GetEndpointStatus() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAttributes() const
void SetRequestId(RequestIdT &&value)
const EndpointLocation & GetLocation() const
bool ChannelTypeHasBeenSet() const
PublicEndpoint & WithUser(UserT &&value)
AWS_PINPOINT_API PublicEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
PublicEndpoint & WithEffectiveDate(EffectiveDateT &&value)
const Aws::String & GetRequestId() const
void SetEndpointStatus(EndpointStatusT &&value)
bool LocationHasBeenSet() const
AWS_PINPOINT_API PublicEndpoint()=default
void SetAddress(AddressT &&value)
bool EndpointStatusHasBeenSet() const
bool RequestIdHasBeenSet() const
void SetLocation(LocationT &&value)
bool AddressHasBeenSet() const
PublicEndpoint & WithChannelType(ChannelType value)
bool OptOutHasBeenSet() const
bool AttributesHasBeenSet() const
PublicEndpoint & AddMetrics(Aws::String key, double value)
PublicEndpoint & WithAttributes(AttributesT &&value)
PublicEndpoint & WithEndpointStatus(EndpointStatusT &&value)
void SetChannelType(ChannelType value)
PublicEndpoint & WithRequestId(RequestIdT &&value)
bool MetricsHasBeenSet() const
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