7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/monitoring/CloudWatch_EXPORTS.h>
12#include <aws/monitoring/model/MetricStreamFilter.h>
13#include <aws/monitoring/model/MetricStreamOutputFormat.h>
14#include <aws/monitoring/model/MetricStreamStatisticsConfiguration.h>
15#include <aws/monitoring/model/ResponseMetadata.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename ArnT = Aws::String>
42 m_arnHasBeenSet =
true;
43 m_arn = std::forward<ArnT>(value);
45 template <
typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
75 template <
typename IncludeFiltersT = Aws::Vector<MetricStreamFilter>>
77 m_includeFiltersHasBeenSet =
true;
78 m_includeFilters = std::forward<IncludeFiltersT>(value);
80 template <
typename IncludeFiltersT = Aws::Vector<MetricStreamFilter>>
85 template <
typename IncludeFiltersT = MetricStreamFilter>
87 m_includeFiltersHasBeenSet =
true;
88 m_includeFilters.emplace_back(std::forward<IncludeFiltersT>(value));
101 template <
typename ExcludeFiltersT = Aws::Vector<MetricStreamFilter>>
103 m_excludeFiltersHasBeenSet =
true;
104 m_excludeFilters = std::forward<ExcludeFiltersT>(value);
106 template <
typename ExcludeFiltersT = Aws::Vector<MetricStreamFilter>>
111 template <
typename ExcludeFiltersT = MetricStreamFilter>
113 m_excludeFiltersHasBeenSet =
true;
114 m_excludeFilters.emplace_back(std::forward<ExcludeFiltersT>(value));
125 template <
typename FirehoseArnT = Aws::String>
127 m_firehoseArnHasBeenSet =
true;
128 m_firehoseArn = std::forward<FirehoseArnT>(value);
130 template <
typename FirehoseArnT = Aws::String>
142 template <
typename RoleArnT = Aws::String>
144 m_roleArnHasBeenSet =
true;
145 m_roleArn = std::forward<RoleArnT>(value);
147 template <
typename RoleArnT = Aws::String>
160 template <
typename StateT = Aws::String>
162 m_stateHasBeenSet =
true;
163 m_state = std::forward<StateT>(value);
165 template <
typename StateT = Aws::String>
167 SetState(std::forward<StateT>(value));
177 template <
typename CreationDateT = Aws::Utils::DateTime>
179 m_creationDateHasBeenSet =
true;
180 m_creationDate = std::forward<CreationDateT>(value);
182 template <
typename CreationDateT = Aws::Utils::DateTime>
194 template <
typename LastUpdateDateT = Aws::Utils::DateTime>
196 m_lastUpdateDateHasBeenSet =
true;
197 m_lastUpdateDate = std::forward<LastUpdateDateT>(value);
199 template <
typename LastUpdateDateT = Aws::Utils::DateTime>
216 m_outputFormatHasBeenSet =
true;
217 m_outputFormat = value;
234 template <
typename StatisticsConfigurationsT = Aws::Vector<MetricStreamStatisticsConfiguration>>
236 m_statisticsConfigurationsHasBeenSet =
true;
237 m_statisticsConfigurations = std::forward<StatisticsConfigurationsT>(value);
239 template <
typename StatisticsConfigurationsT = Aws::Vector<MetricStreamStatisticsConfiguration>>
244 template <
typename StatisticsConfigurationsT = MetricStreamStatisticsConfiguration>
246 m_statisticsConfigurationsHasBeenSet =
true;
247 m_statisticsConfigurations.emplace_back(std::forward<StatisticsConfigurationsT>(value));
260 m_includeLinkedAccountsMetricsHasBeenSet =
true;
261 m_includeLinkedAccountsMetrics = value;
272 template <
typename RequestIdT = Aws::String>
274 m_requestIdHasBeenSet =
true;
275 m_requestId = std::forward<RequestIdT>(value);
277 template <
typename RequestIdT = Aws::String>
287 template <
typename ResponseMetadataT = ResponseMetadata>
289 m_responseMetadataHasBeenSet =
true;
290 m_responseMetadata = std::forward<ResponseMetadataT>(value);
292 template <
typename ResponseMetadataT = ResponseMetadata>
321 bool m_includeLinkedAccountsMetrics{
false};
325 ResponseMetadata m_responseMetadata;
326 bool m_arnHasBeenSet =
false;
327 bool m_nameHasBeenSet =
false;
328 bool m_includeFiltersHasBeenSet =
false;
329 bool m_excludeFiltersHasBeenSet =
false;
330 bool m_firehoseArnHasBeenSet =
false;
331 bool m_roleArnHasBeenSet =
false;
332 bool m_stateHasBeenSet =
false;
333 bool m_creationDateHasBeenSet =
false;
334 bool m_lastUpdateDateHasBeenSet =
false;
335 bool m_outputFormatHasBeenSet =
false;
336 bool m_statisticsConfigurationsHasBeenSet =
false;
337 bool m_includeLinkedAccountsMetricsHasBeenSet =
false;
338 bool m_requestIdHasBeenSet =
false;
339 bool m_responseMetadataHasBeenSet =
false;
AWS_CLOUDWATCH_API GetMetricStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetResponseMetadata(ResponseMetadataT &&value)
bool GetIncludeLinkedAccountsMetrics() const
const Aws::String & GetState() const
const Aws::String & GetName() const
void SetExcludeFilters(ExcludeFiltersT &&value)
GetMetricStreamResult & WithStatisticsConfigurations(StatisticsConfigurationsT &&value)
void SetIncludeFilters(IncludeFiltersT &&value)
GetMetricStreamResult & AddStatisticsConfigurations(StatisticsConfigurationsT &&value)
const Aws::String & GetRequestId() const
void SetLastUpdateDate(LastUpdateDateT &&value)
GetMetricStreamResult & WithName(NameT &&value)
void SetIncludeLinkedAccountsMetrics(bool value)
void SetRequestId(RequestIdT &&value)
void SetState(StateT &&value)
const Aws::String & GetArn() const
const Aws::String & GetRoleArn() const
const ResponseMetadata & GetResponseMetadata() const
GetMetricStreamResult & WithOutputFormat(MetricStreamOutputFormat value)
GetMetricStreamResult & WithIncludeFilters(IncludeFiltersT &&value)
AWS_CLOUDWATCH_API GetMetricStreamResult()=default
void SetArn(ArnT &&value)
const Aws::String & GetFirehoseArn() const
void SetOutputFormat(MetricStreamOutputFormat value)
GetMetricStreamResult & WithFirehoseArn(FirehoseArnT &&value)
void SetName(NameT &&value)
void SetCreationDate(CreationDateT &&value)
AWS_CLOUDWATCH_API GetMetricStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetStatisticsConfigurations(StatisticsConfigurationsT &&value)
MetricStreamOutputFormat GetOutputFormat() const
void SetFirehoseArn(FirehoseArnT &&value)
const Aws::Vector< MetricStreamFilter > & GetIncludeFilters() const
GetMetricStreamResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
const Aws::Vector< MetricStreamFilter > & GetExcludeFilters() const
const Aws::Vector< MetricStreamStatisticsConfiguration > & GetStatisticsConfigurations() const
GetMetricStreamResult & WithState(StateT &&value)
void SetRoleArn(RoleArnT &&value)
GetMetricStreamResult & WithRoleArn(RoleArnT &&value)
GetMetricStreamResult & WithLastUpdateDate(LastUpdateDateT &&value)
GetMetricStreamResult & WithIncludeLinkedAccountsMetrics(bool value)
GetMetricStreamResult & WithCreationDate(CreationDateT &&value)
GetMetricStreamResult & AddIncludeFilters(IncludeFiltersT &&value)
GetMetricStreamResult & WithExcludeFilters(ExcludeFiltersT &&value)
GetMetricStreamResult & WithResponseMetadata(ResponseMetadataT &&value)
GetMetricStreamResult & AddExcludeFilters(ExcludeFiltersT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
GetMetricStreamResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector