7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetInteger(
int value) { m_integerHasBeenSet =
true; m_integer = value; }
58 template<
typename IntegerListT = Aws::Vector<
int>>
59 void SetIntegerList(IntegerListT&& value) { m_integerListHasBeenSet =
true; m_integerList = std::forward<IntegerListT>(value); }
60 template<
typename IntegerListT = Aws::Vector<
int>>
69 inline double GetDouble()
const {
return m_double; }
71 inline void SetDouble(
double value) { m_doubleHasBeenSet =
true; m_double = value; }
81 template<
typename StringT = Aws::String>
82 void SetString(StringT&& value) { m_stringHasBeenSet =
true; m_string = std::forward<StringT>(value); }
83 template<
typename StringT = Aws::String>
93 template<
typename StringListT = Aws::Vector<Aws::String>>
94 void SetStringList(StringListT&& value) { m_stringListHasBeenSet =
true; m_stringList = std::forward<StringListT>(value); }
95 template<
typename StringListT = Aws::Vector<Aws::String>>
97 template<
typename StringListT = Aws::String>
98 ParameterValue&
AddStringList(StringListT&& value) { m_stringListHasBeenSet =
true; m_stringList.emplace_back(std::forward<StringListT>(value));
return *
this; }
107 inline void SetBoolean(
bool value) { m_booleanHasBeenSet =
true; m_boolean = value; }
117 template<
typename EnumT = Aws::String>
118 void SetEnum(EnumT&& value) { m_enumHasBeenSet =
true; m_enum = std::forward<EnumT>(value); }
119 template<
typename EnumT = Aws::String>
129 template<
typename EnumListT = Aws::Vector<Aws::String>>
130 void SetEnumList(EnumListT&& value) { m_enumListHasBeenSet =
true; m_enumList = std::forward<EnumListT>(value); }
131 template<
typename EnumListT = Aws::Vector<Aws::String>>
133 template<
typename EnumListT = Aws::String>
134 ParameterValue&
AddEnumList(EnumListT&& value) { m_enumListHasBeenSet =
true; m_enumList.emplace_back(std::forward<EnumListT>(value));
return *
this; }
139 bool m_integerHasBeenSet =
false;
142 bool m_integerListHasBeenSet =
false;
144 double m_double{0.0};
145 bool m_doubleHasBeenSet =
false;
148 bool m_stringHasBeenSet =
false;
151 bool m_stringListHasBeenSet =
false;
153 bool m_boolean{
false};
154 bool m_booleanHasBeenSet =
false;
157 bool m_enumHasBeenSet =
false;
160 bool m_enumListHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetEnumList() const
void SetEnum(EnumT &&value)
ParameterValue & WithBoolean(bool value)
ParameterValue & WithDouble(double value)
AWS_SECURITYHUB_API ParameterValue()=default
ParameterValue & WithString(StringT &&value)
void SetInteger(int value)
bool StringHasBeenSet() const
void SetStringList(StringListT &&value)
void SetIntegerList(IntegerListT &&value)
ParameterValue & AddIntegerList(int value)
const Aws::Vector< Aws::String > & GetStringList() const
const Aws::String & GetString() const
AWS_SECURITYHUB_API ParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterValue & WithIntegerList(IntegerListT &&value)
const Aws::Vector< int > & GetIntegerList() const
ParameterValue & WithInteger(int value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterValue & WithStringList(StringListT &&value)
void SetDouble(double value)
bool IntegerListHasBeenSet() const
const Aws::String & GetEnum() const
void SetEnumList(EnumListT &&value)
bool DoubleHasBeenSet() const
bool StringListHasBeenSet() const
ParameterValue & AddEnumList(EnumListT &&value)
ParameterValue & WithEnum(EnumT &&value)
bool BooleanHasBeenSet() const
bool IntegerHasBeenSet() const
void SetString(StringT &&value)
AWS_SECURITYHUB_API ParameterValue(Aws::Utils::Json::JsonView jsonValue)
bool EnumHasBeenSet() const
void SetBoolean(bool value)
ParameterValue & WithEnumList(EnumListT &&value)
ParameterValue & AddStringList(StringListT &&value)
bool EnumListHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue