7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/amp/model/LimitsPerLabelSetEntry.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace PrometheusService
58 template<
typename LabelSetT = Aws::Map<Aws::String, Aws::String>>
59 void SetLabelSet(LabelSetT&& value) { m_labelSetHasBeenSet =
true; m_labelSet = std::forward<LabelSetT>(value); }
60 template<
typename LabelSetT = Aws::Map<Aws::String, Aws::String>>
62 template<
typename LabelSetKeyT = Aws::String,
typename LabelSetValueT = Aws::String>
64 m_labelSetHasBeenSet =
true; m_labelSet.emplace(std::forward<LabelSetKeyT>(key), std::forward<LabelSetValueT>(value));
return *
this;
75 template<
typename LimitsT = LimitsPerLabelSetEntry>
76 void SetLimits(LimitsT&& value) { m_limitsHasBeenSet =
true; m_limits = std::forward<LimitsT>(value); }
77 template<
typename LimitsT = LimitsPerLabelSetEntry>
83 bool m_labelSetHasBeenSet =
false;
86 bool m_limitsHasBeenSet =
false;
void SetLabelSet(LabelSetT &&value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetLabelSet() const
AWS_PROMETHEUSSERVICE_API LimitsPerLabelSet()=default
LimitsPerLabelSet & AddLabelSet(LabelSetKeyT &&key, LabelSetValueT &&value)
AWS_PROMETHEUSSERVICE_API LimitsPerLabelSet & operator=(Aws::Utils::Json::JsonView jsonValue)
LimitsPerLabelSet & WithLabelSet(LabelSetT &&value)
AWS_PROMETHEUSSERVICE_API LimitsPerLabelSet(Aws::Utils::Json::JsonView jsonValue)
const LimitsPerLabelSetEntry & GetLimits() const
bool LabelSetHasBeenSet() const
LimitsPerLabelSet & WithLimits(LimitsT &&value)
void SetLimits(LimitsT &&value)
bool LimitsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue