7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/crt/cbor/Cbor.h>
12#include <aws/monitoring/CloudWatch_EXPORTS.h>
13#include <aws/monitoring/model/MetricStreamFilter.h>
14#include <aws/monitoring/model/MetricStreamOutputFormat.h>
15#include <aws/monitoring/model/MetricStreamStatisticsConfiguration.h>
16#include <aws/monitoring/model/ResponseMetadata.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename ArnT = Aws::String>
43 m_arnHasBeenSet =
true;
44 m_arn = std::forward<ArnT>(value);
46 template <
typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
76 template <
typename IncludeFiltersT = Aws::Vector<MetricStreamFilter>>
78 m_includeFiltersHasBeenSet =
true;
79 m_includeFilters = std::forward<IncludeFiltersT>(value);
81 template <
typename IncludeFiltersT = Aws::Vector<MetricStreamFilter>>
86 template <
typename IncludeFiltersT = MetricStreamFilter>
88 m_includeFiltersHasBeenSet =
true;
89 m_includeFilters.emplace_back(std::forward<IncludeFiltersT>(value));
102 template <
typename ExcludeFiltersT = Aws::Vector<MetricStreamFilter>>
104 m_excludeFiltersHasBeenSet =
true;
105 m_excludeFilters = std::forward<ExcludeFiltersT>(value);
107 template <
typename ExcludeFiltersT = Aws::Vector<MetricStreamFilter>>
112 template <
typename ExcludeFiltersT = MetricStreamFilter>
114 m_excludeFiltersHasBeenSet =
true;
115 m_excludeFilters.emplace_back(std::forward<ExcludeFiltersT>(value));
126 template <
typename FirehoseArnT = Aws::String>
128 m_firehoseArnHasBeenSet =
true;
129 m_firehoseArn = std::forward<FirehoseArnT>(value);
131 template <
typename FirehoseArnT = Aws::String>
143 template <
typename RoleArnT = Aws::String>
145 m_roleArnHasBeenSet =
true;
146 m_roleArn = std::forward<RoleArnT>(value);
148 template <
typename RoleArnT = Aws::String>
161 template <
typename StateT = Aws::String>
163 m_stateHasBeenSet =
true;
164 m_state = std::forward<StateT>(value);
166 template <
typename StateT = Aws::String>
168 SetState(std::forward<StateT>(value));
178 template <
typename CreationDateT = Aws::Utils::DateTime>
180 m_creationDateHasBeenSet =
true;
181 m_creationDate = std::forward<CreationDateT>(value);
183 template <
typename CreationDateT = Aws::Utils::DateTime>
195 template <
typename LastUpdateDateT = Aws::Utils::DateTime>
197 m_lastUpdateDateHasBeenSet =
true;
198 m_lastUpdateDate = std::forward<LastUpdateDateT>(value);
200 template <
typename LastUpdateDateT = Aws::Utils::DateTime>
217 m_outputFormatHasBeenSet =
true;
218 m_outputFormat = value;
235 template <
typename StatisticsConfigurationsT = Aws::Vector<MetricStreamStatisticsConfiguration>>
237 m_statisticsConfigurationsHasBeenSet =
true;
238 m_statisticsConfigurations = std::forward<StatisticsConfigurationsT>(value);
240 template <
typename StatisticsConfigurationsT = Aws::Vector<MetricStreamStatisticsConfiguration>>
245 template <
typename StatisticsConfigurationsT = MetricStreamStatisticsConfiguration>
247 m_statisticsConfigurationsHasBeenSet =
true;
248 m_statisticsConfigurations.emplace_back(std::forward<StatisticsConfigurationsT>(value));
261 m_includeLinkedAccountsMetricsHasBeenSet =
true;
262 m_includeLinkedAccountsMetrics = value;
273 template <
typename RequestIdT = Aws::String>
275 m_requestIdHasBeenSet =
true;
276 m_requestId = std::forward<RequestIdT>(value);
278 template <
typename RequestIdT = Aws::String>
288 template <
typename ResponseMetadataT = ResponseMetadata>
290 m_responseMetadataHasBeenSet =
true;
291 m_responseMetadata = std::forward<ResponseMetadataT>(value);
293 template <
typename ResponseMetadataT = ResponseMetadata>
324 bool m_includeLinkedAccountsMetrics{
false};
328 ResponseMetadata m_responseMetadata;
330 bool m_arnHasBeenSet =
false;
331 bool m_nameHasBeenSet =
false;
332 bool m_includeFiltersHasBeenSet =
false;
333 bool m_excludeFiltersHasBeenSet =
false;
334 bool m_firehoseArnHasBeenSet =
false;
335 bool m_roleArnHasBeenSet =
false;
336 bool m_stateHasBeenSet =
false;
337 bool m_creationDateHasBeenSet =
false;
338 bool m_lastUpdateDateHasBeenSet =
false;
339 bool m_outputFormatHasBeenSet =
false;
340 bool m_statisticsConfigurationsHasBeenSet =
false;
341 bool m_includeLinkedAccountsMetricsHasBeenSet =
false;
342 bool m_requestIdHasBeenSet =
false;
343 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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