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>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetCampaignArn(
const char* value) { m_campaignArnHasBeenSet =
true; m_campaignArn.assign(value); }
82 inline void SetSolutionVersionArn(
const char* value) { m_solutionVersionArnHasBeenSet =
true; m_solutionVersionArn.assign(value); }
98 inline void SetMinProvisionedTPS(
int value) { m_minProvisionedTPSHasBeenSet =
true; m_minProvisionedTPS = value; }
125 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
139 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
181 bool m_nameHasBeenSet =
false;
184 bool m_campaignArnHasBeenSet =
false;
187 bool m_solutionVersionArnHasBeenSet =
false;
189 int m_minProvisionedTPS;
190 bool m_minProvisionedTPSHasBeenSet =
false;
193 bool m_campaignConfigHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
199 bool m_failureReasonHasBeenSet =
false;
202 bool m_creationDateTimeHasBeenSet =
false;
205 bool m_lastUpdatedDateTimeHasBeenSet =
false;
208 bool m_latestCampaignUpdateHasBeenSet =
false;
bool NameHasBeenSet() const
void SetSolutionVersionArn(const Aws::String &value)
Campaign & WithFailureReason(Aws::String &&value)
void SetName(Aws::String &&value)
Campaign & WithCampaignArn(const char *value)
bool CreationDateTimeHasBeenSet() const
Campaign & WithSolutionVersionArn(const Aws::String &value)
Campaign & WithCampaignArn(const Aws::String &value)
Campaign & WithFailureReason(const char *value)
const CampaignUpdateSummary & GetLatestCampaignUpdate() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetFailureReason(Aws::String &&value)
void SetCampaignArn(Aws::String &&value)
int GetMinProvisionedTPS() const
Campaign & WithSolutionVersionArn(Aws::String &&value)
void SetLatestCampaignUpdate(CampaignUpdateSummary &&value)
void SetStatus(const Aws::String &value)
bool CampaignConfigHasBeenSet() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Campaign & WithLatestCampaignUpdate(const CampaignUpdateSummary &value)
bool SolutionVersionArnHasBeenSet() const
void SetLatestCampaignUpdate(const CampaignUpdateSummary &value)
void SetCampaignArn(const Aws::String &value)
Campaign & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
bool StatusHasBeenSet() const
Campaign & WithName(Aws::String &&value)
const CampaignConfig & GetCampaignConfig() const
const Aws::String & GetStatus() const
void SetFailureReason(const char *value)
void SetMinProvisionedTPS(int value)
const Aws::String & GetFailureReason() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Campaign & WithStatus(const char *value)
Campaign & WithName(const Aws::String &value)
void SetStatus(Aws::String &&value)
const Aws::String & GetSolutionVersionArn() const
Campaign & WithFailureReason(const Aws::String &value)
Campaign & WithStatus(Aws::String &&value)
Campaign & WithName(const char *value)
void SetCampaignArn(const char *value)
AWS_PERSONALIZE_API Campaign()
Campaign & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
const Aws::String & GetCampaignArn() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
Campaign & WithLatestCampaignUpdate(CampaignUpdateSummary &&value)
bool LatestCampaignUpdateHasBeenSet() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
bool MinProvisionedTPSHasBeenSet() const
Campaign & WithSolutionVersionArn(const char *value)
void SetStatus(const char *value)
Campaign & WithCampaignArn(Aws::String &&value)
void SetName(const Aws::String &value)
void SetFailureReason(const Aws::String &value)
Campaign & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetSolutionVersionArn(const char *value)
bool LastUpdatedDateTimeHasBeenSet() const
Campaign & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetCampaignConfig(CampaignConfig &&value)
Campaign & WithStatus(const Aws::String &value)
AWS_PERSONALIZE_API Campaign(Aws::Utils::Json::JsonView jsonValue)
Campaign & WithCampaignConfig(CampaignConfig &&value)
AWS_PERSONALIZE_API Campaign & operator=(Aws::Utils::Json::JsonView jsonValue)
Campaign & WithCampaignConfig(const CampaignConfig &value)
bool FailureReasonHasBeenSet() const
void SetSolutionVersionArn(Aws::String &&value)
bool CampaignArnHasBeenSet() const
Campaign & WithMinProvisionedTPS(int value)
void SetCampaignConfig(const CampaignConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue