7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/model/EmailTemplateRequest.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_emailTemplateRequestHasBeenSet =
false;
121 bool m_templateNameHasBeenSet =
false;
124 bool m_versionHasBeenSet =
false;
UpdateEmailTemplateRequest & WithTemplateName(const Aws::String &value)
bool VersionHasBeenSet() const
bool GetCreateNewVersion() const
bool EmailTemplateRequestHasBeenSet() const
void SetVersion(const Aws::String &value)
bool TemplateNameHasBeenSet() const
UpdateEmailTemplateRequest & WithEmailTemplateRequest(const EmailTemplateRequest &value)
void SetTemplateName(const Aws::String &value)
void SetEmailTemplateRequest(const EmailTemplateRequest &value)
void SetCreateNewVersion(bool value)
UpdateEmailTemplateRequest & WithEmailTemplateRequest(EmailTemplateRequest &&value)
UpdateEmailTemplateRequest & WithVersion(const char *value)
void SetTemplateName(const char *value)
void SetEmailTemplateRequest(EmailTemplateRequest &&value)
UpdateEmailTemplateRequest & WithTemplateName(Aws::String &&value)
UpdateEmailTemplateRequest & WithCreateNewVersion(bool value)
const Aws::String & GetVersion() const
const Aws::String & GetTemplateName() const
void SetVersion(const char *value)
void SetTemplateName(Aws::String &&value)
bool CreateNewVersionHasBeenSet() const
AWS_PINPOINT_API UpdateEmailTemplateRequest()
UpdateEmailTemplateRequest & WithTemplateName(const char *value)
UpdateEmailTemplateRequest & WithVersion(const Aws::String &value)
const EmailTemplateRequest & GetEmailTemplateRequest() const
AWS_PINPOINT_API Aws::String SerializePayload() const override
void SetVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateEmailTemplateRequest & WithVersion(Aws::String &&value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String