7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/NamedEntityDefinitionMetric.h>
10#include <aws/quicksight/model/PropertyRole.h>
11#include <aws/quicksight/model/PropertyUsage.h>
43 template <
typename FieldNameT = Aws::String>
45 m_fieldNameHasBeenSet =
true;
46 m_fieldName = std::forward<FieldNameT>(value);
48 template <
typename FieldNameT = Aws::String>
61 template <
typename PropertyNameT = Aws::String>
63 m_propertyNameHasBeenSet =
true;
64 m_propertyName = std::forward<PropertyNameT>(value);
66 template <
typename PropertyNameT = Aws::String>
81 m_propertyRoleHasBeenSet =
true;
82 m_propertyRole = value;
98 m_propertyUsageHasBeenSet =
true;
99 m_propertyUsage = value;
113 template <
typename MetricT = NamedEntityDefinitionMetric>
115 m_metricHasBeenSet =
true;
116 m_metric = std::forward<MetricT>(value);
118 template <
typename MetricT = NamedEntityDefinitionMetric>
132 m_rankOrderHasBeenSet =
true;
148 m_presentationOrderHasBeenSet =
true;
149 m_presentationOrder = value;
165 m_isHiddenHasBeenSet =
true;
182 NamedEntityDefinitionMetric m_metric;
186 int m_presentationOrder{0};
188 bool m_isHidden{
false};
189 bool m_fieldNameHasBeenSet =
false;
190 bool m_propertyNameHasBeenSet =
false;
191 bool m_propertyRoleHasBeenSet =
false;
192 bool m_propertyUsageHasBeenSet =
false;
193 bool m_metricHasBeenSet =
false;
194 bool m_rankOrderHasBeenSet =
false;
195 bool m_presentationOrderHasBeenSet =
false;
196 bool m_isHiddenHasBeenSet =
false;
AWS_QUICKSIGHT_API NamedEntityDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetRankOrder(int value)
AWS_QUICKSIGHT_API NamedEntityDefinition()=default
bool RankOrderHasBeenSet() const
NamedEntityDefinition & WithRankOrder(int value)
NamedEntityDefinition & WithIsHidden(bool value)
void SetFieldName(FieldNameT &&value)
void SetMetric(MetricT &&value)
void SetPresentationOrder(int value)
int GetPresentationOrder() const
void SetPropertyUsage(PropertyUsage value)
void SetIsHidden(bool value)
AWS_QUICKSIGHT_API NamedEntityDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFieldName() const
NamedEntityDefinition & WithMetric(MetricT &&value)
PropertyRole GetPropertyRole() const
bool PropertyNameHasBeenSet() const
bool PropertyRoleHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NamedEntityDefinition & WithPropertyRole(PropertyRole value)
NamedEntityDefinition & WithPropertyName(PropertyNameT &&value)
NamedEntityDefinition & WithFieldName(FieldNameT &&value)
NamedEntityDefinition & WithPropertyUsage(PropertyUsage value)
void SetPropertyName(PropertyNameT &&value)
bool PropertyUsageHasBeenSet() const
PropertyUsage GetPropertyUsage() const
bool IsHiddenHasBeenSet() const
const NamedEntityDefinitionMetric & GetMetric() const
bool FieldNameHasBeenSet() const
NamedEntityDefinition & WithPresentationOrder(int value)
const Aws::String & GetPropertyName() const
void SetPropertyRole(PropertyRole value)
bool PresentationOrderHasBeenSet() const
bool MetricHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue