7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/monitoring/model/StatusCode.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/monitoring/model/MessageData.h>
56 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
57 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
71 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
142 bool m_idHasBeenSet =
false;
145 bool m_labelHasBeenSet =
false;
148 bool m_timestampsHasBeenSet =
false;
151 bool m_valuesHasBeenSet =
false;
154 bool m_statusCodeHasBeenSet =
false;
157 bool m_messagesHasBeenSet =
false;
void SetId(const char *value)
void SetLabel(const char *value)
MetricDataResult & AddValues(double value)
MetricDataResult & WithValues(const Aws::Vector< double > &value)
bool LabelHasBeenSet() const
void SetMessages(const Aws::Vector< MessageData > &value)
const Aws::String & GetLabel() const
void SetValues(const Aws::Vector< double > &value)
const Aws::Vector< double > & GetValues() const
bool TimestampsHasBeenSet() const
MetricDataResult & WithId(const char *value)
void SetTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
MetricDataResult & WithId(const Aws::String &value)
MetricDataResult & WithValues(Aws::Vector< double > &&value)
MetricDataResult & WithLabel(Aws::String &&value)
MetricDataResult & WithMessages(const Aws::Vector< MessageData > &value)
AWS_CLOUDWATCH_API MetricDataResult()
void SetLabel(const Aws::String &value)
void SetStatusCode(const StatusCode &value)
MetricDataResult & WithTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
void SetId(const Aws::String &value)
bool MessagesHasBeenSet() const
void SetMessages(Aws::Vector< MessageData > &&value)
const Aws::Vector< MessageData > & GetMessages() const
MetricDataResult & AddTimestamps(const Aws::Utils::DateTime &value)
MetricDataResult & WithLabel(const Aws::String &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetId(Aws::String &&value)
MetricDataResult & WithId(Aws::String &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLabel(Aws::String &&value)
void SetValues(Aws::Vector< double > &&value)
bool ValuesHasBeenSet() const
MetricDataResult & WithMessages(Aws::Vector< MessageData > &&value)
void SetTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
MetricDataResult & AddMessages(const MessageData &value)
AWS_CLOUDWATCH_API MetricDataResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IdHasBeenSet() const
MetricDataResult & WithLabel(const char *value)
MetricDataResult & AddMessages(MessageData &&value)
MetricDataResult & AddTimestamps(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
AWS_CLOUDWATCH_API MetricDataResult(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatusCode(StatusCode &&value)
const Aws::Vector< Aws::Utils::DateTime > & GetTimestamps() const
MetricDataResult & WithStatusCode(StatusCode &&value)
MetricDataResult & WithTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
MetricDataResult & WithStatusCode(const StatusCode &value)
const StatusCode & GetStatusCode() const
bool StatusCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream