AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
LimitsPerLabelSetEntry.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace PrometheusService {
17namespace Model {
18
26 public:
27 AWS_PROMETHEUSSERVICE_API LimitsPerLabelSetEntry() = default;
28 AWS_PROMETHEUSSERVICE_API LimitsPerLabelSetEntry(Aws::Utils::Json::JsonView jsonValue);
29 AWS_PROMETHEUSSERVICE_API LimitsPerLabelSetEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
39 inline long long GetMaxSeries() const { return m_maxSeries; }
40 inline bool MaxSeriesHasBeenSet() const { return m_maxSeriesHasBeenSet; }
41 inline void SetMaxSeries(long long value) {
42 m_maxSeriesHasBeenSet = true;
43 m_maxSeries = value;
44 }
45 inline LimitsPerLabelSetEntry& WithMaxSeries(long long value) {
46 SetMaxSeries(value);
47 return *this;
48 }
50 private:
51 long long m_maxSeries{0};
52 bool m_maxSeriesHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace PrometheusService
57} // namespace Aws
AWS_PROMETHEUSSERVICE_API LimitsPerLabelSetEntry()=default
LimitsPerLabelSetEntry & WithMaxSeries(long long value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetMaxSeries() const
AWS_PROMETHEUSSERVICE_API LimitsPerLabelSetEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMaxSeries(long long value)
AWS_PROMETHEUSSERVICE_API LimitsPerLabelSetEntry(Aws::Utils::Json::JsonView jsonValue)
bool MaxSeriesHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue