7#include <aws/elastic-inference/ElasticInference_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticInference
50 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
51 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
63 inline void SetValue(
int value) { m_valueHasBeenSet =
true; m_value = value; }
69 bool m_keyHasBeenSet =
false;
72 bool m_valueHasBeenSet =
false;
KeyValuePair & WithValue(int value)
void SetKey(Aws::String &&value)
KeyValuePair & WithKey(Aws::String &&value)
void SetKey(const char *value)
KeyValuePair & WithKey(const Aws::String &value)
bool KeyHasBeenSet() const
KeyValuePair & WithKey(const char *value)
bool ValueHasBeenSet() const
void SetKey(const Aws::String &value)
AWS_ELASTICINFERENCE_API KeyValuePair()
AWS_ELASTICINFERENCE_API KeyValuePair(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetKey() const
AWS_ELASTICINFERENCE_API KeyValuePair & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue