AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSmsTemplateRequest.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API CreateSmsTemplateRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateSmsTemplate"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
38 inline const SMSTemplateRequest& GetSMSTemplateRequest() const{ return m_sMSTemplateRequest; }
39 inline bool SMSTemplateRequestHasBeenSet() const { return m_sMSTemplateRequestHasBeenSet; }
40 inline void SetSMSTemplateRequest(const SMSTemplateRequest& value) { m_sMSTemplateRequestHasBeenSet = true; m_sMSTemplateRequest = value; }
41 inline void SetSMSTemplateRequest(SMSTemplateRequest&& value) { m_sMSTemplateRequestHasBeenSet = true; m_sMSTemplateRequest = std::move(value); }
45
47
53 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
54 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
55 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
56 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
57 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
58 inline CreateSmsTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
59 inline CreateSmsTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
60 inline CreateSmsTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
62 private:
63
64 SMSTemplateRequest m_sMSTemplateRequest;
65 bool m_sMSTemplateRequestHasBeenSet = false;
66
67 Aws::String m_templateName;
68 bool m_templateNameHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Pinpoint
73} // namespace Aws
void SetSMSTemplateRequest(const SMSTemplateRequest &value)
const SMSTemplateRequest & GetSMSTemplateRequest() const
CreateSmsTemplateRequest & WithSMSTemplateRequest(const SMSTemplateRequest &value)
CreateSmsTemplateRequest & WithTemplateName(const Aws::String &value)
CreateSmsTemplateRequest & WithTemplateName(const char *value)
CreateSmsTemplateRequest & WithTemplateName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateSmsTemplateRequest & WithSMSTemplateRequest(SMSTemplateRequest &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String