7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/personalize/PersonalizeRequest.h>
10#include <aws/personalize/Personalize_EXPORTS.h>
11#include <aws/personalize/model/MetricAttribute.h>
12#include <aws/personalize/model/MetricAttributionOutput.h>
17namespace Personalize {
42 template <
typename AddMetricsT = Aws::Vector<MetricAttribute>>
44 m_addMetricsHasBeenSet =
true;
45 m_addMetrics = std::forward<AddMetricsT>(value);
47 template <
typename AddMetricsT = Aws::Vector<MetricAttribute>>
52 template <
typename AddMetricsT = MetricAttribute>
54 m_addMetricsHasBeenSet =
true;
55 m_addMetrics.emplace_back(std::forward<AddMetricsT>(value));
66 template <
typename RemoveMetricsT = Aws::Vector<Aws::String>>
68 m_removeMetricsHasBeenSet =
true;
69 m_removeMetrics = std::forward<RemoveMetricsT>(value);
71 template <
typename RemoveMetricsT = Aws::Vector<Aws::String>>
76 template <
typename RemoveMetricsT = Aws::String>
78 m_removeMetricsHasBeenSet =
true;
79 m_removeMetrics.emplace_back(std::forward<RemoveMetricsT>(value));
90 template <
typename MetricsOutputConfigT = MetricAttributionOutput>
92 m_metricsOutputConfigHasBeenSet =
true;
93 m_metricsOutputConfig = std::forward<MetricsOutputConfigT>(value);
95 template <
typename MetricsOutputConfigT = MetricAttributionOutput>
108 template <
typename MetricAttributionArnT = Aws::String>
110 m_metricAttributionArnHasBeenSet =
true;
111 m_metricAttributionArn = std::forward<MetricAttributionArnT>(value);
113 template <
typename MetricAttributionArnT = Aws::String>
127 bool m_addMetricsHasBeenSet =
false;
128 bool m_removeMetricsHasBeenSet =
false;
129 bool m_metricsOutputConfigHasBeenSet =
false;
130 bool m_metricAttributionArnHasBeenSet =
false;
const Aws::Vector< MetricAttribute > & GetAddMetrics() const
bool AddMetricsHasBeenSet() const
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetRemoveMetrics() const
bool MetricsOutputConfigHasBeenSet() const
UpdateMetricAttributionRequest & WithAddMetrics(AddMetricsT &&value)
UpdateMetricAttributionRequest & WithRemoveMetrics(RemoveMetricsT &&value)
void SetAddMetrics(AddMetricsT &&value)
AWS_PERSONALIZE_API UpdateMetricAttributionRequest()=default
UpdateMetricAttributionRequest & AddAddMetrics(AddMetricsT &&value)
const MetricAttributionOutput & GetMetricsOutputConfig() const
void SetMetricAttributionArn(MetricAttributionArnT &&value)
UpdateMetricAttributionRequest & WithMetricsOutputConfig(MetricsOutputConfigT &&value)
void SetMetricsOutputConfig(MetricsOutputConfigT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetMetricAttributionArn() const
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMetricAttributionRequest & AddRemoveMetrics(RemoveMetricsT &&value)
UpdateMetricAttributionRequest & WithMetricAttributionArn(MetricAttributionArnT &&value)
void SetRemoveMetrics(RemoveMetricsT &&value)
bool MetricAttributionArnHasBeenSet() const
bool RemoveMetricsHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector