7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AnalyticsSessionMetricName.h>
9#include <aws/lexv2-models/model/AnalyticsMetricStatistic.h>
82 inline double GetValue()
const{
return m_value; }
84 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
90 bool m_nameHasBeenSet =
false;
93 bool m_statisticHasBeenSet =
false;
96 bool m_valueHasBeenSet =
false;
bool StatisticHasBeenSet() const
bool NameHasBeenSet() const
AnalyticsSessionMetricResult & WithName(const AnalyticsSessionMetricName &value)
AWS_LEXMODELSV2_API AnalyticsSessionMetricResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(AnalyticsSessionMetricName &&value)
void SetStatistic(const AnalyticsMetricStatistic &value)
void SetValue(double value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyticsSessionMetricResult & WithValue(double value)
void SetStatistic(AnalyticsMetricStatistic &&value)
AnalyticsSessionMetricResult & WithName(AnalyticsSessionMetricName &&value)
AWS_LEXMODELSV2_API AnalyticsSessionMetricResult(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
AnalyticsSessionMetricResult & WithStatistic(AnalyticsMetricStatistic &&value)
AWS_LEXMODELSV2_API AnalyticsSessionMetricResult()
AnalyticsSessionMetricResult & WithStatistic(const AnalyticsMetricStatistic &value)
const AnalyticsMetricStatistic & GetStatistic() const
const AnalyticsSessionMetricName & GetName() const
void SetName(const AnalyticsSessionMetricName &value)
AnalyticsSessionMetricName
Aws::Utils::Json::JsonValue JsonValue