AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFleetMetricResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/AggregationType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/FleetMetricUnit.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetMetricName() const{ return m_metricName; }
43 inline void SetMetricName(const Aws::String& value) { m_metricName = value; }
44 inline void SetMetricName(Aws::String&& value) { m_metricName = std::move(value); }
45 inline void SetMetricName(const char* value) { m_metricName.assign(value); }
46 inline DescribeFleetMetricResult& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
47 inline DescribeFleetMetricResult& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
48 inline DescribeFleetMetricResult& WithMetricName(const char* value) { SetMetricName(value); return *this;}
50
52
55 inline const Aws::String& GetQueryString() const{ return m_queryString; }
56 inline void SetQueryString(const Aws::String& value) { m_queryString = value; }
57 inline void SetQueryString(Aws::String&& value) { m_queryString = std::move(value); }
58 inline void SetQueryString(const char* value) { m_queryString.assign(value); }
59 inline DescribeFleetMetricResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
60 inline DescribeFleetMetricResult& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
61 inline DescribeFleetMetricResult& WithQueryString(const char* value) { SetQueryString(value); return *this;}
63
65
68 inline const AggregationType& GetAggregationType() const{ return m_aggregationType; }
69 inline void SetAggregationType(const AggregationType& value) { m_aggregationType = value; }
70 inline void SetAggregationType(AggregationType&& value) { m_aggregationType = std::move(value); }
72 inline DescribeFleetMetricResult& WithAggregationType(AggregationType&& value) { SetAggregationType(std::move(value)); return *this;}
74
76
80 inline int GetPeriod() const{ return m_period; }
81 inline void SetPeriod(int value) { m_period = value; }
82 inline DescribeFleetMetricResult& WithPeriod(int value) { SetPeriod(value); return *this;}
84
86
89 inline const Aws::String& GetAggregationField() const{ return m_aggregationField; }
90 inline void SetAggregationField(const Aws::String& value) { m_aggregationField = value; }
91 inline void SetAggregationField(Aws::String&& value) { m_aggregationField = std::move(value); }
92 inline void SetAggregationField(const char* value) { m_aggregationField.assign(value); }
94 inline DescribeFleetMetricResult& WithAggregationField(Aws::String&& value) { SetAggregationField(std::move(value)); return *this;}
95 inline DescribeFleetMetricResult& WithAggregationField(const char* value) { SetAggregationField(value); return *this;}
97
99
102 inline const Aws::String& GetDescription() const{ return m_description; }
103 inline void SetDescription(const Aws::String& value) { m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_description.assign(value); }
106 inline DescribeFleetMetricResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline DescribeFleetMetricResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline DescribeFleetMetricResult& WithDescription(const char* value) { SetDescription(value); return *this;}
110
112
115 inline const Aws::String& GetQueryVersion() const{ return m_queryVersion; }
116 inline void SetQueryVersion(const Aws::String& value) { m_queryVersion = value; }
117 inline void SetQueryVersion(Aws::String&& value) { m_queryVersion = std::move(value); }
118 inline void SetQueryVersion(const char* value) { m_queryVersion.assign(value); }
119 inline DescribeFleetMetricResult& WithQueryVersion(const Aws::String& value) { SetQueryVersion(value); return *this;}
120 inline DescribeFleetMetricResult& WithQueryVersion(Aws::String&& value) { SetQueryVersion(std::move(value)); return *this;}
121 inline DescribeFleetMetricResult& WithQueryVersion(const char* value) { SetQueryVersion(value); return *this;}
123
125
128 inline const Aws::String& GetIndexName() const{ return m_indexName; }
129 inline void SetIndexName(const Aws::String& value) { m_indexName = value; }
130 inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); }
131 inline void SetIndexName(const char* value) { m_indexName.assign(value); }
132 inline DescribeFleetMetricResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
133 inline DescribeFleetMetricResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
134 inline DescribeFleetMetricResult& WithIndexName(const char* value) { SetIndexName(value); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
142 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
143 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
145 inline DescribeFleetMetricResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
153 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
154 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
158
160
166 inline const FleetMetricUnit& GetUnit() const{ return m_unit; }
167 inline void SetUnit(const FleetMetricUnit& value) { m_unit = value; }
168 inline void SetUnit(FleetMetricUnit&& value) { m_unit = std::move(value); }
169 inline DescribeFleetMetricResult& WithUnit(const FleetMetricUnit& value) { SetUnit(value); return *this;}
170 inline DescribeFleetMetricResult& WithUnit(FleetMetricUnit&& value) { SetUnit(std::move(value)); return *this;}
172
174
177 inline long long GetVersion() const{ return m_version; }
178 inline void SetVersion(long long value) { m_version = value; }
179 inline DescribeFleetMetricResult& WithVersion(long long value) { SetVersion(value); return *this;}
181
183
186 inline const Aws::String& GetMetricArn() const{ return m_metricArn; }
187 inline void SetMetricArn(const Aws::String& value) { m_metricArn = value; }
188 inline void SetMetricArn(Aws::String&& value) { m_metricArn = std::move(value); }
189 inline void SetMetricArn(const char* value) { m_metricArn.assign(value); }
190 inline DescribeFleetMetricResult& WithMetricArn(const Aws::String& value) { SetMetricArn(value); return *this;}
191 inline DescribeFleetMetricResult& WithMetricArn(Aws::String&& value) { SetMetricArn(std::move(value)); return *this;}
192 inline DescribeFleetMetricResult& WithMetricArn(const char* value) { SetMetricArn(value); return *this;}
194
196
197 inline const Aws::String& GetRequestId() const{ return m_requestId; }
198 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
199 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
200 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
201 inline DescribeFleetMetricResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
202 inline DescribeFleetMetricResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
203 inline DescribeFleetMetricResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
205 private:
206
207 Aws::String m_metricName;
208
209 Aws::String m_queryString;
210
211 AggregationType m_aggregationType;
212
213 int m_period;
214
215 Aws::String m_aggregationField;
216
217 Aws::String m_description;
218
219 Aws::String m_queryVersion;
220
221 Aws::String m_indexName;
222
223 Aws::Utils::DateTime m_creationDate;
224
225 Aws::Utils::DateTime m_lastModifiedDate;
226
227 FleetMetricUnit m_unit;
228
229 long long m_version;
230
231 Aws::String m_metricArn;
232
233 Aws::String m_requestId;
234 };
235
236} // namespace Model
237} // namespace IoT
238} // namespace Aws
DescribeFleetMetricResult & WithPeriod(int value)
DescribeFleetMetricResult & WithIndexName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeFleetMetricResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeFleetMetricResult & WithRequestId(const Aws::String &value)
AWS_IOT_API DescribeFleetMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeFleetMetricResult & WithUnit(const FleetMetricUnit &value)
DescribeFleetMetricResult & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API DescribeFleetMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetMetricResult & WithMetricName(const char *value)
DescribeFleetMetricResult & WithAggregationField(const char *value)
DescribeFleetMetricResult & WithAggregationType(AggregationType &&value)
DescribeFleetMetricResult & WithAggregationType(const AggregationType &value)
DescribeFleetMetricResult & WithUnit(FleetMetricUnit &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeFleetMetricResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeFleetMetricResult & WithAggregationField(Aws::String &&value)
DescribeFleetMetricResult & WithQueryString(const Aws::String &value)
DescribeFleetMetricResult & WithQueryVersion(const Aws::String &value)
DescribeFleetMetricResult & WithQueryVersion(const char *value)
DescribeFleetMetricResult & WithMetricArn(const Aws::String &value)
DescribeFleetMetricResult & WithRequestId(Aws::String &&value)
DescribeFleetMetricResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeFleetMetricResult & WithIndexName(const Aws::String &value)
DescribeFleetMetricResult & WithVersion(long long value)
DescribeFleetMetricResult & WithDescription(const Aws::String &value)
DescribeFleetMetricResult & WithIndexName(const char *value)
DescribeFleetMetricResult & WithMetricName(const Aws::String &value)
DescribeFleetMetricResult & WithQueryVersion(Aws::String &&value)
DescribeFleetMetricResult & WithMetricArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetCreationDate(Aws::Utils::DateTime &&value)
DescribeFleetMetricResult & WithQueryString(const char *value)
DescribeFleetMetricResult & WithMetricName(Aws::String &&value)
DescribeFleetMetricResult & WithRequestId(const char *value)
DescribeFleetMetricResult & WithDescription(const char *value)
void SetAggregationType(const AggregationType &value)
DescribeFleetMetricResult & WithDescription(Aws::String &&value)
DescribeFleetMetricResult & WithQueryString(Aws::String &&value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeFleetMetricResult & WithMetricArn(const char *value)
DescribeFleetMetricResult & WithAggregationField(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue