/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that represents a named entity.See Also:
AWS
* API Reference
The name of the entity.
*/ inline const Aws::String& GetFieldName() const{ return m_fieldName; } /** *The name of the entity.
*/ inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } /** *The name of the entity.
*/ inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } /** *The name of the entity.
*/ inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } /** *The name of the entity.
*/ inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } /** *The name of the entity.
*/ inline NamedEntityDefinition& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} /** *The name of the entity.
*/ inline NamedEntityDefinition& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} /** *The name of the entity.
*/ inline NamedEntityDefinition& WithFieldName(const char* value) { SetFieldName(value); return *this;} /** *The property name to be used for the named entity.
*/ inline const Aws::String& GetPropertyName() const{ return m_propertyName; } /** *The property name to be used for the named entity.
*/ inline bool PropertyNameHasBeenSet() const { return m_propertyNameHasBeenSet; } /** *The property name to be used for the named entity.
*/ inline void SetPropertyName(const Aws::String& value) { m_propertyNameHasBeenSet = true; m_propertyName = value; } /** *The property name to be used for the named entity.
*/ inline void SetPropertyName(Aws::String&& value) { m_propertyNameHasBeenSet = true; m_propertyName = std::move(value); } /** *The property name to be used for the named entity.
*/ inline void SetPropertyName(const char* value) { m_propertyNameHasBeenSet = true; m_propertyName.assign(value); } /** *The property name to be used for the named entity.
*/ inline NamedEntityDefinition& WithPropertyName(const Aws::String& value) { SetPropertyName(value); return *this;} /** *The property name to be used for the named entity.
*/ inline NamedEntityDefinition& WithPropertyName(Aws::String&& value) { SetPropertyName(std::move(value)); return *this;} /** *The property name to be used for the named entity.
*/ inline NamedEntityDefinition& WithPropertyName(const char* value) { SetPropertyName(value); return *this;} /** *The property role. Valid values for this structure are PRIMARY
* and ID
.
The property role. Valid values for this structure are PRIMARY
* and ID
.
The property role. Valid values for this structure are PRIMARY
* and ID
.
The property role. Valid values for this structure are PRIMARY
* and ID
.
The property role. Valid values for this structure are PRIMARY
* and ID
.
The property role. Valid values for this structure are PRIMARY
* and ID
.
The property usage. Valid values for this structure are INHERIT
,
* DIMENSION
, and MEASURE
.
The property usage. Valid values for this structure are INHERIT
,
* DIMENSION
, and MEASURE
.
The property usage. Valid values for this structure are INHERIT
,
* DIMENSION
, and MEASURE
.
The property usage. Valid values for this structure are INHERIT
,
* DIMENSION
, and MEASURE
.
The property usage. Valid values for this structure are INHERIT
,
* DIMENSION
, and MEASURE
.
The property usage. Valid values for this structure are INHERIT
,
* DIMENSION
, and MEASURE
.
The definition of a metric.
*/ inline const NamedEntityDefinitionMetric& GetMetric() const{ return m_metric; } /** *The definition of a metric.
*/ inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; } /** *The definition of a metric.
*/ inline void SetMetric(const NamedEntityDefinitionMetric& value) { m_metricHasBeenSet = true; m_metric = value; } /** *The definition of a metric.
*/ inline void SetMetric(NamedEntityDefinitionMetric&& value) { m_metricHasBeenSet = true; m_metric = std::move(value); } /** *The definition of a metric.
*/ inline NamedEntityDefinition& WithMetric(const NamedEntityDefinitionMetric& value) { SetMetric(value); return *this;} /** *The definition of a metric.
*/ inline NamedEntityDefinition& WithMetric(NamedEntityDefinitionMetric&& value) { SetMetric(std::move(value)); return *this;} private: Aws::String m_fieldName; bool m_fieldNameHasBeenSet = false; Aws::String m_propertyName; bool m_propertyNameHasBeenSet = false; PropertyRole m_propertyRole; bool m_propertyRoleHasBeenSet = false; PropertyUsage m_propertyUsage; bool m_propertyUsageHasBeenSet = false; NamedEntityDefinitionMetric m_metric; bool m_metricHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws