AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetInAppTemplateRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Pinpoint
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_PINPOINT_API GetInAppTemplateRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetInAppTemplate"; }
35
36 AWS_PINPOINT_API Aws::String SerializePayload() const override;
37
38 AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
48 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
49 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
50 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
51 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
52 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
53 inline GetInAppTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
54 inline GetInAppTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
55 inline GetInAppTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
57
59
76 inline const Aws::String& GetVersion() const{ return m_version; }
77 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
78 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
79 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
80 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
81 inline GetInAppTemplateRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
82 inline GetInAppTemplateRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
83 inline GetInAppTemplateRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
85 private:
86
87 Aws::String m_templateName;
88 bool m_templateNameHasBeenSet = false;
89
90 Aws::String m_version;
91 bool m_versionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Pinpoint
96} // namespace Aws
GetInAppTemplateRequest & WithTemplateName(Aws::String &&value)
GetInAppTemplateRequest & WithVersion(Aws::String &&value)
GetInAppTemplateRequest & WithVersion(const char *value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetInAppTemplateRequest & WithVersion(const Aws::String &value)
GetInAppTemplateRequest & WithTemplateName(const char *value)
GetInAppTemplateRequest & WithTemplateName(const Aws::String &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String