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>
61 inline void SetAddress(
const char* value) { m_addressHasBeenSet =
true; m_address.assign(value); }
76 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
127 inline void SetCohortId(
const char* value) { m_cohortIdHasBeenSet =
true; m_cohortId.assign(value); }
141 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
169 inline void SetEffectiveDate(
const char* value) { m_effectiveDateHasBeenSet =
true; m_effectiveDate.assign(value); }
188 inline void SetEndpointStatus(
const char* value) { m_endpointStatusHasBeenSet =
true; m_endpointStatus.assign(value); }
204 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
235 inline EndpointResponse&
AddMetrics(
const char* key,
double value) { m_metricsHasBeenSet =
true; m_metrics.emplace(key, value);
return *
this; }
250 inline void SetOptOut(
const char* value) { m_optOutHasBeenSet =
true; m_optOut.assign(value); }
264 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
285 bool m_addressHasBeenSet =
false;
288 bool m_applicationIdHasBeenSet =
false;
291 bool m_attributesHasBeenSet =
false;
294 bool m_channelTypeHasBeenSet =
false;
297 bool m_cohortIdHasBeenSet =
false;
300 bool m_creationDateHasBeenSet =
false;
303 bool m_demographicHasBeenSet =
false;
306 bool m_effectiveDateHasBeenSet =
false;
309 bool m_endpointStatusHasBeenSet =
false;
312 bool m_idHasBeenSet =
false;
315 bool m_locationHasBeenSet =
false;
318 bool m_metricsHasBeenSet =
false;
321 bool m_optOutHasBeenSet =
false;
324 bool m_requestIdHasBeenSet =
false;
327 bool m_userHasBeenSet =
false;
EndpointResponse & AddAttributes(Aws::String &&key, Aws::Vector< Aws::String > &&value)
EndpointResponse & WithCohortId(const char *value)
EndpointResponse & WithLocation(EndpointLocation &&value)
EndpointResponse & AddAttributes(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const EndpointDemographic & GetDemographic() const
const Aws::String & GetRequestId() const
void SetLocation(const EndpointLocation &value)
void SetCohortId(Aws::String &&value)
const EndpointUser & GetUser() const
EndpointResponse & WithAddress(const Aws::String &value)
EndpointResponse & WithApplicationId(const Aws::String &value)
void SetCreationDate(Aws::String &&value)
bool AddressHasBeenSet() const
void SetCohortId(const char *value)
const Aws::String & GetCohortId() const
bool EffectiveDateHasBeenSet() const
EndpointResponse & WithOptOut(const Aws::String &value)
void SetOptOut(const char *value)
EndpointResponse & WithRequestId(const char *value)
EndpointResponse & WithCreationDate(Aws::String &&value)
EndpointResponse & WithCohortId(Aws::String &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::String & GetCreationDate() const
void SetCohortId(const Aws::String &value)
bool LocationHasBeenSet() const
bool CreationDateHasBeenSet() const
const Aws::String & GetId() const
const Aws::String & GetEndpointStatus() const
void SetUser(const EndpointUser &value)
void SetApplicationId(const Aws::String &value)
EndpointResponse & WithId(const Aws::String &value)
void SetMetrics(Aws::Map< Aws::String, double > &&value)
void SetOptOut(Aws::String &&value)
EndpointResponse & WithId(const char *value)
void SetLocation(EndpointLocation &&value)
bool UserHasBeenSet() const
EndpointResponse & WithUser(EndpointUser &&value)
EndpointResponse & WithMetrics(const Aws::Map< Aws::String, double > &value)
EndpointResponse & WithEndpointStatus(const char *value)
EndpointResponse & WithDemographic(EndpointDemographic &&value)
void SetChannelType(ChannelType &&value)
void SetAddress(const Aws::String &value)
void SetMetrics(const Aws::Map< Aws::String, double > &value)
EndpointResponse & WithAddress(const char *value)
void SetAddress(const char *value)
EndpointResponse & WithAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetCreationDate(const char *value)
bool OptOutHasBeenSet() const
void SetAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
EndpointResponse & AddAttributes(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetEndpointStatus(const Aws::String &value)
void SetApplicationId(Aws::String &&value)
void SetOptOut(const Aws::String &value)
AWS_PINPOINT_API EndpointResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointResponse & WithUser(const EndpointUser &value)
EndpointResponse & WithDemographic(const EndpointDemographic &value)
EndpointResponse & WithOptOut(const char *value)
bool CohortIdHasBeenSet() const
void SetRequestId(const char *value)
EndpointResponse & AddAttributes(const char *key, const Aws::Vector< Aws::String > &value)
EndpointResponse & WithChannelType(const ChannelType &value)
void SetEffectiveDate(const Aws::String &value)
EndpointResponse & WithLocation(const EndpointLocation &value)
void SetEffectiveDate(const char *value)
EndpointResponse & AddAttributes(const char *key, Aws::Vector< Aws::String > &&value)
EndpointResponse & WithCreationDate(const Aws::String &value)
EndpointResponse & AddMetrics(Aws::String &&key, double value)
EndpointResponse & WithEffectiveDate(Aws::String &&value)
EndpointResponse & WithCohortId(const Aws::String &value)
void SetAddress(Aws::String &&value)
EndpointResponse & AddAttributes(const Aws::String &key, Aws::Vector< Aws::String > &&value)
EndpointResponse & WithAddress(Aws::String &&value)
void SetId(const char *value)
EndpointResponse & WithId(Aws::String &&value)
EndpointResponse & AddMetrics(const Aws::String &key, double value)
bool ApplicationIdHasBeenSet() const
bool DemographicHasBeenSet() const
bool AttributesHasBeenSet() const
void SetId(const Aws::String &value)
bool RequestIdHasBeenSet() const
EndpointResponse & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetDemographic(EndpointDemographic &&value)
void SetChannelType(const ChannelType &value)
bool ChannelTypeHasBeenSet() const
const Aws::String & GetApplicationId() const
bool IdHasBeenSet() const
EndpointResponse & WithMetrics(Aws::Map< Aws::String, double > &&value)
void SetUser(EndpointUser &&value)
void SetEndpointStatus(Aws::String &&value)
EndpointResponse & WithRequestId(const Aws::String &value)
EndpointResponse & WithEndpointStatus(Aws::String &&value)
const Aws::String & GetAddress() const
EndpointResponse & AddMetrics(const char *key, double value)
EndpointResponse & WithEndpointStatus(const Aws::String &value)
EndpointResponse & WithChannelType(ChannelType &&value)
bool EndpointStatusHasBeenSet() const
void SetRequestId(Aws::String &&value)
bool MetricsHasBeenSet() const
const EndpointLocation & GetLocation() const
EndpointResponse & WithCreationDate(const char *value)
AWS_PINPOINT_API EndpointResponse()
void SetDemographic(const EndpointDemographic &value)
AWS_PINPOINT_API EndpointResponse(Aws::Utils::Json::JsonView jsonValue)
EndpointResponse & WithApplicationId(const char *value)
EndpointResponse & WithEffectiveDate(const char *value)
void SetCreationDate(const Aws::String &value)
void SetId(Aws::String &&value)
void SetApplicationId(const char *value)
EndpointResponse & WithAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAttributes() const
const Aws::String & GetOptOut() const
const Aws::String & GetEffectiveDate() const
void SetEffectiveDate(Aws::String &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointResponse & WithOptOut(Aws::String &&value)
EndpointResponse & WithApplicationId(Aws::String &&value)
const Aws::Map< Aws::String, double > & GetMetrics() const
EndpointResponse & WithEffectiveDate(const Aws::String &value)
const ChannelType & GetChannelType() const
void SetEndpointStatus(const char *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