AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
ListIdentitiesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/SES_EXPORTS.h>
10#include <aws/email/model/IdentityType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SES {
16namespace Model {
17
26 public:
27 AWS_SES_API ListIdentitiesRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListIdentities"; }
34
35 AWS_SES_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
46 inline IdentityType GetIdentityType() const { return m_identityType; }
47 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
48 inline void SetIdentityType(IdentityType value) {
49 m_identityTypeHasBeenSet = true;
50 m_identityType = value;
51 }
53 SetIdentityType(value);
54 return *this;
55 }
57
59
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 template <typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) {
66 m_nextTokenHasBeenSet = true;
67 m_nextToken = std::forward<NextTokenT>(value);
68 }
69 template <typename NextTokenT = Aws::String>
70 ListIdentitiesRequest& WithNextToken(NextTokenT&& value) {
71 SetNextToken(std::forward<NextTokenT>(value));
72 return *this;
73 }
75
77
81 inline int GetMaxItems() const { return m_maxItems; }
82 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
83 inline void SetMaxItems(int value) {
84 m_maxItemsHasBeenSet = true;
85 m_maxItems = value;
86 }
88 SetMaxItems(value);
89 return *this;
90 }
92 private:
93 IdentityType m_identityType{IdentityType::NOT_SET};
94
95 Aws::String m_nextToken;
96
97 int m_maxItems{0};
98 bool m_identityTypeHasBeenSet = false;
99 bool m_nextTokenHasBeenSet = false;
100 bool m_maxItemsHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace SES
105} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
ListIdentitiesRequest & WithMaxItems(int value)
virtual const char * GetServiceRequestName() const override
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_SES_API ListIdentitiesRequest()=default
ListIdentitiesRequest & WithNextToken(NextTokenT &&value)
ListIdentitiesRequest & WithIdentityType(IdentityType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String