7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/SubscriptionEvent.h>
11#include <aws/customer-profiles/model/SubscriptionEventType.h>
22namespace CustomerProfiles {
43 template <
typename ProfileIdT = Aws::String>
45 m_profileIdHasBeenSet =
true;
46 m_profileId = std::forward<ProfileIdT>(value);
48 template <
typename ProfileIdT = Aws::String>
61 template <
typename UpdatedAtT = Aws::Utils::DateTime>
63 m_updatedAtHasBeenSet =
true;
64 m_updatedAt = std::forward<UpdatedAtT>(value);
66 template <
typename UpdatedAtT = Aws::Utils::DateTime>
84 m_eventTypeHasBeenSet =
true;
102 m_eventHasBeenSet =
true;
118 bool m_profileIdHasBeenSet =
false;
119 bool m_updatedAtHasBeenSet =
false;
120 bool m_eventTypeHasBeenSet =
false;
121 bool m_eventHasBeenSet =
false;
SubscriptionEventItem & WithEventType(SubscriptionEventType value)
void SetUpdatedAt(UpdatedAtT &&value)
bool ProfileIdHasBeenSet() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventTypeHasBeenSet() const
SubscriptionEventType GetEventType() const
SubscriptionEventItem & WithProfileId(ProfileIdT &&value)
const Aws::String & GetProfileId() const
AWS_CUSTOMERPROFILES_API SubscriptionEventItem()=default
SubscriptionEvent GetEvent() const
bool EventHasBeenSet() const
SubscriptionEventItem & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
SubscriptionEventItem & WithEvent(SubscriptionEvent value)
void SetProfileId(ProfileIdT &&value)
bool UpdatedAtHasBeenSet() const
void SetEventType(SubscriptionEventType value)
void SetEvent(SubscriptionEvent value)
AWS_CUSTOMERPROFILES_API SubscriptionEventItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API SubscriptionEventItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue