7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/CampaignConfig.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/personalize/model/CampaignUpdateSummary.h>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
64 template<
typename CampaignArnT = Aws::String>
65 void SetCampaignArn(CampaignArnT&& value) { m_campaignArnHasBeenSet =
true; m_campaignArn = std::forward<CampaignArnT>(value); }
66 template<
typename CampaignArnT = Aws::String>
76 template<
typename SolutionVersionArnT = Aws::String>
77 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet =
true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
78 template<
typename SolutionVersionArnT = Aws::String>
92 inline void SetMinProvisionedTPS(
int value) { m_minProvisionedTPSHasBeenSet =
true; m_minProvisionedTPS = value; }
102 template<
typename CampaignConfigT = CampaignConfig>
103 void SetCampaignConfig(CampaignConfigT&& value) { m_campaignConfigHasBeenSet =
true; m_campaignConfig = std::forward<CampaignConfigT>(value); }
104 template<
typename CampaignConfigT = CampaignConfig>
117 template<
typename StatusT = Aws::String>
118 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
119 template<
typename StatusT = Aws::String>
129 template<
typename FailureReasonT = Aws::String>
130 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
131 template<
typename FailureReasonT = Aws::String>
141 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
142 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
143 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
153 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
154 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
155 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
163 template<
typename LatestCampaignUpdateT = CampaignUpdateSummary>
164 void SetLatestCampaignUpdate(LatestCampaignUpdateT&& value) { m_latestCampaignUpdateHasBeenSet =
true; m_latestCampaignUpdate = std::forward<LatestCampaignUpdateT>(value); }
165 template<
typename LatestCampaignUpdateT = CampaignUpdateSummary>
171 bool m_nameHasBeenSet =
false;
174 bool m_campaignArnHasBeenSet =
false;
177 bool m_solutionVersionArnHasBeenSet =
false;
179 int m_minProvisionedTPS{0};
180 bool m_minProvisionedTPSHasBeenSet =
false;
182 CampaignConfig m_campaignConfig;
183 bool m_campaignConfigHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_failureReasonHasBeenSet =
false;
192 bool m_creationDateTimeHasBeenSet =
false;
195 bool m_lastUpdatedDateTimeHasBeenSet =
false;
197 CampaignUpdateSummary m_latestCampaignUpdate;
198 bool m_latestCampaignUpdateHasBeenSet =
false;
bool NameHasBeenSet() const
bool CreationDateTimeHasBeenSet() const
const CampaignUpdateSummary & GetLatestCampaignUpdate() const
const Aws::Utils::DateTime & GetCreationDateTime() const
Campaign & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetCampaignArn(CampaignArnT &&value)
void SetLatestCampaignUpdate(LatestCampaignUpdateT &&value)
int GetMinProvisionedTPS() const
void SetStatus(StatusT &&value)
void SetName(NameT &&value)
bool CampaignConfigHasBeenSet() const
bool SolutionVersionArnHasBeenSet() const
Campaign & WithLatestCampaignUpdate(LatestCampaignUpdateT &&value)
bool StatusHasBeenSet() const
const CampaignConfig & GetCampaignConfig() const
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetStatus() const
void SetMinProvisionedTPS(int value)
const Aws::String & GetFailureReason() const
void SetFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetCampaignConfig(CampaignConfigT &&value)
const Aws::String & GetSolutionVersionArn() const
const Aws::String & GetName() const
const Aws::String & GetCampaignArn() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool LatestCampaignUpdateHasBeenSet() const
bool MinProvisionedTPSHasBeenSet() const
Campaign & WithCampaignConfig(CampaignConfigT &&value)
Campaign & WithCreationDateTime(CreationDateTimeT &&value)
Campaign & WithSolutionVersionArn(SolutionVersionArnT &&value)
bool LastUpdatedDateTimeHasBeenSet() const
Campaign & WithStatus(StatusT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Campaign & WithCampaignArn(CampaignArnT &&value)
AWS_PERSONALIZE_API Campaign(Aws::Utils::Json::JsonView jsonValue)
Campaign & WithFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API Campaign & operator=(Aws::Utils::Json::JsonView jsonValue)
Campaign & WithName(NameT &&value)
void SetSolutionVersionArn(SolutionVersionArnT &&value)
bool FailureReasonHasBeenSet() const
AWS_PERSONALIZE_API Campaign()=default
bool CampaignArnHasBeenSet() const
Campaign & WithMinProvisionedTPS(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue