7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename ValuesT = Aws::Vector<Aws::String>>
63 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
64 template<
typename ValuesT = Aws::Vector<Aws::String>>
66 template<
typename ValuesT = Aws::String>
67 KeyValuesPair&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
72 bool m_nameHasBeenSet =
false;
75 bool m_valuesHasBeenSet =
false;
bool NameHasBeenSet() const
KeyValuesPair & AddValues(ValuesT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
KeyValuesPair & WithValues(ValuesT &&value)
void SetValues(ValuesT &&value)
AWS_BATCH_API KeyValuesPair()=default
AWS_BATCH_API KeyValuesPair(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
AWS_BATCH_API KeyValuesPair & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const Aws::String & GetName() const
KeyValuesPair & WithName(NameT &&value)
bool ValuesHasBeenSet() 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