AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NamedEntityDefinitionMetric.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NamedEntityAggType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API NamedEntityDefinitionMetric();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const NamedEntityAggType& GetAggregation() const{ return m_aggregation; }
51 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
52 inline void SetAggregation(const NamedEntityAggType& value) { m_aggregationHasBeenSet = true; m_aggregation = value; }
53 inline void SetAggregation(NamedEntityAggType&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); }
55 inline NamedEntityDefinitionMetric& WithAggregation(NamedEntityAggType&& value) { SetAggregation(std::move(value)); return *this;}
57
59
62 inline const Aws::Map<Aws::String, Aws::String>& GetAggregationFunctionParameters() const{ return m_aggregationFunctionParameters; }
63 inline bool AggregationFunctionParametersHasBeenSet() const { return m_aggregationFunctionParametersHasBeenSet; }
64 inline void SetAggregationFunctionParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters = value; }
65 inline void SetAggregationFunctionParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters = std::move(value); }
68 inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const Aws::String& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; }
69 inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(Aws::String&& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; }
70 inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const Aws::String& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; }
71 inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(Aws::String&& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), std::move(value)); return *this; }
72 inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const char* key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; }
73 inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(Aws::String&& key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; }
74 inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const char* key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; }
76 private:
77
78 NamedEntityAggType m_aggregation;
79 bool m_aggregationHasBeenSet = false;
80
81 Aws::Map<Aws::String, Aws::String> m_aggregationFunctionParameters;
82 bool m_aggregationFunctionParametersHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace QuickSight
87} // namespace Aws
NamedEntityDefinitionMetric & AddAggregationFunctionParameters(const char *key, Aws::String &&value)
NamedEntityDefinitionMetric & AddAggregationFunctionParameters(const char *key, const char *value)
NamedEntityDefinitionMetric & AddAggregationFunctionParameters(Aws::String &&key, const Aws::String &value)
void SetAggregationFunctionParameters(const Aws::Map< Aws::String, Aws::String > &value)
NamedEntityDefinitionMetric & AddAggregationFunctionParameters(const Aws::String &key, const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NamedEntityDefinitionMetric & WithAggregation(const NamedEntityAggType &value)
AWS_QUICKSIGHT_API NamedEntityDefinitionMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API NamedEntityDefinitionMetric(Aws::Utils::Json::JsonView jsonValue)
NamedEntityDefinitionMetric & WithAggregationFunctionParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetAggregationFunctionParameters(Aws::Map< Aws::String, Aws::String > &&value)
NamedEntityDefinitionMetric & AddAggregationFunctionParameters(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAggregationFunctionParameters() const
NamedEntityDefinitionMetric & AddAggregationFunctionParameters(Aws::String &&key, Aws::String &&value)
NamedEntityDefinitionMetric & WithAggregation(NamedEntityAggType &&value)
NamedEntityDefinitionMetric & AddAggregationFunctionParameters(Aws::String &&key, const char *value)
NamedEntityDefinitionMetric & WithAggregationFunctionParameters(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue