7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename MetricAttributionArnT = Aws::String>
63 void SetMetricAttributionArn(MetricAttributionArnT&& value) { m_metricAttributionArnHasBeenSet =
true; m_metricAttributionArn = std::forward<MetricAttributionArnT>(value); }
64 template<
typename MetricAttributionArnT = Aws::String>
74 template<
typename StatusT = Aws::String>
75 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
76 template<
typename StatusT = Aws::String>
86 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
87 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
88 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
98 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
99 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
100 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
110 template<
typename FailureReasonT = Aws::String>
111 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
112 template<
typename FailureReasonT = Aws::String>
118 bool m_nameHasBeenSet =
false;
121 bool m_metricAttributionArnHasBeenSet =
false;
124 bool m_statusHasBeenSet =
false;
127 bool m_creationDateTimeHasBeenSet =
false;
130 bool m_lastUpdatedDateTimeHasBeenSet =
false;
133 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