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;
89 template <
typename DisplayNameT = Aws::String>
91 m_displayNameHasBeenSet =
true;
92 m_displayName = std::forward<DisplayNameT>(value);
94 template <
typename DisplayNameT = Aws::String>
106 template <
typename CreationDateT = Aws::Utils::DateTime>
108 m_creationDateHasBeenSet =
true;
109 m_creationDate = std::forward<CreationDateT>(value);
111 template <
typename CreationDateT = Aws::Utils::DateTime>
124 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
126 m_lastModifiedDateHasBeenSet =
true;
127 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
129 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
139 template <
typename RequestIdT = Aws::String>
141 m_requestIdHasBeenSet =
true;
142 m_requestId = std::forward<RequestIdT>(value);
144 template <
typename RequestIdT = Aws::String>
167 bool m_metricNameHasBeenSet =
false;
168 bool m_metricArnHasBeenSet =
false;
169 bool m_metricTypeHasBeenSet =
false;
170 bool m_displayNameHasBeenSet =
false;
171 bool m_creationDateHasBeenSet =
false;
172 bool m_lastModifiedDateHasBeenSet =
false;
173 bool m_requestIdHasBeenSet =
false;
UpdateCustomMetricResult & WithMetricName(MetricNameT &&value)
void SetRequestId(RequestIdT &&value)
UpdateCustomMetricResult & WithMetricType(CustomMetricType value)
const Aws::String & GetDisplayName() const
AWS_IOT_API UpdateCustomMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMetricName(MetricNameT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetMetricArn(MetricArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
UpdateCustomMetricResult & WithCreationDate(CreationDateT &&value)
UpdateCustomMetricResult & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetRequestId() const
void SetCreationDate(CreationDateT &&value)
UpdateCustomMetricResult & WithRequestId(RequestIdT &&value)
CustomMetricType GetMetricType() const
const Aws::String & GetMetricArn() const
void SetDisplayName(DisplayNameT &&value)
void SetMetricType(CustomMetricType value)
const Aws::String & GetMetricName() const
UpdateCustomMetricResult & WithMetricArn(MetricArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateCustomMetricResult & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_IOT_API UpdateCustomMetricResult()=default
AWS_IOT_API UpdateCustomMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue