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>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/model/TemplateType.h>
13#include <aws/iot/model/Tag.h>
47 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
61 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
75 inline void SetTemplateBody(
const char* value) { m_templateBodyHasBeenSet =
true; m_templateBody.assign(value); }
87 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
100 inline void SetProvisioningRoleArn(
const char* value) { m_provisioningRoleArnHasBeenSet =
true; m_provisioningRoleArn.assign(value); }
158 bool m_templateNameHasBeenSet =
false;
161 bool m_descriptionHasBeenSet =
false;
164 bool m_templateBodyHasBeenSet =
false;
167 bool m_enabledHasBeenSet =
false;
170 bool m_provisioningRoleArnHasBeenSet =
false;
173 bool m_preProvisioningHookHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
179 bool m_typeHasBeenSet =
false;
CreateProvisioningTemplateRequest & WithTags(Aws::Vector< Tag > &&value)
const TemplateType & GetType() const
void SetTags(const Aws::Vector< Tag > &value)
void SetTemplateName(const Aws::String &value)
CreateProvisioningTemplateRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTemplateBody(Aws::String &&value)
void SetTemplateBody(const Aws::String &value)
AWS_IOT_API CreateProvisioningTemplateRequest()
bool DescriptionHasBeenSet() const
const Aws::String & GetTemplateName() const
CreateProvisioningTemplateRequest & WithProvisioningRoleArn(const char *value)
CreateProvisioningTemplateRequest & WithTemplateName(const char *value)
void SetEnabled(bool value)
void SetPreProvisioningHook(ProvisioningHook &&value)
void SetDescription(Aws::String &&value)
CreateProvisioningTemplateRequest & WithPreProvisioningHook(const ProvisioningHook &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetTemplateName(Aws::String &&value)
void SetType(const TemplateType &value)
bool TypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateProvisioningTemplateRequest & WithType(const TemplateType &value)
const ProvisioningHook & GetPreProvisioningHook() const
void SetType(TemplateType &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetProvisioningRoleArn() const
CreateProvisioningTemplateRequest & AddTags(Tag &&value)
CreateProvisioningTemplateRequest & WithDescription(const char *value)
bool TagsHasBeenSet() const
bool ProvisioningRoleArnHasBeenSet() const
CreateProvisioningTemplateRequest & WithTemplateBody(const Aws::String &value)
CreateProvisioningTemplateRequest & WithTemplateBody(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
CreateProvisioningTemplateRequest & WithProvisioningRoleArn(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetProvisioningRoleArn(Aws::String &&value)
CreateProvisioningTemplateRequest & WithDescription(const Aws::String &value)
void SetTemplateBody(const char *value)
bool TemplateBodyHasBeenSet() const
CreateProvisioningTemplateRequest & WithDescription(Aws::String &&value)
CreateProvisioningTemplateRequest & WithEnabled(bool value)
const Aws::String & GetTemplateBody() const
bool TemplateNameHasBeenSet() const
bool PreProvisioningHookHasBeenSet() const
void SetProvisioningRoleArn(const char *value)
void SetProvisioningRoleArn(const Aws::String &value)
void SetTemplateName(const char *value)
bool EnabledHasBeenSet() const
CreateProvisioningTemplateRequest & WithTemplateName(const Aws::String &value)
const Aws::String & GetDescription() const
CreateProvisioningTemplateRequest & WithTemplateBody(const char *value)
CreateProvisioningTemplateRequest & WithType(TemplateType &&value)
CreateProvisioningTemplateRequest & WithTemplateName(Aws::String &&value)
CreateProvisioningTemplateRequest & WithProvisioningRoleArn(const Aws::String &value)
void SetPreProvisioningHook(const ProvisioningHook &value)
CreateProvisioningTemplateRequest & WithPreProvisioningHook(ProvisioningHook &&value)
CreateProvisioningTemplateRequest & AddTags(const Tag &value)
void SetDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector