7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/CustomMetricType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/model/Tag.h>
14#include <aws/core/utils/UUID.h>
47 template<
typename MetricNameT = Aws::String>
48 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
49 template<
typename MetricNameT = Aws::String>
61 template<
typename DisplayNameT = Aws::String>
62 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
63 template<
typename DisplayNameT = Aws::String>
86 template<
typename TagsT = Aws::Vector<Tag>>
87 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
88 template<
typename TagsT = Aws::Vector<Tag>>
90 template<
typename TagsT = Tag>
103 template<
typename ClientRequestTokenT = Aws::String>
104 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
105 template<
typename ClientRequestTokenT = Aws::String>
111 bool m_metricNameHasBeenSet =
false;
114 bool m_displayNameHasBeenSet =
false;
117 bool m_metricTypeHasBeenSet =
false;
120 bool m_tagsHasBeenSet =
false;
123 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