7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/MetricValue.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CostExplorer {
32 AWS_COSTEXPLORER_API
Group() =
default;
43 template <
typename KeysT = Aws::Vector<Aws::String>>
45 m_keysHasBeenSet =
true;
46 m_keys = std::forward<KeysT>(value);
48 template <
typename KeysT = Aws::Vector<Aws::String>>
50 SetKeys(std::forward<KeysT>(value));
53 template <
typename KeysT = Aws::String>
55 m_keysHasBeenSet =
true;
56 m_keys.emplace_back(std::forward<KeysT>(value));
67 template <
typename MetricsT = Aws::Map<Aws::String, MetricValue>>
69 m_metricsHasBeenSet =
true;
70 m_metrics = std::forward<MetricsT>(value);
72 template <
typename MetricsT = Aws::Map<Aws::String, MetricValue>>
77 template <
typename MetricsKeyT = Aws::String,
typename MetricsValueT = MetricValue>
79 m_metricsHasBeenSet =
true;
80 m_metrics.emplace(std::forward<MetricsKeyT>(key), std::forward<MetricsValueT>(value));
88 bool m_keysHasBeenSet =
false;
89 bool m_metricsHasBeenSet =
false;
Group & WithKeys(KeysT &&value)
void SetMetrics(MetricsT &&value)
bool MetricsHasBeenSet() const
Group & AddMetrics(MetricsKeyT &&key, MetricsValueT &&value)
Group & WithMetrics(MetricsT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeys(KeysT &&value)
AWS_COSTEXPLORER_API Group(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, MetricValue > & GetMetrics() const
AWS_COSTEXPLORER_API Group()=default
AWS_COSTEXPLORER_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetKeys() const
bool KeysHasBeenSet() const
Group & AddKeys(KeysT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue