7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/IoTRequest.h>
11#include <aws/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/CustomMetricType.h>
13#include <aws/iot/model/Tag.h>
43 template <
typename MetricNameT = Aws::String>
45 m_metricNameHasBeenSet =
true;
46 m_metricName = std::forward<MetricNameT>(value);
48 template <
typename MetricNameT = Aws::String>
63 template <
typename DisplayNameT = Aws::String>
65 m_displayNameHasBeenSet =
true;
66 m_displayName = std::forward<DisplayNameT>(value);
68 template <
typename DisplayNameT = Aws::String>
85 m_metricTypeHasBeenSet =
true;
100 template <
typename TagsT = Aws::Vector<Tag>>
102 m_tagsHasBeenSet =
true;
103 m_tags = std::forward<TagsT>(value);
105 template <
typename TagsT = Aws::Vector<Tag>>
107 SetTags(std::forward<TagsT>(value));
110 template <
typename TagsT = Tag>
112 m_tagsHasBeenSet =
true;
113 m_tags.emplace_back(std::forward<TagsT>(value));
127 template <
typename ClientRequestTokenT = Aws::String>
129 m_clientRequestTokenHasBeenSet =
true;
130 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
132 template <
typename ClientRequestTokenT = Aws::String>
140 bool m_metricNameHasBeenSet =
false;
143 bool m_displayNameHasBeenSet =
false;
146 bool m_metricTypeHasBeenSet =
false;
149 bool m_tagsHasBeenSet =
false;
152 bool m_clientRequestTokenHasBeenSet =
true;
bool MetricNameHasBeenSet() const
CreateCustomMetricRequest & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetMetricName() const
void SetMetricName(MetricNameT &&value)
bool TagsHasBeenSet() const
CreateCustomMetricRequest & AddTags(TagsT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
bool DisplayNameHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientRequestToken() const
void SetTags(TagsT &&value)
const Aws::String & GetDisplayName() const
CreateCustomMetricRequest & WithTags(TagsT &&value)
CreateCustomMetricRequest & WithMetricType(CustomMetricType value)
AWS_IOT_API CreateCustomMetricRequest()=default
CreateCustomMetricRequest & WithMetricName(MetricNameT &&value)
bool ClientRequestTokenHasBeenSet() const
CreateCustomMetricRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CustomMetricType GetMetricType() const
bool MetricTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetDisplayName(DisplayNameT &&value)
void SetMetricType(CustomMetricType value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector