7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetCampaignArn(
const char* value) { m_campaignArnHasBeenSet =
true; m_campaignArn.assign(value); }
83 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
121 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
129 bool m_nameHasBeenSet =
false;
132 bool m_campaignArnHasBeenSet =
false;
135 bool m_statusHasBeenSet =
false;
138 bool m_creationDateTimeHasBeenSet =
false;
141 bool m_lastUpdatedDateTimeHasBeenSet =
false;
144 bool m_failureReasonHasBeenSet =
false;
bool LastUpdatedDateTimeHasBeenSet() const
bool StatusHasBeenSet() const
AWS_PERSONALIZE_API CampaignSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCampaignArn(const Aws::String &value)
CampaignSummary & WithFailureReason(const Aws::String &value)
CampaignSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetFailureReason() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
bool CreationDateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetFailureReason(const Aws::String &value)
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool FailureReasonHasBeenSet() const
void SetName(const Aws::String &value)
const Aws::String & GetName() const
CampaignSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
CampaignSummary & WithFailureReason(const char *value)
CampaignSummary & WithStatus(Aws::String &&value)
void SetStatus(Aws::String &&value)
CampaignSummary & WithName(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
AWS_PERSONALIZE_API CampaignSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CampaignSummary & WithCampaignArn(Aws::String &&value)
CampaignSummary & WithName(const Aws::String &value)
CampaignSummary & WithStatus(const Aws::String &value)
CampaignSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
CampaignSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
CampaignSummary & WithFailureReason(Aws::String &&value)
void SetName(Aws::String &&value)
AWS_PERSONALIZE_API CampaignSummary()
void SetName(const char *value)
CampaignSummary & WithName(Aws::String &&value)
void SetFailureReason(Aws::String &&value)
const Aws::String & GetCampaignArn() const
void SetCampaignArn(Aws::String &&value)
void SetCampaignArn(const char *value)
bool CampaignArnHasBeenSet() const
CampaignSummary & WithCampaignArn(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetFailureReason(const char *value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatus() const
void SetStatus(const char *value)
CampaignSummary & WithCampaignArn(const char *value)
void SetStatus(const Aws::String &value)
CampaignSummary & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue