7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
34 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateProvisioningTemplateVersion"; }
49 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
63 inline void SetTemplateBody(
const char* value) { m_templateBodyHasBeenSet =
true; m_templateBody.assign(value); }
75 inline void SetSetAsDefault(
bool value) { m_setAsDefaultHasBeenSet =
true; m_setAsDefault = value; }
81 bool m_templateNameHasBeenSet =
false;
84 bool m_templateBodyHasBeenSet =
false;
87 bool m_setAsDefaultHasBeenSet =
false;
void SetSetAsDefault(bool value)
CreateProvisioningTemplateVersionRequest & WithTemplateName(const Aws::String &value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreateProvisioningTemplateVersionRequest & WithTemplateBody(const Aws::String &value)
AWS_IOT_API CreateProvisioningTemplateVersionRequest()
virtual const char * GetServiceRequestName() const override
void SetTemplateBody(const Aws::String &value)
void SetTemplateName(Aws::String &&value)
bool SetAsDefaultHasBeenSet() const
CreateProvisioningTemplateVersionRequest & WithTemplateBody(Aws::String &&value)
void SetTemplateBody(Aws::String &&value)
bool TemplateNameHasBeenSet() const
const Aws::String & GetTemplateBody() const
void SetTemplateName(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
const Aws::String & GetTemplateName() const
CreateProvisioningTemplateVersionRequest & WithSetAsDefault(bool value)
bool GetSetAsDefault() const
CreateProvisioningTemplateVersionRequest & WithTemplateBody(const char *value)
CreateProvisioningTemplateVersionRequest & WithTemplateName(const char *value)
void SetTemplateName(const char *value)
CreateProvisioningTemplateVersionRequest & WithTemplateName(Aws::String &&value)
bool TemplateBodyHasBeenSet() const
void SetTemplateBody(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String