7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename KeyT = Aws::String>
51 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
52 template<
typename KeyT = Aws::String>
64 template<
typename ValuesT = Aws::Vector<Aws::String>>
65 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
66 template<
typename ValuesT = Aws::Vector<Aws::String>>
68 template<
typename ValuesT = Aws::String>
69 ParameterMapEntry&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
74 bool m_keyHasBeenSet =
false;
77 bool m_valuesHasBeenSet =
false;
const Aws::String & GetKey() const
bool ValuesHasBeenSet() const
AWS_MTURK_API ParameterMapEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MTURK_API ParameterMapEntry()=default
ParameterMapEntry & WithValues(ValuesT &&value)
bool KeyHasBeenSet() const
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetValues() const
void SetKey(KeyT &&value)
AWS_MTURK_API ParameterMapEntry(Aws::Utils::Json::JsonView jsonValue)
ParameterMapEntry & WithKey(KeyT &&value)
ParameterMapEntry & AddValues(ValuesT &&value)
void SetValues(ValuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue