7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/personalize/model/MetricAttributionOutput.h>
12#include <aws/personalize/model/MetricAttribute.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetDatasetGroupArn(
const char* value) { m_datasetGroupArnHasBeenSet =
true; m_datasetGroupArn.assign(value); }
101 bool m_nameHasBeenSet =
false;
104 bool m_datasetGroupArnHasBeenSet =
false;
107 bool m_metricsHasBeenSet =
false;
110 bool m_metricsOutputConfigHasBeenSet =
false;
CreateMetricAttributionRequest & WithName(Aws::String &&value)
CreateMetricAttributionRequest & WithMetricsOutputConfig(MetricAttributionOutput &&value)
virtual const char * GetServiceRequestName() const override
CreateMetricAttributionRequest & AddMetrics(MetricAttribute &&value)
CreateMetricAttributionRequest & WithMetrics(Aws::Vector< MetricAttribute > &&value)
const Aws::String & GetDatasetGroupArn() const
CreateMetricAttributionRequest & WithMetrics(const Aws::Vector< MetricAttribute > &value)
void SetName(Aws::String &&value)
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
bool MetricsHasBeenSet() const
void SetMetrics(Aws::Vector< MetricAttribute > &&value)
AWS_PERSONALIZE_API CreateMetricAttributionRequest()
void SetMetricsOutputConfig(MetricAttributionOutput &&value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
CreateMetricAttributionRequest & WithName(const Aws::String &value)
const Aws::String & GetName() const
CreateMetricAttributionRequest & WithDatasetGroupArn(const char *value)
CreateMetricAttributionRequest & WithDatasetGroupArn(const Aws::String &value)
CreateMetricAttributionRequest & WithName(const char *value)
bool DatasetGroupArnHasBeenSet() const
void SetDatasetGroupArn(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMetricsOutputConfig(const MetricAttributionOutput &value)
CreateMetricAttributionRequest & WithMetricsOutputConfig(const MetricAttributionOutput &value)
bool MetricsOutputConfigHasBeenSet() const
void SetDatasetGroupArn(Aws::String &&value)
CreateMetricAttributionRequest & WithDatasetGroupArn(Aws::String &&value)
void SetName(const char *value)
const MetricAttributionOutput & GetMetricsOutputConfig() const
void SetMetrics(const Aws::Vector< MetricAttribute > &value)
const Aws::Vector< MetricAttribute > & GetMetrics() const
CreateMetricAttributionRequest & AddMetrics(const MetricAttribute &value)
void SetDatasetGroupArn(const char *value)
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