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>
53 template <
typename AddressT = Aws::String>
55 m_addressHasBeenSet =
true;
56 m_address = std::forward<AddressT>(value);
58 template <
typename AddressT = Aws::String>
72 template <
typename ApplicationIdT = Aws::String>
74 m_applicationIdHasBeenSet =
true;
75 m_applicationId = std::forward<ApplicationIdT>(value);
77 template <
typename ApplicationIdT = Aws::String>
93 template <
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
95 m_attributesHasBeenSet =
true;
96 m_attributes = std::forward<AttributesT>(value);
98 template <
typename AttributesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
103 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::Vector<Aws::String>>
105 m_attributesHasBeenSet =
true;
106 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
119 m_channelTypeHasBeenSet =
true;
120 m_channelType = value;
137 template <
typename CohortIdT = Aws::String>
139 m_cohortIdHasBeenSet =
true;
140 m_cohortId = std::forward<CohortIdT>(value);
142 template <
typename CohortIdT = Aws::String>
155 template <
typename CreationDateT = Aws::String>
157 m_creationDateHasBeenSet =
true;
158 m_creationDate = std::forward<CreationDateT>(value);
160 template <
typename CreationDateT = Aws::String>
174 template <
typename DemographicT = Endpo
intDemographic>
176 m_demographicHasBeenSet =
true;
177 m_demographic = std::forward<DemographicT>(value);
179 template <
typename DemographicT = Endpo
intDemographic>
193 template <
typename EffectiveDateT = Aws::String>
195 m_effectiveDateHasBeenSet =
true;
196 m_effectiveDate = std::forward<EffectiveDateT>(value);
198 template <
typename EffectiveDateT = Aws::String>
216 template <
typename Endpo
intStatusT = Aws::String>
218 m_endpointStatusHasBeenSet =
true;
219 m_endpointStatus = std::forward<EndpointStatusT>(value);
221 template <
typename Endpo
intStatusT = Aws::String>
236 template <
typename IdT = Aws::String>
238 m_idHasBeenSet =
true;
239 m_id = std::forward<IdT>(value);
241 template <
typename IdT = Aws::String>
243 SetId(std::forward<IdT>(value));
254 template <
typename LocationT = Endpo
intLocation>
256 m_locationHasBeenSet =
true;
257 m_location = std::forward<LocationT>(value);
259 template <
typename LocationT = Endpo
intLocation>
273 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
275 m_metricsHasBeenSet =
true;
276 m_metrics = std::forward<MetricsT>(value);
278 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
284 m_metricsHasBeenSet =
true;
285 m_metrics.emplace(key, value);
300 template <
typename OptOutT = Aws::String>
302 m_optOutHasBeenSet =
true;
303 m_optOut = std::forward<OptOutT>(value);
305 template <
typename OptOutT = Aws::String>
318 template <
typename RequestIdT = Aws::String>
320 m_requestIdHasBeenSet =
true;
321 m_requestId = std::forward<RequestIdT>(value);
323 template <
typename RequestIdT = Aws::String>
337 template <
typename UserT = Endpo
intUser>
339 m_userHasBeenSet =
true;
340 m_user = std::forward<UserT>(value);
342 template <
typename UserT = Endpo
intUser>
344 SetUser(std::forward<UserT>(value));
361 EndpointDemographic m_demographic;
369 EndpointLocation m_location;
378 bool m_addressHasBeenSet =
false;
379 bool m_applicationIdHasBeenSet =
false;
380 bool m_attributesHasBeenSet =
false;
381 bool m_channelTypeHasBeenSet =
false;
382 bool m_cohortIdHasBeenSet =
false;
383 bool m_creationDateHasBeenSet =
false;
384 bool m_demographicHasBeenSet =
false;
385 bool m_effectiveDateHasBeenSet =
false;
386 bool m_endpointStatusHasBeenSet =
false;
387 bool m_idHasBeenSet =
false;
388 bool m_locationHasBeenSet =
false;
389 bool m_metricsHasBeenSet =
false;
390 bool m_optOutHasBeenSet =
false;
391 bool m_requestIdHasBeenSet =
false;
392 bool m_userHasBeenSet =
false;
EndpointResponse & WithChannelType(ChannelType value)
EndpointResponse & WithOptOut(OptOutT &&value)
void SetRequestId(RequestIdT &&value)
EndpointResponse & WithLocation(LocationT &&value)
const EndpointDemographic & GetDemographic() const
const Aws::String & GetRequestId() const
const EndpointUser & GetUser() const
bool AddressHasBeenSet() const
EndpointResponse & AddMetrics(Aws::String key, double value)
const Aws::String & GetCohortId() const
bool EffectiveDateHasBeenSet() const
EndpointResponse & WithDemographic(DemographicT &&value)
EndpointResponse & WithMetrics(MetricsT &&value)
const Aws::String & GetCreationDate() const
EndpointResponse & WithId(IdT &&value)
bool LocationHasBeenSet() const
bool CreationDateHasBeenSet() const
const Aws::String & GetId() const
const Aws::String & GetEndpointStatus() const
bool UserHasBeenSet() const
void SetUser(UserT &&value)
void SetEndpointStatus(EndpointStatusT &&value)
EndpointResponse & WithApplicationId(ApplicationIdT &&value)
bool OptOutHasBeenSet() const
EndpointResponse & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
EndpointResponse & WithCreationDate(CreationDateT &&value)
void SetDemographic(DemographicT &&value)
EndpointResponse & WithEffectiveDate(EffectiveDateT &&value)
AWS_PINPOINT_API EndpointResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointResponse & WithAddress(AddressT &&value)
bool CohortIdHasBeenSet() const
void SetEffectiveDate(EffectiveDateT &&value)
EndpointResponse & WithCohortId(CohortIdT &&value)
void SetOptOut(OptOutT &&value)
void SetCohortId(CohortIdT &&value)
void SetAddress(AddressT &&value)
bool ApplicationIdHasBeenSet() const
EndpointResponse & WithAttributes(AttributesT &&value)
bool DemographicHasBeenSet() const
bool AttributesHasBeenSet() const
bool RequestIdHasBeenSet() const
bool ChannelTypeHasBeenSet() const
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetApplicationId() const
void SetAttributes(AttributesT &&value)
bool IdHasBeenSet() const
const Aws::String & GetAddress() const
bool EndpointStatusHasBeenSet() const
bool MetricsHasBeenSet() const
void SetChannelType(ChannelType value)
const EndpointLocation & GetLocation() const
void SetApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API EndpointResponse(Aws::Utils::Json::JsonView jsonValue)
EndpointResponse & WithUser(UserT &&value)
EndpointResponse & WithRequestId(RequestIdT &&value)
EndpointResponse & WithEndpointStatus(EndpointStatusT &&value)
void SetLocation(LocationT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAttributes() const
const Aws::String & GetOptOut() const
const Aws::String & GetEffectiveDate() const
ChannelType GetChannelType() const
void SetMetrics(MetricsT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, double > & GetMetrics() const
AWS_PINPOINT_API EndpointResponse()=default
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