AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationOptions.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/IntegerConfigurationOptions.h>
9#include <aws/securityhub/model/IntegerListConfigurationOptions.h>
10#include <aws/securityhub/model/DoubleConfigurationOptions.h>
11#include <aws/securityhub/model/StringConfigurationOptions.h>
12#include <aws/securityhub/model/StringListConfigurationOptions.h>
13#include <aws/securityhub/model/BooleanConfigurationOptions.h>
14#include <aws/securityhub/model/EnumConfigurationOptions.h>
15#include <aws/securityhub/model/EnumListConfigurationOptions.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SecurityHub
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_SECURITYHUB_API ConfigurationOptions();
43 AWS_SECURITYHUB_API ConfigurationOptions(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const IntegerConfigurationOptions& GetInteger() const{ return m_integer; }
54 inline bool IntegerHasBeenSet() const { return m_integerHasBeenSet; }
55 inline void SetInteger(const IntegerConfigurationOptions& value) { m_integerHasBeenSet = true; m_integer = value; }
56 inline void SetInteger(IntegerConfigurationOptions&& value) { m_integerHasBeenSet = true; m_integer = std::move(value); }
57 inline ConfigurationOptions& WithInteger(const IntegerConfigurationOptions& value) { SetInteger(value); return *this;}
58 inline ConfigurationOptions& WithInteger(IntegerConfigurationOptions&& value) { SetInteger(std::move(value)); return *this;}
60
62
66 inline const IntegerListConfigurationOptions& GetIntegerList() const{ return m_integerList; }
67 inline bool IntegerListHasBeenSet() const { return m_integerListHasBeenSet; }
68 inline void SetIntegerList(const IntegerListConfigurationOptions& value) { m_integerListHasBeenSet = true; m_integerList = value; }
69 inline void SetIntegerList(IntegerListConfigurationOptions&& value) { m_integerListHasBeenSet = true; m_integerList = std::move(value); }
71 inline ConfigurationOptions& WithIntegerList(IntegerListConfigurationOptions&& value) { SetIntegerList(std::move(value)); return *this;}
73
75
79 inline const DoubleConfigurationOptions& GetDouble() const{ return m_double; }
80 inline bool DoubleHasBeenSet() const { return m_doubleHasBeenSet; }
81 inline void SetDouble(const DoubleConfigurationOptions& value) { m_doubleHasBeenSet = true; m_double = value; }
82 inline void SetDouble(DoubleConfigurationOptions&& value) { m_doubleHasBeenSet = true; m_double = std::move(value); }
83 inline ConfigurationOptions& WithDouble(const DoubleConfigurationOptions& value) { SetDouble(value); return *this;}
84 inline ConfigurationOptions& WithDouble(DoubleConfigurationOptions&& value) { SetDouble(std::move(value)); return *this;}
86
88
92 inline const StringConfigurationOptions& GetString() const{ return m_string; }
93 inline bool StringHasBeenSet() const { return m_stringHasBeenSet; }
94 inline void SetString(const StringConfigurationOptions& value) { m_stringHasBeenSet = true; m_string = value; }
95 inline void SetString(StringConfigurationOptions&& value) { m_stringHasBeenSet = true; m_string = std::move(value); }
96 inline ConfigurationOptions& WithString(const StringConfigurationOptions& value) { SetString(value); return *this;}
97 inline ConfigurationOptions& WithString(StringConfigurationOptions&& value) { SetString(std::move(value)); return *this;}
99
101
105 inline const StringListConfigurationOptions& GetStringList() const{ return m_stringList; }
106 inline bool StringListHasBeenSet() const { return m_stringListHasBeenSet; }
107 inline void SetStringList(const StringListConfigurationOptions& value) { m_stringListHasBeenSet = true; m_stringList = value; }
108 inline void SetStringList(StringListConfigurationOptions&& value) { m_stringListHasBeenSet = true; m_stringList = std::move(value); }
110 inline ConfigurationOptions& WithStringList(StringListConfigurationOptions&& value) { SetStringList(std::move(value)); return *this;}
112
114
119 inline const BooleanConfigurationOptions& GetBoolean() const{ return m_boolean; }
120 inline bool BooleanHasBeenSet() const { return m_booleanHasBeenSet; }
121 inline void SetBoolean(const BooleanConfigurationOptions& value) { m_booleanHasBeenSet = true; m_boolean = value; }
122 inline void SetBoolean(BooleanConfigurationOptions&& value) { m_booleanHasBeenSet = true; m_boolean = std::move(value); }
123 inline ConfigurationOptions& WithBoolean(const BooleanConfigurationOptions& value) { SetBoolean(value); return *this;}
124 inline ConfigurationOptions& WithBoolean(BooleanConfigurationOptions&& value) { SetBoolean(std::move(value)); return *this;}
126
128
132 inline const EnumConfigurationOptions& GetEnum() const{ return m_enum; }
133 inline bool EnumHasBeenSet() const { return m_enumHasBeenSet; }
134 inline void SetEnum(const EnumConfigurationOptions& value) { m_enumHasBeenSet = true; m_enum = value; }
135 inline void SetEnum(EnumConfigurationOptions&& value) { m_enumHasBeenSet = true; m_enum = std::move(value); }
136 inline ConfigurationOptions& WithEnum(const EnumConfigurationOptions& value) { SetEnum(value); return *this;}
137 inline ConfigurationOptions& WithEnum(EnumConfigurationOptions&& value) { SetEnum(std::move(value)); return *this;}
139
141
145 inline const EnumListConfigurationOptions& GetEnumList() const{ return m_enumList; }
146 inline bool EnumListHasBeenSet() const { return m_enumListHasBeenSet; }
147 inline void SetEnumList(const EnumListConfigurationOptions& value) { m_enumListHasBeenSet = true; m_enumList = value; }
148 inline void SetEnumList(EnumListConfigurationOptions&& value) { m_enumListHasBeenSet = true; m_enumList = std::move(value); }
149 inline ConfigurationOptions& WithEnumList(const EnumListConfigurationOptions& value) { SetEnumList(value); return *this;}
150 inline ConfigurationOptions& WithEnumList(EnumListConfigurationOptions&& value) { SetEnumList(std::move(value)); return *this;}
152 private:
153
155 bool m_integerHasBeenSet = false;
156
158 bool m_integerListHasBeenSet = false;
159
161 bool m_doubleHasBeenSet = false;
162
164 bool m_stringHasBeenSet = false;
165
167 bool m_stringListHasBeenSet = false;
168
170 bool m_booleanHasBeenSet = false;
171
173 bool m_enumHasBeenSet = false;
174
176 bool m_enumListHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace SecurityHub
181} // namespace Aws
const EnumConfigurationOptions & GetEnum() const
const IntegerConfigurationOptions & GetInteger() const
ConfigurationOptions & WithEnum(const EnumConfigurationOptions &value)
const DoubleConfigurationOptions & GetDouble() const
AWS_SECURITYHUB_API ConfigurationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnum(EnumConfigurationOptions &&value)
void SetDouble(const DoubleConfigurationOptions &value)
void SetInteger(const IntegerConfigurationOptions &value)
void SetEnum(const EnumConfigurationOptions &value)
void SetEnumList(const EnumListConfigurationOptions &value)
ConfigurationOptions & WithEnumList(const EnumListConfigurationOptions &value)
ConfigurationOptions & WithStringList(const StringListConfigurationOptions &value)
void SetIntegerList(const IntegerListConfigurationOptions &value)
void SetStringList(const StringListConfigurationOptions &value)
void SetString(const StringConfigurationOptions &value)
const BooleanConfigurationOptions & GetBoolean() const
ConfigurationOptions & WithIntegerList(IntegerListConfigurationOptions &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDouble(DoubleConfigurationOptions &&value)
ConfigurationOptions & WithString(StringConfigurationOptions &&value)
const StringConfigurationOptions & GetString() const
ConfigurationOptions & WithInteger(const IntegerConfigurationOptions &value)
ConfigurationOptions & WithInteger(IntegerConfigurationOptions &&value)
void SetIntegerList(IntegerListConfigurationOptions &&value)
ConfigurationOptions & WithDouble(const DoubleConfigurationOptions &value)
void SetBoolean(const BooleanConfigurationOptions &value)
ConfigurationOptions & WithStringList(StringListConfigurationOptions &&value)
ConfigurationOptions & WithString(const StringConfigurationOptions &value)
ConfigurationOptions & WithBoolean(const BooleanConfigurationOptions &value)
AWS_SECURITYHUB_API ConfigurationOptions(Aws::Utils::Json::JsonView jsonValue)
ConfigurationOptions & WithEnumList(EnumListConfigurationOptions &&value)
const StringListConfigurationOptions & GetStringList() const
void SetString(StringConfigurationOptions &&value)
const EnumListConfigurationOptions & GetEnumList() const
void SetBoolean(BooleanConfigurationOptions &&value)
void SetInteger(IntegerConfigurationOptions &&value)
ConfigurationOptions & WithIntegerList(const IntegerListConfigurationOptions &value)
void SetEnumList(EnumListConfigurationOptions &&value)
void SetStringList(StringListConfigurationOptions &&value)
ConfigurationOptions & WithBoolean(BooleanConfigurationOptions &&value)
const IntegerListConfigurationOptions & GetIntegerList() const
ConfigurationOptions & WithDouble(DoubleConfigurationOptions &&value)
ConfigurationOptions & WithEnum(EnumConfigurationOptions &&value)
Aws::Utils::Json::JsonValue JsonValue