7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/model/SMSTemplateRequest.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
54 inline void SetCreateNewVersion(
bool value) { m_createNewVersionHasBeenSet =
true; m_createNewVersion = value; }
79 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
107 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
114 bool m_createNewVersion;
115 bool m_createNewVersionHasBeenSet =
false;
118 bool m_sMSTemplateRequestHasBeenSet =
false;
121 bool m_templateNameHasBeenSet =
false;
124 bool m_versionHasBeenSet =
false;
void SetTemplateName(const Aws::String &value)
bool VersionHasBeenSet() const
UpdateSmsTemplateRequest & WithSMSTemplateRequest(const SMSTemplateRequest &value)
void SetSMSTemplateRequest(SMSTemplateRequest &&value)
UpdateSmsTemplateRequest & WithVersion(const Aws::String &value)
void SetTemplateName(Aws::String &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool TemplateNameHasBeenSet() const
AWS_PINPOINT_API Aws::String SerializePayload() const override
void SetSMSTemplateRequest(const SMSTemplateRequest &value)
void SetVersion(const Aws::String &value)
void SetVersion(Aws::String &&value)
AWS_PINPOINT_API UpdateSmsTemplateRequest()
void SetTemplateName(const char *value)
UpdateSmsTemplateRequest & WithCreateNewVersion(bool value)
const Aws::String & GetVersion() const
const Aws::String & GetTemplateName() const
UpdateSmsTemplateRequest & WithVersion(const char *value)
const SMSTemplateRequest & GetSMSTemplateRequest() const
UpdateSmsTemplateRequest & WithTemplateName(Aws::String &&value)
void SetCreateNewVersion(bool value)
virtual const char * GetServiceRequestName() const override
UpdateSmsTemplateRequest & WithTemplateName(const Aws::String &value)
void SetVersion(const char *value)
bool SMSTemplateRequestHasBeenSet() const
UpdateSmsTemplateRequest & WithTemplateName(const char *value)
bool CreateNewVersionHasBeenSet() const
UpdateSmsTemplateRequest & WithSMSTemplateRequest(SMSTemplateRequest &&value)
UpdateSmsTemplateRequest & WithVersion(Aws::String &&value)
bool GetCreateNewVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String