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
52 inline void SetFrameName(
const char* value) { m_frameNameHasBeenSet =
true; m_frameName.assign(value); }
71 inline FrameMetric&
AddThreadStates(
const char* value) { m_threadStatesHasBeenSet =
true; m_threadStates.push_back(value);
return *
this; }
84 inline void SetType(
MetricType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
91 bool m_frameNameHasBeenSet =
false;
94 bool m_threadStatesHasBeenSet =
false;
97 bool m_typeHasBeenSet =
false;
void SetFrameName(const char *value)
void SetThreadStates(Aws::Vector< Aws::String > &&value)
FrameMetric & AddThreadStates(const char *value)
const Aws::String & GetFrameName() const
AWS_CODEGURUPROFILER_API FrameMetric(Aws::Utils::Json::JsonView jsonValue)
FrameMetric & WithThreadStates(const Aws::Vector< Aws::String > &value)
void SetThreadStates(const Aws::Vector< Aws::String > &value)
AWS_CODEGURUPROFILER_API FrameMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFrameName(const Aws::String &value)
FrameMetric & WithFrameName(const Aws::String &value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const MetricType &value)
FrameMetric & WithFrameName(const char *value)
FrameMetric & WithThreadStates(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetThreadStates() const
FrameMetric & AddThreadStates(const Aws::String &value)
bool TypeHasBeenSet() const
FrameMetric & AddThreadStates(Aws::String &&value)
AWS_CODEGURUPROFILER_API FrameMetric()
bool ThreadStatesHasBeenSet() const
FrameMetric & WithType(const MetricType &value)
bool FrameNameHasBeenSet() const
FrameMetric & WithType(MetricType &&value)
const MetricType & GetType() const
FrameMetric & WithFrameName(Aws::String &&value)
void SetType(MetricType &&value)
void SetFrameName(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