7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename CampaignArnT = Aws::String>
63 void SetCampaignArn(CampaignArnT&& value) { m_campaignArnHasBeenSet =
true; m_campaignArn = std::forward<CampaignArnT>(value); }
64 template<
typename CampaignArnT = Aws::String>
77 template<
typename StatusT = Aws::String>
78 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
79 template<
typename StatusT = Aws::String>
89 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
90 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
91 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
101 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
102 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
103 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
113 template<
typename FailureReasonT = Aws::String>
114 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
115 template<
typename FailureReasonT = Aws::String>
121 bool m_nameHasBeenSet =
false;
124 bool m_campaignArnHasBeenSet =
false;
127 bool m_statusHasBeenSet =
false;
130 bool m_creationDateTimeHasBeenSet =
false;
133 bool m_lastUpdatedDateTimeHasBeenSet =
false;
136 bool m_failureReasonHasBeenSet =
false;
bool LastUpdatedDateTimeHasBeenSet() const
bool StatusHasBeenSet() const
AWS_PERSONALIZE_API CampaignSummary(Aws::Utils::Json::JsonView jsonValue)
CampaignSummary & WithCampaignArn(CampaignArnT &&value)
const Aws::String & GetFailureReason() const
bool CreationDateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool FailureReasonHasBeenSet() const
void SetStatus(StatusT &&value)
void SetFailureReason(FailureReasonT &&value)
CampaignSummary & WithFailureReason(FailureReasonT &&value)
const Aws::String & GetName() const
void SetCreationDateTime(CreationDateTimeT &&value)
CampaignSummary & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API CampaignSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CampaignSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetCampaignArn(CampaignArnT &&value)
const Aws::String & GetCampaignArn() const
bool CampaignArnHasBeenSet() const
CampaignSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetName(NameT &&value)
CampaignSummary & WithName(NameT &&value)
const Aws::String & GetStatus() const
AWS_PERSONALIZE_API CampaignSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue