7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ce/model/MetricValue.h>
55 inline Group&
AddKeys(
const char* value) { m_keysHasBeenSet =
true; m_keys.push_back(value);
return *
this; }
72 inline Group&
AddMetrics(
const char* key,
MetricValue&& value) { m_metricsHasBeenSet =
true; m_metrics.emplace(key, std::move(value));
return *
this; }
73 inline Group&
AddMetrics(
const char* key,
const MetricValue& value) { m_metricsHasBeenSet =
true; m_metrics.emplace(key, value);
return *
this; }
78 bool m_keysHasBeenSet =
false;
81 bool m_metricsHasBeenSet =
false;
Group & AddMetrics(Aws::String &&key, const MetricValue &value)
Group & AddMetrics(const Aws::String &key, MetricValue &&value)
void SetKeys(const Aws::Vector< Aws::String > &value)
Group & WithMetrics(Aws::Map< Aws::String, MetricValue > &&value)
Group & AddMetrics(Aws::String &&key, MetricValue &&value)
Group & AddMetrics(const char *key, MetricValue &&value)
void SetMetrics(Aws::Map< Aws::String, MetricValue > &&value)
Group & AddKeys(Aws::String &&value)
AWS_COSTEXPLORER_API Group()
Group & AddMetrics(const char *key, const MetricValue &value)
bool MetricsHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetrics(const Aws::Map< Aws::String, MetricValue > &value)
AWS_COSTEXPLORER_API Group(Aws::Utils::Json::JsonView jsonValue)
Group & WithMetrics(const Aws::Map< Aws::String, MetricValue > &value)
void SetKeys(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, MetricValue > & GetMetrics() const
Group & AddKeys(const Aws::String &value)
AWS_COSTEXPLORER_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetKeys() const
bool KeysHasBeenSet() const
Group & WithKeys(Aws::Vector< Aws::String > &&value)
Group & AddMetrics(const Aws::String &key, const MetricValue &value)
Group & WithKeys(const Aws::Vector< Aws::String > &value)
Group & AddKeys(const char *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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue