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/MetricAttributionOutput.h>
21namespace Personalize {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename MetricAttributionArnT = Aws::String>
67 m_metricAttributionArnHasBeenSet =
true;
68 m_metricAttributionArn = std::forward<MetricAttributionArnT>(value);
70 template <
typename MetricAttributionArnT = Aws::String>
83 template <
typename DatasetGroupArnT = Aws::String>
85 m_datasetGroupArnHasBeenSet =
true;
86 m_datasetGroupArn = std::forward<DatasetGroupArnT>(value);
88 template <
typename DatasetGroupArnT = Aws::String>
101 template <
typename MetricsOutputConfigT = MetricAttributionOutput>
103 m_metricsOutputConfigHasBeenSet =
true;
104 m_metricsOutputConfig = std::forward<MetricsOutputConfigT>(value);
106 template <
typename MetricsOutputConfigT = MetricAttributionOutput>
119 template <
typename StatusT = Aws::String>
121 m_statusHasBeenSet =
true;
122 m_status = std::forward<StatusT>(value);
124 template <
typename StatusT = Aws::String>
137 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
139 m_creationDateTimeHasBeenSet =
true;
140 m_creationDateTime = std::forward<CreationDateTimeT>(value);
142 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
155 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
157 m_lastUpdatedDateTimeHasBeenSet =
true;
158 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
160 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
173 template <
typename FailureReasonT = Aws::String>
175 m_failureReasonHasBeenSet =
true;
176 m_failureReason = std::forward<FailureReasonT>(value);
178 template <
typename FailureReasonT = Aws::String>
200 bool m_nameHasBeenSet =
false;
201 bool m_metricAttributionArnHasBeenSet =
false;
202 bool m_datasetGroupArnHasBeenSet =
false;
203 bool m_metricsOutputConfigHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
205 bool m_creationDateTimeHasBeenSet =
false;
206 bool m_lastUpdatedDateTimeHasBeenSet =
false;
207 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