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 SetMetricAttributionArn(
const char* value) { m_metricAttributionArnHasBeenSet =
true; m_metricAttributionArn.assign(value); }
80 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
118 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
126 bool m_nameHasBeenSet =
false;
129 bool m_metricAttributionArnHasBeenSet =
false;
132 bool m_statusHasBeenSet =
false;
135 bool m_creationDateTimeHasBeenSet =
false;
138 bool m_lastUpdatedDateTimeHasBeenSet =
false;
141 bool m_failureReasonHasBeenSet =
false;
AWS_PERSONALIZE_API MetricAttributionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureReason(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool MetricAttributionArnHasBeenSet() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
MetricAttributionSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
MetricAttributionSummary & WithFailureReason(const Aws::String &value)
MetricAttributionSummary & WithName(const Aws::String &value)
MetricAttributionSummary & WithStatus(const char *value)
MetricAttributionSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatus() const
bool FailureReasonHasBeenSet() const
void SetMetricAttributionArn(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetMetricAttributionArn(const Aws::String &value)
MetricAttributionSummary & WithStatus(Aws::String &&value)
void SetStatus(Aws::String &&value)
MetricAttributionSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetFailureReason() const
MetricAttributionSummary & WithMetricAttributionArn(const char *value)
MetricAttributionSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetStatus(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
MetricAttributionSummary & WithFailureReason(Aws::String &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
MetricAttributionSummary & WithName(const char *value)
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetStatus(const Aws::String &value)
AWS_PERSONALIZE_API MetricAttributionSummary()
MetricAttributionSummary & WithName(Aws::String &&value)
bool LastUpdatedDateTimeHasBeenSet() const
bool StatusHasBeenSet() const
void SetFailureReason(const char *value)
const Aws::String & GetMetricAttributionArn() const
void SetMetricAttributionArn(const char *value)
void SetName(const char *value)
bool CreationDateTimeHasBeenSet() const
AWS_PERSONALIZE_API MetricAttributionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
MetricAttributionSummary & WithMetricAttributionArn(Aws::String &&value)
MetricAttributionSummary & WithStatus(const Aws::String &value)
void SetFailureReason(const Aws::String &value)
MetricAttributionSummary & WithMetricAttributionArn(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
MetricAttributionSummary & WithFailureReason(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue