AWS SDK for C++  1.9.125
AWS SDK for C++
DescribeCustomMetricResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetMetricName() const{ return m_metricName; }
41 
45  inline void SetMetricName(const Aws::String& value) { m_metricName = value; }
46 
50  inline void SetMetricName(Aws::String&& value) { m_metricName = std::move(value); }
51 
55  inline void SetMetricName(const char* value) { m_metricName.assign(value); }
56 
60  inline DescribeCustomMetricResult& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
61 
65  inline DescribeCustomMetricResult& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
66 
70  inline DescribeCustomMetricResult& WithMetricName(const char* value) { SetMetricName(value); return *this;}
71 
72 
76  inline const Aws::String& GetMetricArn() const{ return m_metricArn; }
77 
81  inline void SetMetricArn(const Aws::String& value) { m_metricArn = value; }
82 
86  inline void SetMetricArn(Aws::String&& value) { m_metricArn = std::move(value); }
87 
91  inline void SetMetricArn(const char* value) { m_metricArn.assign(value); }
92 
96  inline DescribeCustomMetricResult& WithMetricArn(const Aws::String& value) { SetMetricArn(value); return *this;}
97 
101  inline DescribeCustomMetricResult& WithMetricArn(Aws::String&& value) { SetMetricArn(std::move(value)); return *this;}
102 
106  inline DescribeCustomMetricResult& WithMetricArn(const char* value) { SetMetricArn(value); return *this;}
107 
108 
114  inline const CustomMetricType& GetMetricType() const{ return m_metricType; }
115 
121  inline void SetMetricType(const CustomMetricType& value) { m_metricType = value; }
122 
128  inline void SetMetricType(CustomMetricType&& value) { m_metricType = std::move(value); }
129 
135  inline DescribeCustomMetricResult& WithMetricType(const CustomMetricType& value) { SetMetricType(value); return *this;}
136 
142  inline DescribeCustomMetricResult& WithMetricType(CustomMetricType&& value) { SetMetricType(std::move(value)); return *this;}
143 
144 
150  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
151 
157  inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
158 
164  inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
165 
171  inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
172 
178  inline DescribeCustomMetricResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
179 
185  inline DescribeCustomMetricResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
186 
192  inline DescribeCustomMetricResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
193 
194 
198  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
199 
203  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
204 
208  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
209 
213  inline DescribeCustomMetricResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
214 
218  inline DescribeCustomMetricResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
219 
220 
225  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
226 
231  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
232 
237  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
238 
243  inline DescribeCustomMetricResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
244 
249  inline DescribeCustomMetricResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
250 
251  private:
252 
253  Aws::String m_metricName;
254 
255  Aws::String m_metricArn;
256 
257  CustomMetricType m_metricType;
258 
259  Aws::String m_displayName;
260 
261  Aws::Utils::DateTime m_creationDate;
262 
263  Aws::Utils::DateTime m_lastModifiedDate;
264  };
265 
266 } // namespace Model
267 } // namespace IoT
268 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricType
DescribeCustomMetricResult & WithMetricType(const CustomMetricType &value)
Definition: DescribeCustomMetricResult.h:135
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricArn
void SetMetricArn(Aws::String &&value)
Definition: DescribeCustomMetricResult.h:86
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeCustomMetricResult
Definition: DescribeCustomMetricResult.h:30
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricName
DescribeCustomMetricResult & WithMetricName(Aws::String &&value)
Definition: DescribeCustomMetricResult.h:65
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricName
DescribeCustomMetricResult & WithMetricName(const char *value)
Definition: DescribeCustomMetricResult.h:70
DateTime.h
Aws::IoT::Model::DescribeCustomMetricResult::WithDisplayName
DescribeCustomMetricResult & WithDisplayName(Aws::String &&value)
Definition: DescribeCustomMetricResult.h:185
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricType
void SetMetricType(CustomMetricType &&value)
Definition: DescribeCustomMetricResult.h:128
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricType
DescribeCustomMetricResult & WithMetricType(CustomMetricType &&value)
Definition: DescribeCustomMetricResult.h:142
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricArn
DescribeCustomMetricResult & WithMetricArn(Aws::String &&value)
Definition: DescribeCustomMetricResult.h:101
Aws::IoT::Model::DescribeCustomMetricResult::WithLastModifiedDate
DescribeCustomMetricResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeCustomMetricResult.h:243
Aws::IoT::Model::DescribeCustomMetricResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: DescribeCustomMetricResult.h:225
Aws::IoT::Model::CustomMetricType
CustomMetricType
Definition: CustomMetricType.h:17
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricArn
DescribeCustomMetricResult & WithMetricArn(const Aws::String &value)
Definition: DescribeCustomMetricResult.h:96
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricName
void SetMetricName(const char *value)
Definition: DescribeCustomMetricResult.h:55
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricArn
void SetMetricArn(const char *value)
Definition: DescribeCustomMetricResult.h:91
Aws::IoT::Model::DescribeCustomMetricResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeCustomMetricResult.h:208
Aws::IoT::Model::DescribeCustomMetricResult::DescribeCustomMetricResult
DescribeCustomMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeCustomMetricResult::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: DescribeCustomMetricResult.h:157
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricName
void SetMetricName(Aws::String &&value)
Definition: DescribeCustomMetricResult.h:50
Aws::IoT::Model::DescribeCustomMetricResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeCustomMetricResult.h:198
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricName
void SetMetricName(const Aws::String &value)
Definition: DescribeCustomMetricResult.h:45
AWSString.h
Aws::IoT::Model::DescribeCustomMetricResult::WithCreationDate
DescribeCustomMetricResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeCustomMetricResult.h:218
Aws::IoT::Model::DescribeCustomMetricResult::operator=
DescribeCustomMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeCustomMetricResult::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: DescribeCustomMetricResult.h:150
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricArn
void SetMetricArn(const Aws::String &value)
Definition: DescribeCustomMetricResult.h:81
CustomMetricType.h
Aws::IoT::Model::DescribeCustomMetricResult::GetMetricArn
const Aws::String & GetMetricArn() const
Definition: DescribeCustomMetricResult.h:76
Aws::IoT::Model::DescribeCustomMetricResult::GetMetricName
const Aws::String & GetMetricName() const
Definition: DescribeCustomMetricResult.h:40
Aws::IoT::Model::DescribeCustomMetricResult::GetMetricType
const CustomMetricType & GetMetricType() const
Definition: DescribeCustomMetricResult.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeCustomMetricResult::WithLastModifiedDate
DescribeCustomMetricResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeCustomMetricResult.h:249
Aws::IoT::Model::DescribeCustomMetricResult::SetMetricType
void SetMetricType(const CustomMetricType &value)
Definition: DescribeCustomMetricResult.h:121
Aws::IoT::Model::DescribeCustomMetricResult::SetDisplayName
void SetDisplayName(const char *value)
Definition: DescribeCustomMetricResult.h:171
Aws::IoT::Model::DescribeCustomMetricResult::DescribeCustomMetricResult
DescribeCustomMetricResult()
Aws::IoT::Model::DescribeCustomMetricResult::WithCreationDate
DescribeCustomMetricResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeCustomMetricResult.h:213
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeCustomMetricResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeCustomMetricResult.h:203
Aws::IoT::Model::DescribeCustomMetricResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeCustomMetricResult.h:237
Aws::IoT::Model::DescribeCustomMetricResult::WithDisplayName
DescribeCustomMetricResult & WithDisplayName(const Aws::String &value)
Definition: DescribeCustomMetricResult.h:178
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricArn
DescribeCustomMetricResult & WithMetricArn(const char *value)
Definition: DescribeCustomMetricResult.h:106
Aws::IoT::Model::DescribeCustomMetricResult::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: DescribeCustomMetricResult.h:164
Aws::IoT::Model::DescribeCustomMetricResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeCustomMetricResult.h:231
Aws::IoT::Model::DescribeCustomMetricResult::WithMetricName
DescribeCustomMetricResult & WithMetricName(const Aws::String &value)
Definition: DescribeCustomMetricResult.h:60
Aws::IoT::Model::DescribeCustomMetricResult::WithDisplayName
DescribeCustomMetricResult & WithDisplayName(const char *value)
Definition: DescribeCustomMetricResult.h:192
IoT_EXPORTS.h