7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/monitoring/model/MetricStreamOutputFormat.h>
12#include <aws/monitoring/model/MetricStreamFilter.h>
13#include <aws/monitoring/model/Tag.h>
14#include <aws/monitoring/model/MetricStreamStatisticsConfiguration.h>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
105 inline void SetFirehoseArn(
const char* value) { m_firehoseArnHasBeenSet =
true; m_firehoseArn.assign(value); }
123 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
210 bool m_nameHasBeenSet =
false;
213 bool m_includeFiltersHasBeenSet =
false;
216 bool m_excludeFiltersHasBeenSet =
false;
219 bool m_firehoseArnHasBeenSet =
false;
222 bool m_roleArnHasBeenSet =
false;
225 bool m_outputFormatHasBeenSet =
false;
228 bool m_tagsHasBeenSet =
false;
231 bool m_statisticsConfigurationsHasBeenSet =
false;
233 bool m_includeLinkedAccountsMetrics;
234 bool m_includeLinkedAccountsMetricsHasBeenSet =
false;
void SetFirehoseArn(Aws::String &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
PutMetricStreamRequest & AddTags(const Tag &value)
void SetIncludeLinkedAccountsMetrics(bool value)
PutMetricStreamRequest & AddTags(Tag &&value)
const Aws::String & GetRoleArn() const
bool NameHasBeenSet() const
PutMetricStreamRequest & AddExcludeFilters(const MetricStreamFilter &value)
bool ExcludeFiltersHasBeenSet() const
PutMetricStreamRequest & WithStatisticsConfigurations(Aws::Vector< MetricStreamStatisticsConfiguration > &&value)
void SetName(const Aws::String &value)
void SetFirehoseArn(const char *value)
bool OutputFormatHasBeenSet() const
void SetIncludeFilters(const Aws::Vector< MetricStreamFilter > &value)
PutMetricStreamRequest & WithName(const Aws::String &value)
PutMetricStreamRequest & WithRoleArn(const Aws::String &value)
PutMetricStreamRequest & WithFirehoseArn(const char *value)
bool RoleArnHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
PutMetricStreamRequest & WithIncludeFilters(const Aws::Vector< MetricStreamFilter > &value)
PutMetricStreamRequest & AddStatisticsConfigurations(MetricStreamStatisticsConfiguration &&value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
PutMetricStreamRequest & WithIncludeFilters(Aws::Vector< MetricStreamFilter > &&value)
PutMetricStreamRequest & AddIncludeFilters(const MetricStreamFilter &value)
void SetExcludeFilters(Aws::Vector< MetricStreamFilter > &&value)
PutMetricStreamRequest & WithOutputFormat(MetricStreamOutputFormat &&value)
const Aws::Vector< MetricStreamFilter > & GetExcludeFilters() const
bool GetIncludeLinkedAccountsMetrics() const
const Aws::Vector< Tag > & GetTags() const
PutMetricStreamRequest & WithStatisticsConfigurations(const Aws::Vector< MetricStreamStatisticsConfiguration > &value)
bool IncludeLinkedAccountsMetricsHasBeenSet() const
void SetRoleArn(const Aws::String &value)
bool FirehoseArnHasBeenSet() const
PutMetricStreamRequest & WithRoleArn(Aws::String &&value)
void SetIncludeFilters(Aws::Vector< MetricStreamFilter > &&value)
PutMetricStreamRequest & WithName(Aws::String &&value)
void SetStatisticsConfigurations(const Aws::Vector< MetricStreamStatisticsConfiguration > &value)
PutMetricStreamRequest & WithIncludeLinkedAccountsMetrics(bool value)
void SetOutputFormat(const MetricStreamOutputFormat &value)
const Aws::String & GetName() const
PutMetricStreamRequest & WithName(const char *value)
PutMetricStreamRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_CLOUDWATCH_API PutMetricStreamRequest()
PutMetricStreamRequest & WithOutputFormat(const MetricStreamOutputFormat &value)
PutMetricStreamRequest & WithExcludeFilters(const Aws::Vector< MetricStreamFilter > &value)
const MetricStreamOutputFormat & GetOutputFormat() const
bool TagsHasBeenSet() const
void SetRoleArn(const char *value)
void SetOutputFormat(MetricStreamOutputFormat &&value)
const Aws::String & GetFirehoseArn() const
virtual const char * GetServiceRequestName() const override
PutMetricStreamRequest & AddExcludeFilters(MetricStreamFilter &&value)
void SetTags(Aws::Vector< Tag > &&value)
PutMetricStreamRequest & WithRoleArn(const char *value)
PutMetricStreamRequest & WithTags(const Aws::Vector< Tag > &value)
PutMetricStreamRequest & WithExcludeFilters(Aws::Vector< MetricStreamFilter > &&value)
bool StatisticsConfigurationsHasBeenSet() const
PutMetricStreamRequest & WithFirehoseArn(const Aws::String &value)
void SetName(const char *value)
bool IncludeFiltersHasBeenSet() const
void SetFirehoseArn(const Aws::String &value)
PutMetricStreamRequest & WithFirehoseArn(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
PutMetricStreamRequest & AddStatisticsConfigurations(const MetricStreamStatisticsConfiguration &value)
void SetName(Aws::String &&value)
const Aws::Vector< MetricStreamStatisticsConfiguration > & GetStatisticsConfigurations() const
void SetExcludeFilters(const Aws::Vector< MetricStreamFilter > &value)
PutMetricStreamRequest & AddIncludeFilters(MetricStreamFilter &&value)
const Aws::Vector< MetricStreamFilter > & GetIncludeFilters() const
void SetStatisticsConfigurations(Aws::Vector< MetricStreamStatisticsConfiguration > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector