AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeFleetMetricResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace IoT
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetMetricName() const{ return m_metricName; }
42 
46  inline void SetMetricName(const Aws::String& value) { m_metricName = value; }
47 
51  inline void SetMetricName(Aws::String&& value) { m_metricName = std::move(value); }
52 
56  inline void SetMetricName(const char* value) { m_metricName.assign(value); }
57 
61  inline DescribeFleetMetricResult& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
62 
66  inline DescribeFleetMetricResult& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
67 
71  inline DescribeFleetMetricResult& WithMetricName(const char* value) { SetMetricName(value); return *this;}
72 
73 
77  inline const Aws::String& GetQueryString() const{ return m_queryString; }
78 
82  inline void SetQueryString(const Aws::String& value) { m_queryString = value; }
83 
87  inline void SetQueryString(Aws::String&& value) { m_queryString = std::move(value); }
88 
92  inline void SetQueryString(const char* value) { m_queryString.assign(value); }
93 
97  inline DescribeFleetMetricResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
98 
102  inline DescribeFleetMetricResult& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
103 
107  inline DescribeFleetMetricResult& WithQueryString(const char* value) { SetQueryString(value); return *this;}
108 
109 
113  inline const AggregationType& GetAggregationType() const{ return m_aggregationType; }
114 
118  inline void SetAggregationType(const AggregationType& value) { m_aggregationType = value; }
119 
123  inline void SetAggregationType(AggregationType&& value) { m_aggregationType = std::move(value); }
124 
128  inline DescribeFleetMetricResult& WithAggregationType(const AggregationType& value) { SetAggregationType(value); return *this;}
129 
133  inline DescribeFleetMetricResult& WithAggregationType(AggregationType&& value) { SetAggregationType(std::move(value)); return *this;}
134 
135 
140  inline int GetPeriod() const{ return m_period; }
141 
146  inline void SetPeriod(int value) { m_period = value; }
147 
152  inline DescribeFleetMetricResult& WithPeriod(int value) { SetPeriod(value); return *this;}
153 
154 
158  inline const Aws::String& GetAggregationField() const{ return m_aggregationField; }
159 
163  inline void SetAggregationField(const Aws::String& value) { m_aggregationField = value; }
164 
168  inline void SetAggregationField(Aws::String&& value) { m_aggregationField = std::move(value); }
169 
173  inline void SetAggregationField(const char* value) { m_aggregationField.assign(value); }
174 
178  inline DescribeFleetMetricResult& WithAggregationField(const Aws::String& value) { SetAggregationField(value); return *this;}
179 
183  inline DescribeFleetMetricResult& WithAggregationField(Aws::String&& value) { SetAggregationField(std::move(value)); return *this;}
184 
188  inline DescribeFleetMetricResult& WithAggregationField(const char* value) { SetAggregationField(value); return *this;}
189 
190 
194  inline const Aws::String& GetDescription() const{ return m_description; }
195 
199  inline void SetDescription(const Aws::String& value) { m_description = value; }
200 
204  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
205 
209  inline void SetDescription(const char* value) { m_description.assign(value); }
210 
214  inline DescribeFleetMetricResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
215 
219  inline DescribeFleetMetricResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
220 
224  inline DescribeFleetMetricResult& WithDescription(const char* value) { SetDescription(value); return *this;}
225 
226 
230  inline const Aws::String& GetQueryVersion() const{ return m_queryVersion; }
231 
235  inline void SetQueryVersion(const Aws::String& value) { m_queryVersion = value; }
236 
240  inline void SetQueryVersion(Aws::String&& value) { m_queryVersion = std::move(value); }
241 
245  inline void SetQueryVersion(const char* value) { m_queryVersion.assign(value); }
246 
250  inline DescribeFleetMetricResult& WithQueryVersion(const Aws::String& value) { SetQueryVersion(value); return *this;}
251 
255  inline DescribeFleetMetricResult& WithQueryVersion(Aws::String&& value) { SetQueryVersion(std::move(value)); return *this;}
256 
260  inline DescribeFleetMetricResult& WithQueryVersion(const char* value) { SetQueryVersion(value); return *this;}
261 
262 
266  inline const Aws::String& GetIndexName() const{ return m_indexName; }
267 
271  inline void SetIndexName(const Aws::String& value) { m_indexName = value; }
272 
276  inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); }
277 
281  inline void SetIndexName(const char* value) { m_indexName.assign(value); }
282 
286  inline DescribeFleetMetricResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
287 
291  inline DescribeFleetMetricResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
292 
296  inline DescribeFleetMetricResult& WithIndexName(const char* value) { SetIndexName(value); return *this;}
297 
298 
302  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
303 
307  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
308 
312  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
313 
317  inline DescribeFleetMetricResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
318 
322  inline DescribeFleetMetricResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
323 
324 
328  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
329 
333  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
334 
338  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
339 
343  inline DescribeFleetMetricResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
344 
348  inline DescribeFleetMetricResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
349 
350 
357  inline const FleetMetricUnit& GetUnit() const{ return m_unit; }
358 
365  inline void SetUnit(const FleetMetricUnit& value) { m_unit = value; }
366 
373  inline void SetUnit(FleetMetricUnit&& value) { m_unit = std::move(value); }
374 
381  inline DescribeFleetMetricResult& WithUnit(const FleetMetricUnit& value) { SetUnit(value); return *this;}
382 
389  inline DescribeFleetMetricResult& WithUnit(FleetMetricUnit&& value) { SetUnit(std::move(value)); return *this;}
390 
391 
395  inline long long GetVersion() const{ return m_version; }
396 
400  inline void SetVersion(long long value) { m_version = value; }
401 
405  inline DescribeFleetMetricResult& WithVersion(long long value) { SetVersion(value); return *this;}
406 
407 
411  inline const Aws::String& GetMetricArn() const{ return m_metricArn; }
412 
416  inline void SetMetricArn(const Aws::String& value) { m_metricArn = value; }
417 
421  inline void SetMetricArn(Aws::String&& value) { m_metricArn = std::move(value); }
422 
426  inline void SetMetricArn(const char* value) { m_metricArn.assign(value); }
427 
431  inline DescribeFleetMetricResult& WithMetricArn(const Aws::String& value) { SetMetricArn(value); return *this;}
432 
436  inline DescribeFleetMetricResult& WithMetricArn(Aws::String&& value) { SetMetricArn(std::move(value)); return *this;}
437 
441  inline DescribeFleetMetricResult& WithMetricArn(const char* value) { SetMetricArn(value); return *this;}
442 
443  private:
444 
445  Aws::String m_metricName;
446 
447  Aws::String m_queryString;
448 
449  AggregationType m_aggregationType;
450 
451  int m_period;
452 
453  Aws::String m_aggregationField;
454 
455  Aws::String m_description;
456 
457  Aws::String m_queryVersion;
458 
459  Aws::String m_indexName;
460 
461  Aws::Utils::DateTime m_creationDate;
462 
463  Aws::Utils::DateTime m_lastModifiedDate;
464 
465  FleetMetricUnit m_unit;
466 
467  long long m_version;
468 
469  Aws::String m_metricArn;
470  };
471 
472 } // namespace Model
473 } // namespace IoT
474 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeFleetMetricResult::WithAggregationField
DescribeFleetMetricResult & WithAggregationField(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:183
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::AggregationType
Definition: AggregationType.h:34
Aws::IoT::Model::DescribeFleetMetricResult::WithQueryString
DescribeFleetMetricResult & WithQueryString(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:102
Aws::IoT::Model::DescribeFleetMetricResult::WithUnit
DescribeFleetMetricResult & WithUnit(const FleetMetricUnit &value)
Definition: DescribeFleetMetricResult.h:381
FleetMetricUnit.h
Aws::IoT::Model::DescribeFleetMetricResult::GetVersion
long long GetVersion() const
Definition: DescribeFleetMetricResult.h:395
Aws::IoT::Model::DescribeFleetMetricResult::WithLastModifiedDate
DescribeFleetMetricResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeFleetMetricResult.h:348
Aws::IoT::Model::DescribeFleetMetricResult::SetPeriod
void SetPeriod(int value)
Definition: DescribeFleetMetricResult.h:146
Aws::IoT::Model::DescribeFleetMetricResult::SetQueryVersion
void SetQueryVersion(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:235
AggregationType.h
Aws::IoT::Model::DescribeFleetMetricResult::GetUnit
const FleetMetricUnit & GetUnit() const
Definition: DescribeFleetMetricResult.h:357
Aws::IoT::Model::DescribeFleetMetricResult::SetIndexName
void SetIndexName(const char *value)
Definition: DescribeFleetMetricResult.h:281
Aws::IoT::Model::DescribeFleetMetricResult::GetQueryString
const Aws::String & GetQueryString() const
Definition: DescribeFleetMetricResult.h:77
Aws::IoT::Model::DescribeFleetMetricResult::WithCreationDate
DescribeFleetMetricResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeFleetMetricResult.h:322
Aws::IoT::Model::DescribeFleetMetricResult::GetAggregationType
const AggregationType & GetAggregationType() const
Definition: DescribeFleetMetricResult.h:113
DateTime.h
Aws::IoT::Model::DescribeFleetMetricResult::DescribeFleetMetricResult
DescribeFleetMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeFleetMetricResult::operator=
DescribeFleetMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeFleetMetricResult::WithAggregationType
DescribeFleetMetricResult & WithAggregationType(AggregationType &&value)
Definition: DescribeFleetMetricResult.h:133
Aws::IoT::Model::DescribeFleetMetricResult::GetMetricArn
const Aws::String & GetMetricArn() const
Definition: DescribeFleetMetricResult.h:411
Aws::IoT::Model::DescribeFleetMetricResult::WithVersion
DescribeFleetMetricResult & WithVersion(long long value)
Definition: DescribeFleetMetricResult.h:405
Aws::IoT::Model::DescribeFleetMetricResult::WithAggregationType
DescribeFleetMetricResult & WithAggregationType(const AggregationType &value)
Definition: DescribeFleetMetricResult.h:128
Aws::IoT::Model::DescribeFleetMetricResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeFleetMetricResult.h:307
Aws::IoT::Model::DescribeFleetMetricResult::SetIndexName
void SetIndexName(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:271
Aws::IoT::Model::DescribeFleetMetricResult::SetMetricName
void SetMetricName(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:46
Aws::IoT::Model::DescribeFleetMetricResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:204
Aws::IoT::Model::DescribeFleetMetricResult::SetUnit
void SetUnit(const FleetMetricUnit &value)
Definition: DescribeFleetMetricResult.h:365
Aws::IoT::Model::FleetMetricUnit
FleetMetricUnit
Definition: FleetMetricUnit.h:17
Aws::IoT::Model::DescribeFleetMetricResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeFleetMetricResult.h:333
Aws::IoT::Model::DescribeFleetMetricResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: DescribeFleetMetricResult.h:328
Aws::IoT::Model::DescribeFleetMetricResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeFleetMetricResult.h:194
Aws::IoT::Model::DescribeFleetMetricResult::WithIndexName
DescribeFleetMetricResult & WithIndexName(const char *value)
Definition: DescribeFleetMetricResult.h:296
Aws::IoT::Model::DescribeFleetMetricResult::SetMetricArn
void SetMetricArn(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:421
Aws::IoT::Model::DescribeFleetMetricResult::SetAggregationField
void SetAggregationField(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:168
Aws::IoT::Model::DescribeFleetMetricResult::SetAggregationField
void SetAggregationField(const char *value)
Definition: DescribeFleetMetricResult.h:173
Aws::IoT::Model::DescribeFleetMetricResult::SetUnit
void SetUnit(FleetMetricUnit &&value)
Definition: DescribeFleetMetricResult.h:373
Aws::IoT::Model::DescribeFleetMetricResult::WithMetricArn
DescribeFleetMetricResult & WithMetricArn(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:431
Aws::IoT::Model::DescribeFleetMetricResult::SetAggregationField
void SetAggregationField(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:163
Aws::IoT::Model::DescribeFleetMetricResult::WithQueryVersion
DescribeFleetMetricResult & WithQueryVersion(const char *value)
Definition: DescribeFleetMetricResult.h:260
Aws::IoT::Model::DescribeFleetMetricResult::SetIndexName
void SetIndexName(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:276
Aws::IoT::Model::DescribeFleetMetricResult::SetQueryString
void SetQueryString(const char *value)
Definition: DescribeFleetMetricResult.h:92
Aws::IoT::Model::DescribeFleetMetricResult::SetAggregationType
void SetAggregationType(const AggregationType &value)
Definition: DescribeFleetMetricResult.h:118
Aws::IoT::Model::DescribeFleetMetricResult::WithMetricArn
DescribeFleetMetricResult & WithMetricArn(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:436
Aws::IoT::Model::DescribeFleetMetricResult::WithMetricName
DescribeFleetMetricResult & WithMetricName(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:66
Aws::IoT::Model::DescribeFleetMetricResult::WithAggregationField
DescribeFleetMetricResult & WithAggregationField(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:178
Aws::IoT::Model::DescribeFleetMetricResult::GetPeriod
int GetPeriod() const
Definition: DescribeFleetMetricResult.h:140
Aws::IoT::Model::DescribeFleetMetricResult::SetMetricArn
void SetMetricArn(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:416
Aws::IoT::Model::DescribeFleetMetricResult::GetAggregationField
const Aws::String & GetAggregationField() const
Definition: DescribeFleetMetricResult.h:158
AWSString.h
Aws::IoT::Model::DescribeFleetMetricResult::SetQueryString
void SetQueryString(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:82
Aws::IoT::Model::DescribeFleetMetricResult::WithDescription
DescribeFleetMetricResult & WithDescription(const char *value)
Definition: DescribeFleetMetricResult.h:224
Aws::IoT::Model::DescribeFleetMetricResult::WithQueryString
DescribeFleetMetricResult & WithQueryString(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:97
Aws::IoT::Model::DescribeFleetMetricResult::WithUnit
DescribeFleetMetricResult & WithUnit(FleetMetricUnit &&value)
Definition: DescribeFleetMetricResult.h:389
Aws::IoT::Model::DescribeFleetMetricResult::WithAggregationField
DescribeFleetMetricResult & WithAggregationField(const char *value)
Definition: DescribeFleetMetricResult.h:188
Aws::IoT::Model::DescribeFleetMetricResult::WithMetricArn
DescribeFleetMetricResult & WithMetricArn(const char *value)
Definition: DescribeFleetMetricResult.h:441
Aws::IoT::Model::DescribeFleetMetricResult::SetVersion
void SetVersion(long long value)
Definition: DescribeFleetMetricResult.h:400
Aws::IoT::Model::DescribeFleetMetricResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeFleetMetricResult.h:312
Aws::IoT::Model::DescribeFleetMetricResult::WithDescription
DescribeFleetMetricResult & WithDescription(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:219
Aws::IoT::Model::DescribeFleetMetricResult::SetQueryVersion
void SetQueryVersion(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:240
Aws::IoT::Model::DescribeFleetMetricResult::GetMetricName
const Aws::String & GetMetricName() const
Definition: DescribeFleetMetricResult.h:41
Aws::IoT::Model::DescribeFleetMetricResult::WithIndexName
DescribeFleetMetricResult & WithIndexName(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:291
Aws::IoT::Model::DescribeFleetMetricResult::GetQueryVersion
const Aws::String & GetQueryVersion() const
Definition: DescribeFleetMetricResult.h:230
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeFleetMetricResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeFleetMetricResult.h:209
Aws::IoT::Model::DescribeFleetMetricResult::GetIndexName
const Aws::String & GetIndexName() const
Definition: DescribeFleetMetricResult.h:266
Aws::IoT::Model::DescribeFleetMetricResult::WithQueryVersion
DescribeFleetMetricResult & WithQueryVersion(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:255
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::DescribeFleetMetricResult::WithMetricName
DescribeFleetMetricResult & WithMetricName(const char *value)
Definition: DescribeFleetMetricResult.h:71
Aws::IoT::Model::DescribeFleetMetricResult::WithLastModifiedDate
DescribeFleetMetricResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeFleetMetricResult.h:343
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeFleetMetricResult::WithCreationDate
DescribeFleetMetricResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeFleetMetricResult.h:317
Aws::IoT::Model::DescribeFleetMetricResult::SetQueryString
void SetQueryString(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:87
Aws::IoT::Model::DescribeFleetMetricResult::SetMetricArn
void SetMetricArn(const char *value)
Definition: DescribeFleetMetricResult.h:426
Aws::IoT::Model::DescribeFleetMetricResult::SetMetricName
void SetMetricName(Aws::String &&value)
Definition: DescribeFleetMetricResult.h:51
Aws::IoT::Model::DescribeFleetMetricResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeFleetMetricResult.h:338
Aws::IoT::Model::DescribeFleetMetricResult::SetMetricName
void SetMetricName(const char *value)
Definition: DescribeFleetMetricResult.h:56
Aws::IoT::Model::DescribeFleetMetricResult
Definition: DescribeFleetMetricResult.h:31
Aws::IoT::Model::DescribeFleetMetricResult::WithIndexName
DescribeFleetMetricResult & WithIndexName(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:286
Aws::IoT::Model::DescribeFleetMetricResult::WithQueryVersion
DescribeFleetMetricResult & WithQueryVersion(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:250
Aws::IoT::Model::DescribeFleetMetricResult::WithMetricName
DescribeFleetMetricResult & WithMetricName(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:61
Aws::IoT::Model::DescribeFleetMetricResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:199
Aws::IoT::Model::DescribeFleetMetricResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeFleetMetricResult.h:302
Aws::IoT::Model::DescribeFleetMetricResult::DescribeFleetMetricResult
DescribeFleetMetricResult()
Aws::IoT::Model::DescribeFleetMetricResult::WithPeriod
DescribeFleetMetricResult & WithPeriod(int value)
Definition: DescribeFleetMetricResult.h:152
Aws::IoT::Model::DescribeFleetMetricResult::SetAggregationType
void SetAggregationType(AggregationType &&value)
Definition: DescribeFleetMetricResult.h:123
Aws::IoT::Model::DescribeFleetMetricResult::WithQueryString
DescribeFleetMetricResult & WithQueryString(const char *value)
Definition: DescribeFleetMetricResult.h:107
Aws::IoT::Model::DescribeFleetMetricResult::WithDescription
DescribeFleetMetricResult & WithDescription(const Aws::String &value)
Definition: DescribeFleetMetricResult.h:214
Aws::IoT::Model::DescribeFleetMetricResult::SetQueryVersion
void SetQueryVersion(const char *value)
Definition: DescribeFleetMetricResult.h:245
IoT_EXPORTS.h