AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegerListConfigurationOptions.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API IntegerListConfigurationOptions();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<int>& GetDefaultValue() const{ return m_defaultValue; }
47 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
48 inline void SetDefaultValue(const Aws::Vector<int>& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
49 inline void SetDefaultValue(Aws::Vector<int>&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
51 inline IntegerListConfigurationOptions& WithDefaultValue(Aws::Vector<int>&& value) { SetDefaultValue(std::move(value)); return *this;}
52 inline IntegerListConfigurationOptions& AddDefaultValue(int value) { m_defaultValueHasBeenSet = true; m_defaultValue.push_back(value); return *this; }
54
56
60 inline int GetMin() const{ return m_min; }
61 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
62 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
63 inline IntegerListConfigurationOptions& WithMin(int value) { SetMin(value); return *this;}
65
67
71 inline int GetMax() const{ return m_max; }
72 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
73 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
74 inline IntegerListConfigurationOptions& WithMax(int value) { SetMax(value); return *this;}
76
78
82 inline int GetMaxItems() const{ return m_maxItems; }
83 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
84 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
85 inline IntegerListConfigurationOptions& WithMaxItems(int value) { SetMaxItems(value); return *this;}
87 private:
88
89 Aws::Vector<int> m_defaultValue;
90 bool m_defaultValueHasBeenSet = false;
91
92 int m_min;
93 bool m_minHasBeenSet = false;
94
95 int m_max;
96 bool m_maxHasBeenSet = false;
97
98 int m_maxItems;
99 bool m_maxItemsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SecurityHub
104} // namespace Aws
IntegerListConfigurationOptions & WithDefaultValue(const Aws::Vector< int > &value)
IntegerListConfigurationOptions & WithDefaultValue(Aws::Vector< int > &&value)
AWS_SECURITYHUB_API IntegerListConfigurationOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API IntegerListConfigurationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue