7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
20namespace Personalize {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename MetricAttributionArnT = Aws::String>
64 m_metricAttributionArnHasBeenSet =
true;
65 m_metricAttributionArn = std::forward<MetricAttributionArnT>(value);
67 template <
typename MetricAttributionArnT = Aws::String>
80 template <
typename StatusT = Aws::String>
82 m_statusHasBeenSet =
true;
83 m_status = std::forward<StatusT>(value);
85 template <
typename StatusT = Aws::String>
98 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
100 m_creationDateTimeHasBeenSet =
true;
101 m_creationDateTime = std::forward<CreationDateTimeT>(value);
103 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
116 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
118 m_lastUpdatedDateTimeHasBeenSet =
true;
119 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
121 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
134 template <
typename FailureReasonT = Aws::String>
136 m_failureReasonHasBeenSet =
true;
137 m_failureReason = std::forward<FailureReasonT>(value);
139 template <
typename FailureReasonT = Aws::String>
157 bool m_nameHasBeenSet =
false;
158 bool m_metricAttributionArnHasBeenSet =
false;
159 bool m_statusHasBeenSet =
false;
160 bool m_creationDateTimeHasBeenSet =
false;
161 bool m_lastUpdatedDateTimeHasBeenSet =
false;
162 bool m_failureReasonHasBeenSet =
false;
AWS_PERSONALIZE_API MetricAttributionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool MetricAttributionArnHasBeenSet() const
MetricAttributionSummary & WithFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetStatus() const
bool FailureReasonHasBeenSet() const
MetricAttributionSummary & WithName(NameT &&value)
MetricAttributionSummary & WithMetricAttributionArn(MetricAttributionArnT &&value)
const Aws::String & GetFailureReason() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
MetricAttributionSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
MetricAttributionSummary & WithCreationDateTime(CreationDateTimeT &&value)
bool NameHasBeenSet() const
void SetMetricAttributionArn(MetricAttributionArnT &&value)
MetricAttributionSummary & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
bool LastUpdatedDateTimeHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetMetricAttributionArn() const
bool CreationDateTimeHasBeenSet() const
AWS_PERSONALIZE_API MetricAttributionSummary()=default
AWS_PERSONALIZE_API MetricAttributionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue