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>
49 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
65 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
111 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
119 bool m_metricNameHasBeenSet =
false;
122 bool m_displayNameHasBeenSet =
false;
125 bool m_metricTypeHasBeenSet =
false;
128 bool m_tagsHasBeenSet =
false;
131 bool m_clientRequestTokenHasBeenSet =
false;
void SetMetricName(const char *value)
CreateCustomMetricRequest & AddTags(Tag &&value)
void SetClientRequestToken(const Aws::String &value)
bool MetricNameHasBeenSet() const
const Aws::String & GetMetricName() const
CreateCustomMetricRequest & WithDisplayName(const Aws::String &value)
CreateCustomMetricRequest & WithMetricType(CustomMetricType &&value)
void SetMetricName(Aws::String &&value)
CreateCustomMetricRequest & WithDisplayName(Aws::String &&value)
void SetMetricName(const Aws::String &value)
bool TagsHasBeenSet() const
CreateCustomMetricRequest & WithMetricName(const Aws::String &value)
CreateCustomMetricRequest & WithClientRequestToken(const char *value)
CreateCustomMetricRequest & WithClientRequestToken(Aws::String &&value)
CreateCustomMetricRequest & WithClientRequestToken(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetTags(Aws::Vector< Tag > &&value)
bool DisplayNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientRequestToken() const
void SetMetricType(const CustomMetricType &value)
void SetDisplayName(Aws::String &&value)
CreateCustomMetricRequest & WithMetricType(const CustomMetricType &value)
CreateCustomMetricRequest & WithMetricName(Aws::String &&value)
CreateCustomMetricRequest & WithDisplayName(const char *value)
AWS_IOT_API CreateCustomMetricRequest()
const Aws::String & GetDisplayName() const
CreateCustomMetricRequest & AddTags(const Tag &value)
void SetDisplayName(const char *value)
void SetDisplayName(const Aws::String &value)
void SetClientRequestToken(const char *value)
bool ClientRequestTokenHasBeenSet() const
const CustomMetricType & GetMetricType() const
void SetClientRequestToken(Aws::String &&value)
CreateCustomMetricRequest & WithTags(Aws::Vector< Tag > &&value)
CreateCustomMetricRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(const Aws::Vector< Tag > &value)
bool MetricTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetMetricType(CustomMetricType &&value)
CreateCustomMetricRequest & WithMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector