AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListIdentitiesRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/model/IdentityType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace Model
18{
19
28 {
29 public:
30 AWS_SES_API ListIdentitiesRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListIdentities"; }
37
38 AWS_SES_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
50 inline IdentityType GetIdentityType() const { return m_identityType; }
51 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
52 inline void SetIdentityType(IdentityType value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
55
57
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template<typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<typename NextTokenT = Aws::String>
65 ListIdentitiesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
67
69
73 inline int GetMaxItems() const { return m_maxItems; }
74 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
75 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
76 inline ListIdentitiesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
78 private:
79
80 IdentityType m_identityType{IdentityType::NOT_SET};
81 bool m_identityTypeHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85
86 int m_maxItems{0};
87 bool m_maxItemsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SES
92} // 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