AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEmailIdentitiesRequest.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
32 {
33 public:
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "ListEmailIdentities"; }
41
42 AWS_SESV2_API Aws::String SerializePayload() const override;
43
44 AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
46
48
52 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
53 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
54 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
55 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
56 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
57 inline ListEmailIdentitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
58 inline ListEmailIdentitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
59 inline ListEmailIdentitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
61
63
71 inline int GetPageSize() const{ return m_pageSize; }
72 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
73 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
74 inline ListEmailIdentitiesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
76 private:
77
78 Aws::String m_nextToken;
79 bool m_nextTokenHasBeenSet = false;
80
81 int m_pageSize;
82 bool m_pageSizeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SESV2
87} // namespace Aws
ListEmailIdentitiesRequest & WithNextToken(Aws::String &&value)
ListEmailIdentitiesRequest & WithNextToken(const Aws::String &value)
AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ListEmailIdentitiesRequest & WithNextToken(const char *value)
ListEmailIdentitiesRequest & WithPageSize(int value)
AWS_SESV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String