AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InventoryAggregateGroup.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ACM {
20namespace Model {
21
31 public:
32 AWS_ACM_API InventoryAggregateGroup() = default;
36
38
46 inline const Aws::String& GetValue() const { return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 template <typename ValueT = Aws::String>
49 void SetValue(ValueT&& value) {
50 m_valueHasBeenSet = true;
51 m_value = std::forward<ValueT>(value);
52 }
53 template <typename ValueT = Aws::String>
55 SetValue(std::forward<ValueT>(value));
56 return *this;
57 }
59
61
64 inline long long GetCount() const { return m_count; }
65 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
66 inline void SetCount(long long value) {
67 m_countHasBeenSet = true;
68 m_count = value;
69 }
70 inline InventoryAggregateGroup& WithCount(long long value) {
71 SetCount(value);
72 return *this;
73 }
75
77
81 inline int GetMinDays() const { return m_minDays; }
82 inline bool MinDaysHasBeenSet() const { return m_minDaysHasBeenSet; }
83 inline void SetMinDays(int value) {
84 m_minDaysHasBeenSet = true;
85 m_minDays = value;
86 }
88 SetMinDays(value);
89 return *this;
90 }
92
94
100 inline int GetMaxDays() const { return m_maxDays; }
101 inline bool MaxDaysHasBeenSet() const { return m_maxDaysHasBeenSet; }
102 inline void SetMaxDays(int value) {
103 m_maxDaysHasBeenSet = true;
104 m_maxDays = value;
105 }
107 SetMaxDays(value);
108 return *this;
109 }
111 private:
112 Aws::String m_value;
113
114 long long m_count{0};
115
116 int m_minDays{0};
117
118 int m_maxDays{0};
119 bool m_valueHasBeenSet = false;
120 bool m_countHasBeenSet = false;
121 bool m_minDaysHasBeenSet = false;
122 bool m_maxDaysHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace ACM
127} // namespace Aws
AWS_ACM_API InventoryAggregateGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API InventoryAggregateGroup()=default
InventoryAggregateGroup & WithMaxDays(int value)
InventoryAggregateGroup & WithValue(ValueT &&value)
InventoryAggregateGroup & WithCount(long long value)
InventoryAggregateGroup & WithMinDays(int value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACM_API InventoryAggregateGroup(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue