AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEmailTemplatesRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.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 SESV2
19{
20namespace Model
21{
22
33 {
34 public:
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "ListEmailTemplates"; }
42
43 AWS_SESV2_API Aws::String SerializePayload() const override;
44
45 AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46
47
49
53 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
54 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
55 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
56 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
57 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
58 inline ListEmailTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
59 inline ListEmailTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
60 inline ListEmailTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
62
64
72 inline int GetPageSize() const{ return m_pageSize; }
73 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
74 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
75 inline ListEmailTemplatesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
77 private:
78
79 Aws::String m_nextToken;
80 bool m_nextTokenHasBeenSet = false;
81
82 int m_pageSize;
83 bool m_pageSizeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SESV2
88} // namespace Aws
ListEmailTemplatesRequest & WithNextToken(Aws::String &&value)
ListEmailTemplatesRequest & WithPageSize(int value)
ListEmailTemplatesRequest & WithNextToken(const char *value)
AWS_SESV2_API Aws::String SerializePayload() const override
ListEmailTemplatesRequest & WithNextToken(const Aws::String &value)
AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String