7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/personalize/model/MetricAttributionOutput.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/personalize/model/MetricAttribute.h>
89 inline void SetMetricAttributionArn(
const char* value) { m_metricAttributionArnHasBeenSet =
true; m_metricAttributionArn.assign(value); }
97 bool m_addMetricsHasBeenSet =
false;
100 bool m_removeMetricsHasBeenSet =
false;
103 bool m_metricsOutputConfigHasBeenSet =
false;
106 bool m_metricAttributionArnHasBeenSet =
false;
UpdateMetricAttributionRequest & WithMetricsOutputConfig(const MetricAttributionOutput &value)
const Aws::Vector< MetricAttribute > & GetAddMetrics() const
void SetAddMetrics(const Aws::Vector< MetricAttribute > &value)
bool AddMetricsHasBeenSet() const
UpdateMetricAttributionRequest & AddAddMetrics(MetricAttribute &&value)
void SetAddMetrics(Aws::Vector< MetricAttribute > &&value)
UpdateMetricAttributionRequest & AddRemoveMetrics(const Aws::String &value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetRemoveMetrics() const
UpdateMetricAttributionRequest & WithAddMetrics(const Aws::Vector< MetricAttribute > &value)
UpdateMetricAttributionRequest & WithMetricAttributionArn(Aws::String &&value)
bool MetricsOutputConfigHasBeenSet() const
UpdateMetricAttributionRequest & WithAddMetrics(Aws::Vector< MetricAttribute > &&value)
UpdateMetricAttributionRequest & WithMetricAttributionArn(const char *value)
void SetRemoveMetrics(const Aws::Vector< Aws::String > &value)
void SetMetricAttributionArn(const Aws::String &value)
UpdateMetricAttributionRequest & WithMetricsOutputConfig(MetricAttributionOutput &&value)
void SetMetricsOutputConfig(const MetricAttributionOutput &value)
UpdateMetricAttributionRequest & AddRemoveMetrics(const char *value)
void SetRemoveMetrics(Aws::Vector< Aws::String > &&value)
UpdateMetricAttributionRequest & WithMetricAttributionArn(const Aws::String &value)
const MetricAttributionOutput & GetMetricsOutputConfig() const
UpdateMetricAttributionRequest & WithRemoveMetrics(Aws::Vector< Aws::String > &&value)
void SetMetricAttributionArn(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateMetricAttributionRequest & WithRemoveMetrics(const Aws::Vector< Aws::String > &value)
UpdateMetricAttributionRequest & AddAddMetrics(const MetricAttribute &value)
const Aws::String & GetMetricAttributionArn() const
UpdateMetricAttributionRequest & AddRemoveMetrics(Aws::String &&value)
AWS_PERSONALIZE_API UpdateMetricAttributionRequest()
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMetricAttributionArn(Aws::String &&value)
void SetMetricsOutputConfig(MetricAttributionOutput &&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