7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codeguruprofiler/model/MetricType.h>
23namespace CodeGuruProfiler
54 inline void SetFrameName(
const char* value) { m_frameNameHasBeenSet =
true; m_frameName.assign(value); }
73 inline Metric&
AddThreadStates(
const char* value) { m_threadStatesHasBeenSet =
true; m_threadStates.push_back(value);
return *
this; }
86 inline void SetType(
MetricType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
93 bool m_frameNameHasBeenSet =
false;
96 bool m_threadStatesHasBeenSet =
false;
99 bool m_typeHasBeenSet =
false;
Metric & AddThreadStates(Aws::String &&value)
AWS_CODEGURUPROFILER_API Metric(Aws::Utils::Json::JsonView jsonValue)
void SetType(MetricType &&value)
void SetFrameName(Aws::String &&value)
Metric & AddThreadStates(const char *value)
void SetType(const MetricType &value)
Metric & WithFrameName(const char *value)
const Aws::Vector< Aws::String > & GetThreadStates() const
bool ThreadStatesHasBeenSet() const
void SetFrameName(const Aws::String &value)
Metric & WithThreadStates(Aws::Vector< Aws::String > &&value)
Metric & AddThreadStates(const Aws::String &value)
AWS_CODEGURUPROFILER_API Metric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFrameName(const char *value)
bool FrameNameHasBeenSet() const
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
Metric & WithThreadStates(const Aws::Vector< Aws::String > &value)
Metric & WithFrameName(Aws::String &&value)
Metric & WithFrameName(const Aws::String &value)
Metric & WithType(const MetricType &value)
const MetricType & GetType() const
void SetThreadStates(const Aws::Vector< Aws::String > &value)
Metric & WithType(MetricType &&value)
AWS_CODEGURUPROFILER_API Metric()
const Aws::String & GetFrameName() const
void SetThreadStates(Aws::Vector< Aws::String > &&value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue