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>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename MetricAttributionArnT = Aws::String>
66 void SetMetricAttributionArn(MetricAttributionArnT&& value) { m_metricAttributionArnHasBeenSet =
true; m_metricAttributionArn = std::forward<MetricAttributionArnT>(value); }
67 template<
typename MetricAttributionArnT = Aws::String>
77 template<
typename DatasetGroupArnT = Aws::String>
78 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet =
true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
79 template<
typename DatasetGroupArnT = Aws::String>
89 template<
typename MetricsOutputConfigT = MetricAttributionOutput>
90 void SetMetricsOutputConfig(MetricsOutputConfigT&& value) { m_metricsOutputConfigHasBeenSet =
true; m_metricsOutputConfig = std::forward<MetricsOutputConfigT>(value); }
91 template<
typename MetricsOutputConfigT = MetricAttributionOutput>
101 template<
typename StatusT = Aws::String>
102 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
103 template<
typename StatusT = Aws::String>
113 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
114 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
115 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
125 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
126 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
127 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
137 template<
typename FailureReasonT = Aws::String>
138 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
139 template<
typename FailureReasonT = Aws::String>
145 bool m_nameHasBeenSet =
false;
148 bool m_metricAttributionArnHasBeenSet =
false;
151 bool m_datasetGroupArnHasBeenSet =
false;
154 bool m_metricsOutputConfigHasBeenSet =
false;
157 bool m_statusHasBeenSet =
false;
160 bool m_creationDateTimeHasBeenSet =
false;
163 bool m_lastUpdatedDateTimeHasBeenSet =
false;
166 bool m_failureReasonHasBeenSet =
false;
const Aws::String & GetName() const
const Aws::String & GetFailureReason() const
void SetDatasetGroupArn(DatasetGroupArnT &&value)
bool StatusHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool FailureReasonHasBeenSet() const
MetricAttribution & WithCreationDateTime(CreationDateTimeT &&value)
MetricAttribution & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API MetricAttribution & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricAttribution & WithName(NameT &&value)
const MetricAttributionOutput & GetMetricsOutputConfig() const
const Aws::String & GetStatus() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
MetricAttribution & WithFailureReason(FailureReasonT &&value)
void SetName(NameT &&value)
MetricAttribution & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool CreationDateTimeHasBeenSet() const
AWS_PERSONALIZE_API MetricAttribution()=default
MetricAttribution & WithMetricsOutputConfig(MetricsOutputConfigT &&value)
MetricAttribution & WithMetricAttributionArn(MetricAttributionArnT &&value)
bool MetricAttributionArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetDatasetGroupArn() const
void SetFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API MetricAttribution(Aws::Utils::Json::JsonView jsonValue)
MetricAttribution & WithDatasetGroupArn(DatasetGroupArnT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetMetricAttributionArn() const
void SetMetricAttributionArn(MetricAttributionArnT &&value)
bool NameHasBeenSet() const
void SetMetricsOutputConfig(MetricsOutputConfigT &&value)
bool MetricsOutputConfigHasBeenSet() const
bool DatasetGroupArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue