7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/MetricAttributionOutput.h>
10#include <aws/core/utils/DateTime.h>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
69 inline void SetMetricAttributionArn(
const char* value) { m_metricAttributionArnHasBeenSet =
true; m_metricAttributionArn.assign(value); }
83 inline void SetDatasetGroupArn(
const char* value) { m_datasetGroupArnHasBeenSet =
true; m_datasetGroupArn.assign(value); }
109 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
147 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
155 bool m_nameHasBeenSet =
false;
158 bool m_metricAttributionArnHasBeenSet =
false;
161 bool m_datasetGroupArnHasBeenSet =
false;
164 bool m_metricsOutputConfigHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
170 bool m_creationDateTimeHasBeenSet =
false;
173 bool m_lastUpdatedDateTimeHasBeenSet =
false;
176 bool m_failureReasonHasBeenSet =
false;
MetricAttribution & WithMetricAttributionArn(const Aws::String &value)
void SetMetricAttributionArn(Aws::String &&value)
const Aws::String & GetName() const
const Aws::String & GetFailureReason() const
MetricAttribution & WithMetricsOutputConfig(MetricAttributionOutput &&value)
void SetName(const Aws::String &value)
MetricAttribution & WithStatus(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
MetricAttribution & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetDatasetGroupArn(const char *value)
void SetDatasetGroupArn(const Aws::String &value)
MetricAttribution & WithDatasetGroupArn(Aws::String &&value)
bool StatusHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
MetricAttribution & WithFailureReason(Aws::String &&value)
MetricAttribution & WithMetricAttributionArn(const char *value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
MetricAttribution & WithName(Aws::String &&value)
MetricAttribution & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool FailureReasonHasBeenSet() const
void SetStatus(Aws::String &&value)
void SetMetricsOutputConfig(const MetricAttributionOutput &value)
void SetFailureReason(const Aws::String &value)
AWS_PERSONALIZE_API MetricAttribution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
MetricAttribution & WithFailureReason(const char *value)
AWS_PERSONALIZE_API MetricAttribution()
void SetStatus(const Aws::String &value)
const MetricAttributionOutput & GetMetricsOutputConfig() const
MetricAttribution & WithMetricsOutputConfig(const MetricAttributionOutput &value)
const Aws::String & GetStatus() const
MetricAttribution & WithCreationDateTime(Aws::Utils::DateTime &&value)
MetricAttribution & WithStatus(const char *value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricsOutputConfig(MetricAttributionOutput &&value)
MetricAttribution & WithDatasetGroupArn(const char *value)
MetricAttribution & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
MetricAttribution & WithFailureReason(const Aws::String &value)
void SetMetricAttributionArn(const char *value)
bool CreationDateTimeHasBeenSet() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetDatasetGroupArn(Aws::String &&value)
bool MetricAttributionArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetName(const char *value)
const Aws::String & GetDatasetGroupArn() const
AWS_PERSONALIZE_API MetricAttribution(Aws::Utils::Json::JsonView jsonValue)
void SetFailureReason(const char *value)
void SetFailureReason(Aws::String &&value)
const Aws::String & GetMetricAttributionArn() const
MetricAttribution & WithMetricAttributionArn(Aws::String &&value)
bool NameHasBeenSet() const
MetricAttribution & WithName(const char *value)
MetricAttribution & WithStatus(Aws::String &&value)
MetricAttribution & WithDatasetGroupArn(const Aws::String &value)
MetricAttribution & WithName(const Aws::String &value)
bool MetricsOutputConfigHasBeenSet() const
void SetMetricAttributionArn(const Aws::String &value)
void SetStatus(const char *value)
bool DatasetGroupArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue