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/ProvisioningHook.h>
44 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
58 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
70 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
80 inline void SetDefaultVersionId(
int value) { m_defaultVersionIdHasBeenSet =
true; m_defaultVersionId = value; }
93 inline void SetProvisioningRoleArn(
const char* value) { m_provisioningRoleArnHasBeenSet =
true; m_provisioningRoleArn.assign(value); }
126 bool m_templateNameHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_enabledHasBeenSet =
false;
134 int m_defaultVersionId;
135 bool m_defaultVersionIdHasBeenSet =
false;
138 bool m_provisioningRoleArnHasBeenSet =
false;
141 bool m_preProvisioningHookHasBeenSet =
false;
143 bool m_removePreProvisioningHook;
144 bool m_removePreProvisioningHookHasBeenSet =
false;
const Aws::String & GetProvisioningRoleArn() const
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
UpdateProvisioningTemplateRequest & WithPreProvisioningHook(const ProvisioningHook &value)
void SetRemovePreProvisioningHook(bool value)
bool GetRemovePreProvisioningHook() const
void SetEnabled(bool value)
UpdateProvisioningTemplateRequest & WithDefaultVersionId(int value)
UpdateProvisioningTemplateRequest & WithEnabled(bool value)
UpdateProvisioningTemplateRequest & WithDescription(const char *value)
UpdateProvisioningTemplateRequest & WithProvisioningRoleArn(const Aws::String &value)
int GetDefaultVersionId() const
void SetPreProvisioningHook(const ProvisioningHook &value)
UpdateProvisioningTemplateRequest & WithTemplateName(const Aws::String &value)
UpdateProvisioningTemplateRequest & WithProvisioningRoleArn(const char *value)
UpdateProvisioningTemplateRequest & WithProvisioningRoleArn(Aws::String &&value)
void SetTemplateName(Aws::String &&value)
bool DefaultVersionIdHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetProvisioningRoleArn(const Aws::String &value)
void SetProvisioningRoleArn(const char *value)
UpdateProvisioningTemplateRequest & WithRemovePreProvisioningHook(bool value)
AWS_IOT_API UpdateProvisioningTemplateRequest()
UpdateProvisioningTemplateRequest & WithDescription(Aws::String &&value)
UpdateProvisioningTemplateRequest & WithPreProvisioningHook(ProvisioningHook &&value)
void SetTemplateName(const char *value)
bool DescriptionHasBeenSet() const
bool EnabledHasBeenSet() const
bool TemplateNameHasBeenSet() const
void SetDefaultVersionId(int value)
const Aws::String & GetTemplateName() const
UpdateProvisioningTemplateRequest & WithTemplateName(Aws::String &&value)
bool PreProvisioningHookHasBeenSet() const
void SetPreProvisioningHook(ProvisioningHook &&value)
const ProvisioningHook & GetPreProvisioningHook() const
UpdateProvisioningTemplateRequest & WithDescription(const Aws::String &value)
bool ProvisioningRoleArnHasBeenSet() const
UpdateProvisioningTemplateRequest & WithTemplateName(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetProvisioningRoleArn(Aws::String &&value)
void SetDescription(const char *value)
virtual const char * GetServiceRequestName() const override
bool RemovePreProvisioningHookHasBeenSet() const
void SetTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String