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>
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>
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>
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>
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>
118 bool m_metricNameHasBeenSet =
false;
121 bool m_metricArnHasBeenSet =
false;
124 bool m_metricTypeHasBeenSet =
false;
127 bool m_displayNameHasBeenSet =
false;
130 bool m_creationDateHasBeenSet =
false;
133 bool m_lastModifiedDateHasBeenSet =
false;
136 bool m_requestIdHasBeenSet =
false;
void SetMetricName(MetricNameT &&value)
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