7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/CustomMetricType.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename MetricNameT = Aws::String>
39 m_metricNameHasBeenSet =
true;
40 m_metricName = std::forward<MetricNameT>(value);
42 template <
typename MetricNameT = Aws::String>
54 template <
typename MetricArnT = Aws::String>
56 m_metricArnHasBeenSet =
true;
57 m_metricArn = std::forward<MetricArnT>(value);
59 template <
typename MetricArnT = Aws::String>
75 m_metricTypeHasBeenSet =
true;
91 template <
typename DisplayNameT = Aws::String>
93 m_displayNameHasBeenSet =
true;
94 m_displayName = std::forward<DisplayNameT>(value);
96 template <
typename DisplayNameT = Aws::String>
108 template <
typename CreationDateT = Aws::Utils::DateTime>
110 m_creationDateHasBeenSet =
true;
111 m_creationDate = std::forward<CreationDateT>(value);
113 template <
typename CreationDateT = Aws::Utils::DateTime>
126 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
128 m_lastModifiedDateHasBeenSet =
true;
129 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
131 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
141 template <
typename RequestIdT = Aws::String>
143 m_requestIdHasBeenSet =
true;
144 m_requestId = std::forward<RequestIdT>(value);
146 template <
typename RequestIdT = Aws::String>
169 bool m_metricNameHasBeenSet =
false;
170 bool m_metricArnHasBeenSet =
false;
171 bool m_metricTypeHasBeenSet =
false;
172 bool m_displayNameHasBeenSet =
false;
173 bool m_creationDateHasBeenSet =
false;
174 bool m_lastModifiedDateHasBeenSet =
false;
175 bool m_requestIdHasBeenSet =
false;
void SetMetricName(MetricNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetMetricArn(MetricArnT &&value)
DescribeCustomMetricResult & WithRequestId(RequestIdT &&value)
DescribeCustomMetricResult & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetMetricName() const
void SetRequestId(RequestIdT &&value)
DescribeCustomMetricResult & WithMetricType(CustomMetricType value)
AWS_IOT_API DescribeCustomMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomMetricResult & WithDisplayName(DisplayNameT &&value)
CustomMetricType GetMetricType() const
DescribeCustomMetricResult & WithCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
const Aws::String & GetRequestId() const
AWS_IOT_API DescribeCustomMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDisplayName(DisplayNameT &&value)
void SetMetricType(CustomMetricType value)
DescribeCustomMetricResult & WithMetricName(MetricNameT &&value)
void SetCreationDate(CreationDateT &&value)
DescribeCustomMetricResult & WithMetricArn(MetricArnT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOT_API DescribeCustomMetricResult()=default
const Aws::String & GetDisplayName() const
const Aws::String & GetMetricArn() const
void SetLastModifiedDate(LastModifiedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue