AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTemplateActiveVersionRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/model/TemplateActiveVersionRequest.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:
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 "UpdateTemplateActiveVersion"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
38 inline const TemplateActiveVersionRequest& GetTemplateActiveVersionRequest() const{ return m_templateActiveVersionRequest; }
39 inline bool TemplateActiveVersionRequestHasBeenSet() const { return m_templateActiveVersionRequestHasBeenSet; }
40 inline void SetTemplateActiveVersionRequest(const TemplateActiveVersionRequest& value) { m_templateActiveVersionRequestHasBeenSet = true; m_templateActiveVersionRequest = value; }
41 inline void SetTemplateActiveVersionRequest(TemplateActiveVersionRequest&& value) { m_templateActiveVersionRequestHasBeenSet = true; m_templateActiveVersionRequest = 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); }
59 inline UpdateTemplateActiveVersionRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
60 inline UpdateTemplateActiveVersionRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
62
64
68 inline const Aws::String& GetTemplateType() const{ return m_templateType; }
69 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
70 inline void SetTemplateType(const Aws::String& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
71 inline void SetTemplateType(Aws::String&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
72 inline void SetTemplateType(const char* value) { m_templateTypeHasBeenSet = true; m_templateType.assign(value); }
74 inline UpdateTemplateActiveVersionRequest& WithTemplateType(Aws::String&& value) { SetTemplateType(std::move(value)); return *this;}
75 inline UpdateTemplateActiveVersionRequest& WithTemplateType(const char* value) { SetTemplateType(value); return *this;}
77 private:
78
79 TemplateActiveVersionRequest m_templateActiveVersionRequest;
80 bool m_templateActiveVersionRequestHasBeenSet = false;
81
82 Aws::String m_templateName;
83 bool m_templateNameHasBeenSet = false;
84
85 Aws::String m_templateType;
86 bool m_templateTypeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Pinpoint
91} // namespace Aws
UpdateTemplateActiveVersionRequest & WithTemplateType(Aws::String &&value)
UpdateTemplateActiveVersionRequest & WithTemplateName(Aws::String &&value)
UpdateTemplateActiveVersionRequest & WithTemplateActiveVersionRequest(TemplateActiveVersionRequest &&value)
void SetTemplateActiveVersionRequest(const TemplateActiveVersionRequest &value)
UpdateTemplateActiveVersionRequest & WithTemplateActiveVersionRequest(const TemplateActiveVersionRequest &value)
UpdateTemplateActiveVersionRequest & WithTemplateType(const char *value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
UpdateTemplateActiveVersionRequest & WithTemplateName(const Aws::String &value)
const TemplateActiveVersionRequest & GetTemplateActiveVersionRequest() const
UpdateTemplateActiveVersionRequest & WithTemplateName(const char *value)
UpdateTemplateActiveVersionRequest & WithTemplateType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String