7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
56 inline double GetValue()
const {
return m_value; }
58 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
64 bool m_nameHasBeenSet =
false;
67 bool m_valueHasBeenSet =
false;
WorkerAmountCapability & WithName(NameT &&value)
AWS_DEADLINE_API WorkerAmountCapability(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
AWS_DEADLINE_API WorkerAmountCapability()=default
WorkerAmountCapability & WithValue(double value)
void SetName(NameT &&value)
void SetValue(double value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API WorkerAmountCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
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