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/DateTime.h>
11#include <aws/monitoring/model/MetricStreamOutputFormat.h>
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
92 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
107 inline void SetFirehoseArn(
const char* value) { m_firehoseArnHasBeenSet =
true; m_firehoseArn.assign(value); }
122 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
143 bool m_arnHasBeenSet =
false;
146 bool m_creationDateHasBeenSet =
false;
149 bool m_lastUpdateDateHasBeenSet =
false;
152 bool m_nameHasBeenSet =
false;
155 bool m_firehoseArnHasBeenSet =
false;
158 bool m_stateHasBeenSet =
false;
161 bool m_outputFormatHasBeenSet =
false;
void SetFirehoseArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetFirehoseArn(Aws::String &&value)
MetricStreamEntry & WithState(const char *value)
MetricStreamEntry & WithName(Aws::String &&value)
bool StateHasBeenSet() const
const Aws::String & GetState() const
void SetName(const Aws::String &value)
MetricStreamEntry & WithOutputFormat(const MetricStreamOutputFormat &value)
MetricStreamEntry & WithCreationDate(Aws::Utils::DateTime &&value)
MetricStreamEntry & WithCreationDate(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
const Aws::String & GetFirehoseArn() const
void SetArn(const Aws::String &value)
void SetOutputFormat(const MetricStreamOutputFormat &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
bool OutputFormatHasBeenSet() const
AWS_CLOUDWATCH_API MetricStreamEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ArnHasBeenSet() const
void SetFirehoseArn(const char *value)
MetricStreamEntry & WithArn(const Aws::String &value)
void SetState(const char *value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
MetricStreamEntry & WithLastUpdateDate(const Aws::Utils::DateTime &value)
bool LastUpdateDateHasBeenSet() const
MetricStreamEntry & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
MetricStreamEntry & WithLastUpdateDate(Aws::Utils::DateTime &&value)
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
MetricStreamEntry & WithName(const Aws::String &value)
void SetState(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
bool CreationDateHasBeenSet() const
void SetArn(Aws::String &&value)
void SetName(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
MetricStreamEntry & WithState(const Aws::String &value)
const Aws::String & GetName() const
MetricStreamEntry & WithState(Aws::String &&value)
AWS_CLOUDWATCH_API MetricStreamEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricStreamEntry & WithOutputFormat(MetricStreamOutputFormat &&value)
void SetState(const Aws::String &value)
MetricStreamEntry & WithArn(const char *value)
MetricStreamEntry & WithFirehoseArn(const Aws::String &value)
bool FirehoseArnHasBeenSet() const
MetricStreamEntry & WithFirehoseArn(Aws::String &&value)
MetricStreamEntry & WithFirehoseArn(const char *value)
const MetricStreamOutputFormat & GetOutputFormat() const
AWS_CLOUDWATCH_API MetricStreamEntry()
MetricStreamEntry & WithName(const char *value)
void SetOutputFormat(MetricStreamOutputFormat &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream