7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/DurationUnit.h>
56 inline long long GetValue()
const{
return m_value; }
58 inline void SetValue(
long long value) { m_valueHasBeenSet =
true; m_value = value; }
64 bool m_unitHasBeenSet =
false;
67 bool m_valueHasBeenSet =
false;
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API Duration(Aws::Utils::Json::JsonView jsonValue)
const DurationUnit & GetUnit() const
void SetUnit(DurationUnit &&value)
void SetValue(long long value)
AWS_APPMESH_API Duration()
Duration & WithUnit(const DurationUnit &value)
AWS_APPMESH_API Duration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
Duration & WithValue(long long value)
void SetUnit(const DurationUnit &value)
Duration & WithUnit(DurationUnit &&value)
bool UnitHasBeenSet() const
long long GetValue() const
Aws::Utils::Json::JsonValue JsonValue