AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
32 AWS_IOT_API DescribeCustomMetricResult() = default;
35
36
38
41 inline const Aws::String& GetMetricName() const { return m_metricName; }
42 template<typename MetricNameT = Aws::String>
43 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet = true; m_metricName = std::forward<MetricNameT>(value); }
44 template<typename MetricNameT = Aws::String>
45 DescribeCustomMetricResult& WithMetricName(MetricNameT&& value) { SetMetricName(std::forward<MetricNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetMetricArn() const { return m_metricArn; }
53 template<typename MetricArnT = Aws::String>
54 void SetMetricArn(MetricArnT&& value) { m_metricArnHasBeenSet = true; m_metricArn = std::forward<MetricArnT>(value); }
55 template<typename MetricArnT = Aws::String>
56 DescribeCustomMetricResult& WithMetricArn(MetricArnT&& value) { SetMetricArn(std::forward<MetricArnT>(value)); return *this;}
58
60
66 inline CustomMetricType GetMetricType() const { return m_metricType; }
67 inline void SetMetricType(CustomMetricType value) { m_metricTypeHasBeenSet = true; m_metricType = value; }
70
72
77 inline const Aws::String& GetDisplayName() const { return m_displayName; }
78 template<typename DisplayNameT = Aws::String>
79 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
80 template<typename DisplayNameT = Aws::String>
81 DescribeCustomMetricResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
89 template<typename CreationDateT = Aws::Utils::DateTime>
90 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
91 template<typename CreationDateT = Aws::Utils::DateTime>
92 DescribeCustomMetricResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
94
96
100 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
101 template<typename LastModifiedDateT = Aws::Utils::DateTime>
102 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
103 template<typename LastModifiedDateT = Aws::Utils::DateTime>
104 DescribeCustomMetricResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template<typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
112 template<typename RequestIdT = Aws::String>
113 DescribeCustomMetricResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
115 private:
116
117 Aws::String m_metricName;
118 bool m_metricNameHasBeenSet = false;
119
120 Aws::String m_metricArn;
121 bool m_metricArnHasBeenSet = false;
122
124 bool m_metricTypeHasBeenSet = false;
125
126 Aws::String m_displayName;
127 bool m_displayNameHasBeenSet = false;
128
129 Aws::Utils::DateTime m_creationDate{};
130 bool m_creationDateHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastModifiedDate{};
133 bool m_lastModifiedDateHasBeenSet = false;
134
135 Aws::String m_requestId;
136 bool m_requestIdHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace IoT
141} // namespace Aws
DescribeCustomMetricResult & WithRequestId(RequestIdT &&value)
DescribeCustomMetricResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeCustomMetricResult & WithMetricType(CustomMetricType value)
AWS_IOT_API DescribeCustomMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomMetricResult & WithDisplayName(DisplayNameT &&value)
DescribeCustomMetricResult & WithCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
AWS_IOT_API DescribeCustomMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomMetricResult & WithMetricName(MetricNameT &&value)
DescribeCustomMetricResult & WithMetricArn(MetricArnT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOT_API DescribeCustomMetricResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue