AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTemplateVersionsRequest.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 ListTemplateVersionsRequest();
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 "ListTemplateVersions"; }
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 ListTemplateVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
53 inline ListTemplateVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
54 inline ListTemplateVersionsRequest& 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 ListTemplateVersionsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
69 inline ListTemplateVersionsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
70 inline ListTemplateVersionsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
72
74
80 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
81 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
82 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
83 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
84 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
85 inline ListTemplateVersionsRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
86 inline ListTemplateVersionsRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
87 inline ListTemplateVersionsRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
89
91
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 ListTemplateVersionsRequest& WithTemplateType(const Aws::String& value) { SetTemplateType(value); return *this;}
101 inline ListTemplateVersionsRequest& WithTemplateType(Aws::String&& value) { SetTemplateType(std::move(value)); return *this;}
102 inline ListTemplateVersionsRequest& 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_templateName;
113 bool m_templateNameHasBeenSet = false;
114
115 Aws::String m_templateType;
116 bool m_templateTypeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Pinpoint
121} // namespace Aws
ListTemplateVersionsRequest & WithTemplateName(Aws::String &&value)
ListTemplateVersionsRequest & WithNextToken(const Aws::String &value)
ListTemplateVersionsRequest & WithPageSize(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListTemplateVersionsRequest & WithTemplateName(const char *value)
ListTemplateVersionsRequest & WithNextToken(Aws::String &&value)
ListTemplateVersionsRequest & WithNextToken(const char *value)
ListTemplateVersionsRequest & WithTemplateType(const Aws::String &value)
ListTemplateVersionsRequest & WithTemplateType(const char *value)
ListTemplateVersionsRequest & WithTemplateName(const Aws::String &value)
ListTemplateVersionsRequest & WithTemplateType(Aws::String &&value)
ListTemplateVersionsRequest & WithPageSize(const char *value)
AWS_PINPOINT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_PINPOINT_API Aws::String SerializePayload() const override
ListTemplateVersionsRequest & WithPageSize(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String