AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTemplatesRequest.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 ListTemplatesRequest();
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 "ListTemplates"; }
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
47 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
50 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
51 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
52 inline ListTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
53 inline ListTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
54 inline ListTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
56
58
63 inline const Aws::String& GetPageSize() const{ return m_pageSize; }
64 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
65 inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
66 inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
67 inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
68 inline ListTemplatesRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
69 inline ListTemplatesRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
70 inline ListTemplatesRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
72
74
79 inline const Aws::String& GetPrefix() const{ return m_prefix; }
80 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
81 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
82 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
83 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
84 inline ListTemplatesRequest& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
85 inline ListTemplatesRequest& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
86 inline ListTemplatesRequest& WithPrefix(const char* value) { SetPrefix(value); return *this;}
88
90
95 inline const Aws::String& GetTemplateType() const{ return m_templateType; }
96 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
97 inline void SetTemplateType(const Aws::String& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
98 inline void SetTemplateType(Aws::String&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
99 inline void SetTemplateType(const char* value) { m_templateTypeHasBeenSet = true; m_templateType.assign(value); }
100 inline ListTemplatesRequest& WithTemplateType(const Aws::String& value) { SetTemplateType(value); return *this;}
101 inline ListTemplatesRequest& WithTemplateType(Aws::String&& value) { SetTemplateType(std::move(value)); return *this;}
102 inline ListTemplatesRequest& WithTemplateType(const char* value) { SetTemplateType(value); return *this;}
104 private:
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 Aws::String m_pageSize;
110 bool m_pageSizeHasBeenSet = false;
111
112 Aws::String m_prefix;
113 bool m_prefixHasBeenSet = false;
114
115 Aws::String m_templateType;
116 bool m_templateTypeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Pinpoint
121} // namespace Aws
void SetNextToken(const Aws::String &value)
void SetTemplateType(const Aws::String &value)
ListTemplatesRequest & WithTemplateType(Aws::String &&value)
ListTemplatesRequest & WithPrefix(const Aws::String &value)
ListTemplatesRequest & WithNextToken(Aws::String &&value)
ListTemplatesRequest & WithNextToken(const char *value)
ListTemplatesRequest & WithPrefix(Aws::String &&value)
ListTemplatesRequest & WithPageSize(const Aws::String &value)
ListTemplatesRequest & WithNextToken(const Aws::String &value)
ListTemplatesRequest & WithPrefix(const char *value)
ListTemplatesRequest & WithPageSize(const char *value)
ListTemplatesRequest & WithPageSize(Aws::String &&value)
ListTemplatesRequest & WithTemplateType(const Aws::String &value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_PINPOINT_API Aws::String SerializePayload() const override
ListTemplatesRequest & WithTemplateType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String