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>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
62 template<
typename TypeT = Aws::String>
63 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
64 template<
typename TypeT = Aws::String>
75 inline void SetDoubleValue(
double value) { m_doubleValueHasBeenSet =
true; m_doubleValue = value; }
86 inline void SetLongValue(
long long value) { m_longValueHasBeenSet =
true; m_longValue = value; }
97 inline void SetIntegerValue(
int value) { m_integerValueHasBeenSet =
true; m_integerValue = value; }
108 template<
typename StringSetValueT = Aws::Vector<Aws::String>>
109 void SetStringSetValue(StringSetValueT&& value) { m_stringSetValueHasBeenSet =
true; m_stringSetValue = std::forward<StringSetValueT>(value); }
110 template<
typename StringSetValueT = Aws::Vector<Aws::String>>
112 template<
typename StringSetValueT = Aws::String>
113 Resource&
AddStringSetValue(StringSetValueT&& value) { m_stringSetValueHasBeenSet =
true; m_stringSetValue.emplace_back(std::forward<StringSetValueT>(value));
return *
this; }
118 bool m_nameHasBeenSet =
false;
121 bool m_typeHasBeenSet =
false;
123 double m_doubleValue{0.0};
124 bool m_doubleValueHasBeenSet =
false;
126 long long m_longValue{0};
127 bool m_longValueHasBeenSet =
false;
129 int m_integerValue{0};
130 bool m_integerValueHasBeenSet =
false;
133 bool m_stringSetValueHasBeenSet =
false;
bool LongValueHasBeenSet() const
long long GetLongValue() const
void SetType(TypeT &&value)
bool DoubleValueHasBeenSet() const
Resource & WithStringSetValue(StringSetValueT &&value)
const Aws::String & GetName() const
double GetDoubleValue() const
bool TypeHasBeenSet() const
Resource & WithName(NameT &&value)
void SetDoubleValue(double value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetIntegerValue() const
bool IntegerValueHasBeenSet() const
Resource & WithLongValue(long long value)
const Aws::Vector< Aws::String > & GetStringSetValue() const
bool NameHasBeenSet() const
void SetStringSetValue(StringSetValueT &&value)
Resource & WithIntegerValue(int value)
Resource & WithType(TypeT &&value)
Resource & WithDoubleValue(double value)
Resource & AddStringSetValue(StringSetValueT &&value)
void SetName(NameT &&value)
AWS_ECS_API Resource(Aws::Utils::Json::JsonView jsonValue)
bool StringSetValueHasBeenSet() const
const Aws::String & GetType() const
void SetIntegerValue(int value)
AWS_ECS_API Resource()=default
void SetLongValue(long long value)
AWS_ECS_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue