AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMetricSetResult.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lookoutmetrics/model/TimestampColumn.h>
12#include <aws/lookoutmetrics/model/Frequency.h>
13#include <aws/lookoutmetrics/model/MetricSource.h>
14#include <aws/lookoutmetrics/model/Metric.h>
15#include <aws/lookoutmetrics/model/MetricSetDimensionFilter.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace LookoutMetrics
31{
32namespace Model
33{
35 {
36 public:
37 AWS_LOOKOUTMETRICS_API DescribeMetricSetResult();
40
41
43
46 inline const Aws::String& GetMetricSetArn() const{ return m_metricSetArn; }
47 inline void SetMetricSetArn(const Aws::String& value) { m_metricSetArn = value; }
48 inline void SetMetricSetArn(Aws::String&& value) { m_metricSetArn = std::move(value); }
49 inline void SetMetricSetArn(const char* value) { m_metricSetArn.assign(value); }
50 inline DescribeMetricSetResult& WithMetricSetArn(const Aws::String& value) { SetMetricSetArn(value); return *this;}
51 inline DescribeMetricSetResult& WithMetricSetArn(Aws::String&& value) { SetMetricSetArn(std::move(value)); return *this;}
52 inline DescribeMetricSetResult& WithMetricSetArn(const char* value) { SetMetricSetArn(value); return *this;}
54
56
59 inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
60 inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArn = value; }
61 inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArn = std::move(value); }
62 inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArn.assign(value); }
64 inline DescribeMetricSetResult& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
65 inline DescribeMetricSetResult& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
67
69
72 inline const Aws::String& GetMetricSetName() const{ return m_metricSetName; }
73 inline void SetMetricSetName(const Aws::String& value) { m_metricSetName = value; }
74 inline void SetMetricSetName(Aws::String&& value) { m_metricSetName = std::move(value); }
75 inline void SetMetricSetName(const char* value) { m_metricSetName.assign(value); }
76 inline DescribeMetricSetResult& WithMetricSetName(const Aws::String& value) { SetMetricSetName(value); return *this;}
77 inline DescribeMetricSetResult& WithMetricSetName(Aws::String&& value) { SetMetricSetName(std::move(value)); return *this;}
78 inline DescribeMetricSetResult& WithMetricSetName(const char* value) { SetMetricSetName(value); return *this;}
80
82
85 inline const Aws::String& GetMetricSetDescription() const{ return m_metricSetDescription; }
86 inline void SetMetricSetDescription(const Aws::String& value) { m_metricSetDescription = value; }
87 inline void SetMetricSetDescription(Aws::String&& value) { m_metricSetDescription = std::move(value); }
88 inline void SetMetricSetDescription(const char* value) { m_metricSetDescription.assign(value); }
90 inline DescribeMetricSetResult& WithMetricSetDescription(Aws::String&& value) { SetMetricSetDescription(std::move(value)); return *this;}
91 inline DescribeMetricSetResult& WithMetricSetDescription(const char* value) { SetMetricSetDescription(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
99 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
100 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
102 inline DescribeMetricSetResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
110 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
111 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
115
117
122 inline int GetOffset() const{ return m_offset; }
123 inline void SetOffset(int value) { m_offset = value; }
124 inline DescribeMetricSetResult& WithOffset(int value) { SetOffset(value); return *this;}
126
128
131 inline const Aws::Vector<Metric>& GetMetricList() const{ return m_metricList; }
132 inline void SetMetricList(const Aws::Vector<Metric>& value) { m_metricList = value; }
133 inline void SetMetricList(Aws::Vector<Metric>&& value) { m_metricList = std::move(value); }
134 inline DescribeMetricSetResult& WithMetricList(const Aws::Vector<Metric>& value) { SetMetricList(value); return *this;}
135 inline DescribeMetricSetResult& WithMetricList(Aws::Vector<Metric>&& value) { SetMetricList(std::move(value)); return *this;}
136 inline DescribeMetricSetResult& AddMetricList(const Metric& value) { m_metricList.push_back(value); return *this; }
137 inline DescribeMetricSetResult& AddMetricList(Metric&& value) { m_metricList.push_back(std::move(value)); return *this; }
139
141
145 inline const TimestampColumn& GetTimestampColumn() const{ return m_timestampColumn; }
146 inline void SetTimestampColumn(const TimestampColumn& value) { m_timestampColumn = value; }
147 inline void SetTimestampColumn(TimestampColumn&& value) { m_timestampColumn = std::move(value); }
149 inline DescribeMetricSetResult& WithTimestampColumn(TimestampColumn&& value) { SetTimestampColumn(std::move(value)); return *this;}
151
153
156 inline const Aws::Vector<Aws::String>& GetDimensionList() const{ return m_dimensionList; }
157 inline void SetDimensionList(const Aws::Vector<Aws::String>& value) { m_dimensionList = value; }
158 inline void SetDimensionList(Aws::Vector<Aws::String>&& value) { m_dimensionList = std::move(value); }
160 inline DescribeMetricSetResult& WithDimensionList(Aws::Vector<Aws::String>&& value) { SetDimensionList(std::move(value)); return *this;}
161 inline DescribeMetricSetResult& AddDimensionList(const Aws::String& value) { m_dimensionList.push_back(value); return *this; }
162 inline DescribeMetricSetResult& AddDimensionList(Aws::String&& value) { m_dimensionList.push_back(std::move(value)); return *this; }
163 inline DescribeMetricSetResult& AddDimensionList(const char* value) { m_dimensionList.push_back(value); return *this; }
165
167
170 inline const Frequency& GetMetricSetFrequency() const{ return m_metricSetFrequency; }
171 inline void SetMetricSetFrequency(const Frequency& value) { m_metricSetFrequency = value; }
172 inline void SetMetricSetFrequency(Frequency&& value) { m_metricSetFrequency = std::move(value); }
174 inline DescribeMetricSetResult& WithMetricSetFrequency(Frequency&& value) { SetMetricSetFrequency(std::move(value)); return *this;}
176
178
181 inline const Aws::String& GetTimezone() const{ return m_timezone; }
182 inline void SetTimezone(const Aws::String& value) { m_timezone = value; }
183 inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); }
184 inline void SetTimezone(const char* value) { m_timezone.assign(value); }
185 inline DescribeMetricSetResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
186 inline DescribeMetricSetResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
187 inline DescribeMetricSetResult& WithTimezone(const char* value) { SetTimezone(value); return *this;}
189
191
194 inline const MetricSource& GetMetricSource() const{ return m_metricSource; }
195 inline void SetMetricSource(const MetricSource& value) { m_metricSource = value; }
196 inline void SetMetricSource(MetricSource&& value) { m_metricSource = std::move(value); }
197 inline DescribeMetricSetResult& WithMetricSource(const MetricSource& value) { SetMetricSource(value); return *this;}
198 inline DescribeMetricSetResult& WithMetricSource(MetricSource&& value) { SetMetricSource(std::move(value)); return *this;}
200
202
205 inline const Aws::Vector<MetricSetDimensionFilter>& GetDimensionFilterList() const{ return m_dimensionFilterList; }
206 inline void SetDimensionFilterList(const Aws::Vector<MetricSetDimensionFilter>& value) { m_dimensionFilterList = value; }
207 inline void SetDimensionFilterList(Aws::Vector<MetricSetDimensionFilter>&& value) { m_dimensionFilterList = std::move(value); }
210 inline DescribeMetricSetResult& AddDimensionFilterList(const MetricSetDimensionFilter& value) { m_dimensionFilterList.push_back(value); return *this; }
211 inline DescribeMetricSetResult& AddDimensionFilterList(MetricSetDimensionFilter&& value) { m_dimensionFilterList.push_back(std::move(value)); return *this; }
213
215
216 inline const Aws::String& GetRequestId() const{ return m_requestId; }
217 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
218 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
219 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
220 inline DescribeMetricSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
221 inline DescribeMetricSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
222 inline DescribeMetricSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
224 private:
225
226 Aws::String m_metricSetArn;
227
228 Aws::String m_anomalyDetectorArn;
229
230 Aws::String m_metricSetName;
231
232 Aws::String m_metricSetDescription;
233
234 Aws::Utils::DateTime m_creationTime;
235
236 Aws::Utils::DateTime m_lastModificationTime;
237
238 int m_offset;
239
240 Aws::Vector<Metric> m_metricList;
241
242 TimestampColumn m_timestampColumn;
243
244 Aws::Vector<Aws::String> m_dimensionList;
245
246 Frequency m_metricSetFrequency;
247
248 Aws::String m_timezone;
249
250 MetricSource m_metricSource;
251
252 Aws::Vector<MetricSetDimensionFilter> m_dimensionFilterList;
253
254 Aws::String m_requestId;
255 };
256
257} // namespace Model
258} // namespace LookoutMetrics
259} // namespace Aws
DescribeMetricSetResult & WithMetricSetArn(const char *value)
DescribeMetricSetResult & WithMetricSetDescription(const char *value)
DescribeMetricSetResult & WithDimensionList(Aws::Vector< Aws::String > &&value)
DescribeMetricSetResult & WithTimestampColumn(const TimestampColumn &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
DescribeMetricSetResult & WithTimestampColumn(TimestampColumn &&value)
DescribeMetricSetResult & WithAnomalyDetectorArn(const char *value)
DescribeMetricSetResult & WithRequestId(const char *value)
DescribeMetricSetResult & WithTimezone(const Aws::String &value)
DescribeMetricSetResult & WithMetricSetArn(const Aws::String &value)
DescribeMetricSetResult & WithMetricSource(const MetricSource &value)
DescribeMetricSetResult & WithMetricSetName(Aws::String &&value)
DescribeMetricSetResult & WithMetricList(const Aws::Vector< Metric > &value)
AWS_LOOKOUTMETRICS_API DescribeMetricSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMetricSetResult & WithMetricSetDescription(Aws::String &&value)
DescribeMetricSetResult & WithMetricSetName(const Aws::String &value)
void SetDimensionList(const Aws::Vector< Aws::String > &value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetDimensionList() const
void SetDimensionFilterList(const Aws::Vector< MetricSetDimensionFilter > &value)
DescribeMetricSetResult & WithMetricSetName(const char *value)
DescribeMetricSetResult & WithDimensionFilterList(Aws::Vector< MetricSetDimensionFilter > &&value)
DescribeMetricSetResult & WithDimensionList(const Aws::Vector< Aws::String > &value)
const Aws::Vector< MetricSetDimensionFilter > & GetDimensionFilterList() const
void SetMetricList(const Aws::Vector< Metric > &value)
DescribeMetricSetResult & WithMetricSource(MetricSource &&value)
DescribeMetricSetResult & WithAnomalyDetectorArn(Aws::String &&value)
DescribeMetricSetResult & AddDimensionList(Aws::String &&value)
DescribeMetricSetResult & AddDimensionFilterList(const MetricSetDimensionFilter &value)
DescribeMetricSetResult & AddDimensionList(const char *value)
DescribeMetricSetResult & WithTimezone(Aws::String &&value)
AWS_LOOKOUTMETRICS_API DescribeMetricSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDimensionFilterList(Aws::Vector< MetricSetDimensionFilter > &&value)
void SetDimensionList(Aws::Vector< Aws::String > &&value)
DescribeMetricSetResult & WithMetricList(Aws::Vector< Metric > &&value)
DescribeMetricSetResult & WithMetricSetFrequency(Frequency &&value)
DescribeMetricSetResult & WithMetricSetFrequency(const Frequency &value)
DescribeMetricSetResult & WithRequestId(Aws::String &&value)
DescribeMetricSetResult & WithRequestId(const Aws::String &value)
DescribeMetricSetResult & WithDimensionFilterList(const Aws::Vector< MetricSetDimensionFilter > &value)
DescribeMetricSetResult & AddMetricList(const Metric &value)
DescribeMetricSetResult & WithMetricSetArn(Aws::String &&value)
DescribeMetricSetResult & WithMetricSetDescription(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeMetricSetResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeMetricSetResult & WithAnomalyDetectorArn(const Aws::String &value)
DescribeMetricSetResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
DescribeMetricSetResult & AddMetricList(Metric &&value)
DescribeMetricSetResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
DescribeMetricSetResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeMetricSetResult & AddDimensionFilterList(MetricSetDimensionFilter &&value)
DescribeMetricSetResult & AddDimensionList(const Aws::String &value)
DescribeMetricSetResult & WithTimezone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue