AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateCustomMetricResult.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 UpdateCustomMetricResult() = 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 UpdateCustomMetricResult& 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 UpdateCustomMetricResult& 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
75 inline const Aws::String& GetDisplayName() const { return m_displayName; }
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>
79 UpdateCustomMetricResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
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>
90 UpdateCustomMetricResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
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>
102 UpdateCustomMetricResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
111 UpdateCustomMetricResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_metricName;
116 bool m_metricNameHasBeenSet = false;
117
118 Aws::String m_metricArn;
119 bool m_metricArnHasBeenSet = false;
120
122 bool m_metricTypeHasBeenSet = false;
123
124 Aws::String m_displayName;
125 bool m_displayNameHasBeenSet = false;
126
127 Aws::Utils::DateTime m_creationDate{};
128 bool m_creationDateHasBeenSet = false;
129
130 Aws::Utils::DateTime m_lastModifiedDate{};
131 bool m_lastModifiedDateHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace IoT
139} // namespace Aws
UpdateCustomMetricResult & WithMetricName(MetricNameT &&value)
UpdateCustomMetricResult & WithMetricType(CustomMetricType value)
AWS_IOT_API UpdateCustomMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
UpdateCustomMetricResult & WithCreationDate(CreationDateT &&value)
UpdateCustomMetricResult & WithDisplayName(DisplayNameT &&value)
UpdateCustomMetricResult & WithRequestId(RequestIdT &&value)
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