AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListContactsRequest.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 <aws/sesv2/model/ListContactsFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SESV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SESV2_API ListContactsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListContacts"; }
32
33 AWS_SESV2_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetContactListName() const{ return m_contactListName; }
41 inline bool ContactListNameHasBeenSet() const { return m_contactListNameHasBeenSet; }
42 inline void SetContactListName(const Aws::String& value) { m_contactListNameHasBeenSet = true; m_contactListName = value; }
43 inline void SetContactListName(Aws::String&& value) { m_contactListNameHasBeenSet = true; m_contactListName = std::move(value); }
44 inline void SetContactListName(const char* value) { m_contactListNameHasBeenSet = true; m_contactListName.assign(value); }
45 inline ListContactsRequest& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
46 inline ListContactsRequest& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
47 inline ListContactsRequest& WithContactListName(const char* value) { SetContactListName(value); return *this;}
49
51
54 inline const ListContactsFilter& GetFilter() const{ return m_filter; }
55 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
56 inline void SetFilter(const ListContactsFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
57 inline void SetFilter(ListContactsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
58 inline ListContactsRequest& WithFilter(const ListContactsFilter& value) { SetFilter(value); return *this;}
59 inline ListContactsRequest& WithFilter(ListContactsFilter&& value) { SetFilter(std::move(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 ListContactsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
76
78
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
89 inline ListContactsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 inline ListContactsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline ListContactsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93 private:
94
95 Aws::String m_contactListName;
96 bool m_contactListNameHasBeenSet = false;
97
98 ListContactsFilter m_filter;
99 bool m_filterHasBeenSet = false;
100
101 int m_pageSize;
102 bool m_pageSizeHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SESV2
110} // namespace Aws
void SetContactListName(Aws::String &&value)
ListContactsRequest & WithNextToken(const char *value)
void SetFilter(ListContactsFilter &&value)
const ListContactsFilter & GetFilter() const
void SetContactListName(const Aws::String &value)
ListContactsRequest & WithPageSize(int value)
ListContactsRequest & WithContactListName(const Aws::String &value)
const Aws::String & GetNextToken() const
ListContactsRequest & WithContactListName(const char *value)
void SetNextToken(const Aws::String &value)
const Aws::String & GetContactListName() const
ListContactsRequest & WithFilter(const ListContactsFilter &value)
AWS_SESV2_API Aws::String SerializePayload() const override
ListContactsRequest & WithNextToken(const Aws::String &value)
ListContactsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListContactsRequest & WithFilter(ListContactsFilter &&value)
ListContactsRequest & WithContactListName(Aws::String &&value)
void SetFilter(const ListContactsFilter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String