AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeCustomMetricResult.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/CustomMetricType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetMetricName() const{ return m_metricName; }
42 inline void SetMetricName(const Aws::String& value) { m_metricName = value; }
43 inline void SetMetricName(Aws::String&& value) { m_metricName = std::move(value); }
44 inline void SetMetricName(const char* value) { m_metricName.assign(value); }
45 inline DescribeCustomMetricResult& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
46 inline DescribeCustomMetricResult& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
47 inline DescribeCustomMetricResult& WithMetricName(const char* value) { SetMetricName(value); return *this;}
49
51
54 inline const Aws::String& GetMetricArn() const{ return m_metricArn; }
55 inline void SetMetricArn(const Aws::String& value) { m_metricArn = value; }
56 inline void SetMetricArn(Aws::String&& value) { m_metricArn = std::move(value); }
57 inline void SetMetricArn(const char* value) { m_metricArn.assign(value); }
58 inline DescribeCustomMetricResult& WithMetricArn(const Aws::String& value) { SetMetricArn(value); return *this;}
59 inline DescribeCustomMetricResult& WithMetricArn(Aws::String&& value) { SetMetricArn(std::move(value)); return *this;}
60 inline DescribeCustomMetricResult& WithMetricArn(const char* value) { SetMetricArn(value); return *this;}
62
64
70 inline const CustomMetricType& GetMetricType() const{ return m_metricType; }
71 inline void SetMetricType(const CustomMetricType& value) { m_metricType = value; }
72 inline void SetMetricType(CustomMetricType&& value) { m_metricType = std::move(value); }
73 inline DescribeCustomMetricResult& WithMetricType(const CustomMetricType& value) { SetMetricType(value); return *this;}
74 inline DescribeCustomMetricResult& WithMetricType(CustomMetricType&& value) { SetMetricType(std::move(value)); return *this;}
76
78
83 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
84 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
85 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
86 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
87 inline DescribeCustomMetricResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
88 inline DescribeCustomMetricResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
89 inline DescribeCustomMetricResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
97 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
98 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
100 inline DescribeCustomMetricResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
102
104
108 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
109 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
110 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
114
116
117 inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
119 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
120 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 inline DescribeCustomMetricResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
122 inline DescribeCustomMetricResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
123 inline DescribeCustomMetricResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
125 private:
126
127 Aws::String m_metricName;
128
129 Aws::String m_metricArn;
130
131 CustomMetricType m_metricType;
132
133 Aws::String m_displayName;
134
135 Aws::Utils::DateTime m_creationDate;
136
137 Aws::Utils::DateTime m_lastModifiedDate;
138
139 Aws::String m_requestId;
140 };
141
142} // namespace Model
143} // namespace IoT
144} // namespace Aws
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeCustomMetricResult & WithDisplayName(Aws::String &&value)
DescribeCustomMetricResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeCustomMetricResult & WithMetricName(Aws::String &&value)
AWS_IOT_API DescribeCustomMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomMetricResult & WithRequestId(const char *value)
DescribeCustomMetricResult & WithMetricName(const char *value)
DescribeCustomMetricResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeCustomMetricResult & WithMetricName(const Aws::String &value)
DescribeCustomMetricResult & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API DescribeCustomMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
void SetMetricType(const CustomMetricType &value)
DescribeCustomMetricResult & WithDisplayName(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeCustomMetricResult & WithMetricType(const CustomMetricType &value)
DescribeCustomMetricResult & WithMetricArn(const Aws::String &value)
DescribeCustomMetricResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeCustomMetricResult & WithMetricArn(const char *value)
DescribeCustomMetricResult & WithCreationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
DescribeCustomMetricResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeCustomMetricResult & WithMetricType(CustomMetricType &&value)
DescribeCustomMetricResult & WithMetricArn(Aws::String &&value)
DescribeCustomMetricResult & WithDisplayName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue