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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
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>
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>
76 template<
typename DisplayNameT = Aws::String>
77 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
78 template<
typename DisplayNameT = Aws::String>
87 template<
typename CreationDateT = Aws::Utils::DateTime>
88 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
89 template<
typename CreationDateT = Aws::Utils::DateTime>
99 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
100 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
101 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
108 template<
typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
110 template<
typename RequestIdT = Aws::String>
116 bool m_metricNameHasBeenSet =
false;
119 bool m_metricArnHasBeenSet =
false;
122 bool m_metricTypeHasBeenSet =
false;
125 bool m_displayNameHasBeenSet =
false;
128 bool m_creationDateHasBeenSet =
false;
131 bool m_lastModifiedDateHasBeenSet =
false;
134 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)
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