7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticbeanstalk/model/StatusCodes.h>
10#include <aws/elasticbeanstalk/model/Latency.h>
22namespace ElasticBeanstalk
40 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
52 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
63 inline void SetRequestCount(
int value) { m_requestCountHasBeenSet =
true; m_requestCount = value; }
87 inline void SetLatency(
const Latency& value) { m_latencyHasBeenSet =
true; m_latency = value; }
88 inline void SetLatency(
Latency&& value) { m_latencyHasBeenSet =
true; m_latency = std::move(value); }
95 bool m_durationHasBeenSet =
false;
98 bool m_requestCountHasBeenSet =
false;
101 bool m_statusCodesHasBeenSet =
false;
104 bool m_latencyHasBeenSet =
false;
const Latency & GetLatency() const
ApplicationMetrics & WithDuration(int value)
bool DurationHasBeenSet() const
AWS_ELASTICBEANSTALK_API ApplicationMetrics & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API ApplicationMetrics(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationMetrics & WithStatusCodes(StatusCodes &&value)
bool StatusCodesHasBeenSet() const
ApplicationMetrics & WithRequestCount(int value)
const StatusCodes & GetStatusCodes() const
ApplicationMetrics & WithLatency(const Latency &value)
bool LatencyHasBeenSet() const
void SetLatency(const Latency &value)
AWS_ELASTICBEANSTALK_API ApplicationMetrics()
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLatency(Latency &&value)
int GetRequestCount() const
bool RequestCountHasBeenSet() const
ApplicationMetrics & WithStatusCodes(const StatusCodes &value)
ApplicationMetrics & WithLatency(Latency &&value)
void SetStatusCodes(StatusCodes &&value)
void SetDuration(int value)
void SetStatusCodes(const StatusCodes &value)
void SetRequestCount(int value)
std::basic_ostream< char, std::char_traits< char > > OStream