7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10#include <aws/personalize/model/CampaignConfig.h>
11#include <aws/personalize/model/CampaignUpdateSummary.h>
22namespace Personalize {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename CampaignArnT = Aws::String>
66 m_campaignArnHasBeenSet =
true;
67 m_campaignArn = std::forward<CampaignArnT>(value);
69 template <
typename CampaignArnT = Aws::String>
82 template <
typename SolutionVersionArnT = Aws::String>
84 m_solutionVersionArnHasBeenSet =
true;
85 m_solutionVersionArn = std::forward<SolutionVersionArnT>(value);
87 template <
typename SolutionVersionArnT = Aws::String>
105 m_minProvisionedTPSHasBeenSet =
true;
106 m_minProvisionedTPS = value;
120 template <
typename CampaignConfigT = CampaignConfig>
122 m_campaignConfigHasBeenSet =
true;
123 m_campaignConfig = std::forward<CampaignConfigT>(value);
125 template <
typename CampaignConfigT = CampaignConfig>
141 template <
typename StatusT = Aws::String>
143 m_statusHasBeenSet =
true;
144 m_status = std::forward<StatusT>(value);
146 template <
typename StatusT = Aws::String>
159 template <
typename FailureReasonT = Aws::String>
161 m_failureReasonHasBeenSet =
true;
162 m_failureReason = std::forward<FailureReasonT>(value);
164 template <
typename FailureReasonT = Aws::String>
177 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
179 m_creationDateTimeHasBeenSet =
true;
180 m_creationDateTime = std::forward<CreationDateTimeT>(value);
182 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
195 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
197 m_lastUpdatedDateTimeHasBeenSet =
true;
198 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
200 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
218 template <
typename LatestCampaignUpdateT = CampaignUpdateSummary>
220 m_latestCampaignUpdateHasBeenSet =
true;
221 m_latestCampaignUpdate = std::forward<LatestCampaignUpdateT>(value);
223 template <
typename LatestCampaignUpdateT = CampaignUpdateSummary>
236 int m_minProvisionedTPS{0};
238 CampaignConfig m_campaignConfig;
248 CampaignUpdateSummary m_latestCampaignUpdate;
249 bool m_nameHasBeenSet =
false;
250 bool m_campaignArnHasBeenSet =
false;
251 bool m_solutionVersionArnHasBeenSet =
false;
252 bool m_minProvisionedTPSHasBeenSet =
false;
253 bool m_campaignConfigHasBeenSet =
false;
254 bool m_statusHasBeenSet =
false;
255 bool m_failureReasonHasBeenSet =
false;
256 bool m_creationDateTimeHasBeenSet =
false;
257 bool m_lastUpdatedDateTimeHasBeenSet =
false;
258 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