AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMetricStreamResult.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/monitoring/model/MetricStreamOutputFormat.h>
12#include <aws/monitoring/model/ResponseMetadata.h>
13#include <aws/monitoring/model/MetricStreamFilter.h>
14#include <aws/monitoring/model/MetricStreamStatisticsConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Xml
25{
26 class XmlDocument;
27} // namespace Xml
28} // namespace Utils
29namespace CloudWatch
30{
31namespace Model
32{
34 {
35 public:
36 AWS_CLOUDWATCH_API GetMetricStreamResult();
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline GetMetricStreamResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline GetMetricStreamResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline GetMetricStreamResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline GetMetricStreamResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline GetMetricStreamResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline GetMetricStreamResult& WithName(const char* value) { SetName(value); return *this;}
66
68
72 inline const Aws::Vector<MetricStreamFilter>& GetIncludeFilters() const{ return m_includeFilters; }
73 inline void SetIncludeFilters(const Aws::Vector<MetricStreamFilter>& value) { m_includeFilters = value; }
74 inline void SetIncludeFilters(Aws::Vector<MetricStreamFilter>&& value) { m_includeFilters = std::move(value); }
77 inline GetMetricStreamResult& AddIncludeFilters(const MetricStreamFilter& value) { m_includeFilters.push_back(value); return *this; }
78 inline GetMetricStreamResult& AddIncludeFilters(MetricStreamFilter&& value) { m_includeFilters.push_back(std::move(value)); return *this; }
80
82
88 inline const Aws::Vector<MetricStreamFilter>& GetExcludeFilters() const{ return m_excludeFilters; }
89 inline void SetExcludeFilters(const Aws::Vector<MetricStreamFilter>& value) { m_excludeFilters = value; }
90 inline void SetExcludeFilters(Aws::Vector<MetricStreamFilter>&& value) { m_excludeFilters = std::move(value); }
93 inline GetMetricStreamResult& AddExcludeFilters(const MetricStreamFilter& value) { m_excludeFilters.push_back(value); return *this; }
94 inline GetMetricStreamResult& AddExcludeFilters(MetricStreamFilter&& value) { m_excludeFilters.push_back(std::move(value)); return *this; }
96
98
102 inline const Aws::String& GetFirehoseArn() const{ return m_firehoseArn; }
103 inline void SetFirehoseArn(const Aws::String& value) { m_firehoseArn = value; }
104 inline void SetFirehoseArn(Aws::String&& value) { m_firehoseArn = std::move(value); }
105 inline void SetFirehoseArn(const char* value) { m_firehoseArn.assign(value); }
106 inline GetMetricStreamResult& WithFirehoseArn(const Aws::String& value) { SetFirehoseArn(value); return *this;}
107 inline GetMetricStreamResult& WithFirehoseArn(Aws::String&& value) { SetFirehoseArn(std::move(value)); return *this;}
108 inline GetMetricStreamResult& WithFirehoseArn(const char* value) { SetFirehoseArn(value); return *this;}
110
112
115 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
116 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
117 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
118 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
119 inline GetMetricStreamResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
120 inline GetMetricStreamResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
121 inline GetMetricStreamResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
123
125
129 inline const Aws::String& GetState() const{ return m_state; }
130 inline void SetState(const Aws::String& value) { m_state = value; }
131 inline void SetState(Aws::String&& value) { m_state = std::move(value); }
132 inline void SetState(const char* value) { m_state.assign(value); }
133 inline GetMetricStreamResult& WithState(const Aws::String& value) { SetState(value); return *this;}
134 inline GetMetricStreamResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
135 inline GetMetricStreamResult& WithState(const char* value) { SetState(value); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
143 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
144 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
145 inline GetMetricStreamResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
146 inline GetMetricStreamResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
154 inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDate = value; }
155 inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDate = std::move(value); }
157 inline GetMetricStreamResult& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
159
161
168 inline const MetricStreamOutputFormat& GetOutputFormat() const{ return m_outputFormat; }
169 inline void SetOutputFormat(const MetricStreamOutputFormat& value) { m_outputFormat = value; }
170 inline void SetOutputFormat(MetricStreamOutputFormat&& value) { m_outputFormat = std::move(value); }
172 inline GetMetricStreamResult& WithOutputFormat(MetricStreamOutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
174
176
183 inline const Aws::Vector<MetricStreamStatisticsConfiguration>& GetStatisticsConfigurations() const{ return m_statisticsConfigurations; }
184 inline void SetStatisticsConfigurations(const Aws::Vector<MetricStreamStatisticsConfiguration>& value) { m_statisticsConfigurations = value; }
185 inline void SetStatisticsConfigurations(Aws::Vector<MetricStreamStatisticsConfiguration>&& value) { m_statisticsConfigurations = std::move(value); }
188 inline GetMetricStreamResult& AddStatisticsConfigurations(const MetricStreamStatisticsConfiguration& value) { m_statisticsConfigurations.push_back(value); return *this; }
189 inline GetMetricStreamResult& AddStatisticsConfigurations(MetricStreamStatisticsConfiguration&& value) { m_statisticsConfigurations.push_back(std::move(value)); return *this; }
191
193
198 inline bool GetIncludeLinkedAccountsMetrics() const{ return m_includeLinkedAccountsMetrics; }
199 inline void SetIncludeLinkedAccountsMetrics(bool value) { m_includeLinkedAccountsMetrics = value; }
202
204
205 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
206 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
207 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
209 inline GetMetricStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
211 private:
212
213 Aws::String m_arn;
214
215 Aws::String m_name;
216
217 Aws::Vector<MetricStreamFilter> m_includeFilters;
218
219 Aws::Vector<MetricStreamFilter> m_excludeFilters;
220
221 Aws::String m_firehoseArn;
222
223 Aws::String m_roleArn;
224
225 Aws::String m_state;
226
227 Aws::Utils::DateTime m_creationDate;
228
229 Aws::Utils::DateTime m_lastUpdateDate;
230
231 MetricStreamOutputFormat m_outputFormat;
232
233 Aws::Vector<MetricStreamStatisticsConfiguration> m_statisticsConfigurations;
234
235 bool m_includeLinkedAccountsMetrics;
236
237 ResponseMetadata m_responseMetadata;
238 };
239
240} // namespace Model
241} // namespace CloudWatch
242} // namespace Aws
void SetCreationDate(Aws::Utils::DateTime &&value)
GetMetricStreamResult & WithResponseMetadata(ResponseMetadata &&value)
GetMetricStreamResult & WithStatisticsConfigurations(const Aws::Vector< MetricStreamStatisticsConfiguration > &value)
GetMetricStreamResult & WithName(const Aws::String &value)
GetMetricStreamResult & AddIncludeFilters(const MetricStreamFilter &value)
const MetricStreamOutputFormat & GetOutputFormat() const
void SetOutputFormat(MetricStreamOutputFormat &&value)
GetMetricStreamResult & WithCreationDate(Aws::Utils::DateTime &&value)
void SetOutputFormat(const MetricStreamOutputFormat &value)
GetMetricStreamResult & WithName(Aws::String &&value)
GetMetricStreamResult & WithRoleArn(const Aws::String &value)
GetMetricStreamResult & AddIncludeFilters(MetricStreamFilter &&value)
void SetIncludeFilters(const Aws::Vector< MetricStreamFilter > &value)
GetMetricStreamResult & WithFirehoseArn(const char *value)
GetMetricStreamResult & WithOutputFormat(const MetricStreamOutputFormat &value)
GetMetricStreamResult & WithFirehoseArn(const Aws::String &value)
void SetIncludeFilters(Aws::Vector< MetricStreamFilter > &&value)
GetMetricStreamResult & WithArn(const Aws::String &value)
GetMetricStreamResult & WithLastUpdateDate(const Aws::Utils::DateTime &value)
GetMetricStreamResult & AddStatisticsConfigurations(MetricStreamStatisticsConfiguration &&value)
void SetExcludeFilters(const Aws::Vector< MetricStreamFilter > &value)
GetMetricStreamResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetMetricStreamResult & WithState(const char *value)
GetMetricStreamResult & WithOutputFormat(MetricStreamOutputFormat &&value)
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
GetMetricStreamResult & WithFirehoseArn(Aws::String &&value)
AWS_CLOUDWATCH_API GetMetricStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetMetricStreamResult & WithExcludeFilters(Aws::Vector< MetricStreamFilter > &&value)
GetMetricStreamResult & WithIncludeFilters(Aws::Vector< MetricStreamFilter > &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetExcludeFilters(Aws::Vector< MetricStreamFilter > &&value)
GetMetricStreamResult & WithIncludeFilters(const Aws::Vector< MetricStreamFilter > &value)
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
GetMetricStreamResult & WithState(Aws::String &&value)
GetMetricStreamResult & WithLastUpdateDate(Aws::Utils::DateTime &&value)
GetMetricStreamResult & AddStatisticsConfigurations(const MetricStreamStatisticsConfiguration &value)
GetMetricStreamResult & WithArn(const char *value)
AWS_CLOUDWATCH_API GetMetricStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetStatisticsConfigurations(Aws::Vector< MetricStreamStatisticsConfiguration > &&value)
GetMetricStreamResult & AddExcludeFilters(const MetricStreamFilter &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
GetMetricStreamResult & WithState(const Aws::String &value)
const Aws::Vector< MetricStreamFilter > & GetIncludeFilters() const
GetMetricStreamResult & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
const Aws::Vector< MetricStreamFilter > & GetExcludeFilters() const
const Aws::Vector< MetricStreamStatisticsConfiguration > & GetStatisticsConfigurations() const
GetMetricStreamResult & WithIncludeLinkedAccountsMetrics(bool value)
GetMetricStreamResult & WithName(const char *value)
GetMetricStreamResult & WithRoleArn(const char *value)
GetMetricStreamResult & WithExcludeFilters(const Aws::Vector< MetricStreamFilter > &value)
GetMetricStreamResult & WithResponseMetadata(const ResponseMetadata &value)
void SetStatisticsConfigurations(const Aws::Vector< MetricStreamStatisticsConfiguration > &value)
GetMetricStreamResult & WithRoleArn(Aws::String &&value)
GetMetricStreamResult & WithStatisticsConfigurations(Aws::Vector< MetricStreamStatisticsConfiguration > &&value)
const Aws::Utils::DateTime & GetCreationDate() const
GetMetricStreamResult & AddExcludeFilters(MetricStreamFilter &&value)
void SetResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument