AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateInAppTemplateRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/model/InAppTemplateRequest.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 CreateInAppTemplateRequest();
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 "CreateInAppTemplate"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
38 inline const InAppTemplateRequest& GetInAppTemplateRequest() const{ return m_inAppTemplateRequest; }
39 inline bool InAppTemplateRequestHasBeenSet() const { return m_inAppTemplateRequestHasBeenSet; }
40 inline void SetInAppTemplateRequest(const InAppTemplateRequest& value) { m_inAppTemplateRequestHasBeenSet = true; m_inAppTemplateRequest = value; }
41 inline void SetInAppTemplateRequest(InAppTemplateRequest&& value) { m_inAppTemplateRequestHasBeenSet = true; m_inAppTemplateRequest = 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 CreateInAppTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
59 inline CreateInAppTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
60 inline CreateInAppTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
62 private:
63
64 InAppTemplateRequest m_inAppTemplateRequest;
65 bool m_inAppTemplateRequestHasBeenSet = false;
66
67 Aws::String m_templateName;
68 bool m_templateNameHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Pinpoint
73} // namespace Aws
CreateInAppTemplateRequest & WithInAppTemplateRequest(InAppTemplateRequest &&value)
void SetInAppTemplateRequest(const InAppTemplateRequest &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
CreateInAppTemplateRequest & WithInAppTemplateRequest(const InAppTemplateRequest &value)
const InAppTemplateRequest & GetInAppTemplateRequest() const
CreateInAppTemplateRequest & WithTemplateName(Aws::String &&value)
CreateInAppTemplateRequest & WithTemplateName(const char *value)
CreateInAppTemplateRequest & WithTemplateName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String