7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
58 inline double GetValue()
const{
return m_value; }
60 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
66 bool m_nameHasBeenSet =
false;
69 bool m_valueHasBeenSet =
false;
WorkerAmountCapability & WithName(Aws::String &&value)
WorkerAmountCapability & WithName(const char *value)
AWS_DEADLINE_API WorkerAmountCapability(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
void SetName(const Aws::String &value)
void SetName(const char *value)
void SetName(Aws::String &&value)
WorkerAmountCapability & WithName(const Aws::String &value)
WorkerAmountCapability & WithValue(double value)
void SetValue(double value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API WorkerAmountCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API WorkerAmountCapability()
const Aws::String & GetName() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue