7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
79 inline void SetDoubleValue(
double value) { m_doubleValueHasBeenSet =
true; m_doubleValue = value; }
90 inline void SetLongValue(
long long value) { m_longValueHasBeenSet =
true; m_longValue = value; }
101 inline void SetIntegerValue(
int value) { m_integerValueHasBeenSet =
true; m_integerValue = value; }
118 inline Resource&
AddStringSetValue(
const char* value) { m_stringSetValueHasBeenSet =
true; m_stringSetValue.push_back(value);
return *
this; }
123 bool m_nameHasBeenSet =
false;
126 bool m_typeHasBeenSet =
false;
128 double m_doubleValue;
129 bool m_doubleValueHasBeenSet =
false;
131 long long m_longValue;
132 bool m_longValueHasBeenSet =
false;
135 bool m_integerValueHasBeenSet =
false;
138 bool m_stringSetValueHasBeenSet =
false;
bool LongValueHasBeenSet() const
long long GetLongValue() const
bool DoubleValueHasBeenSet() const
Resource & AddStringSetValue(const Aws::String &value)
void SetType(const Aws::String &value)
const Aws::String & GetName() const
double GetDoubleValue() const
bool TypeHasBeenSet() const
Resource & WithType(const char *value)
void SetDoubleValue(double value)
Resource & WithName(const Aws::String &value)
Resource & WithStringSetValue(const Aws::Vector< Aws::String > &value)
Resource & AddStringSetValue(const char *value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetIntegerValue() const
bool IntegerValueHasBeenSet() const
void SetStringSetValue(Aws::Vector< Aws::String > &&value)
Resource & WithLongValue(long long value)
void SetName(const char *value)
Resource & WithStringSetValue(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetStringSetValue() const
Resource & WithType(Aws::String &&value)
bool NameHasBeenSet() const
Resource & WithIntegerValue(int value)
Resource & WithDoubleValue(double value)
Resource & WithType(const Aws::String &value)
Resource & AddStringSetValue(Aws::String &&value)
void SetName(Aws::String &&value)
Resource & WithName(Aws::String &&value)
void SetType(const char *value)
AWS_ECS_API Resource(Aws::Utils::Json::JsonView jsonValue)
bool StringSetValueHasBeenSet() const
const Aws::String & GetType() const
Resource & WithName(const char *value)
void SetIntegerValue(int value)
void SetLongValue(long long value)
void SetType(Aws::String &&value)
AWS_ECS_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetStringSetValue(const Aws::Vector< Aws::String > &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