AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const IdentityType& GetIdentityType() const{ return m_identityType; }
51 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
52 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
53 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
54 inline ListIdentitiesRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
55 inline ListIdentitiesRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
57
59
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 inline ListIdentitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline ListIdentitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline ListIdentitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
77 inline int GetMaxItems() const{ return m_maxItems; }
78 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
79 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
80 inline ListIdentitiesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
82 private:
83
84 IdentityType m_identityType;
85 bool m_identityTypeHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 int m_maxItems;
91 bool m_maxItemsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SES
96} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
const IdentityType & GetIdentityType() const
ListIdentitiesRequest & WithMaxItems(int value)
virtual const char * GetServiceRequestName() const override
ListIdentitiesRequest & WithNextToken(const Aws::String &value)
void SetIdentityType(const IdentityType &value)
ListIdentitiesRequest & WithNextToken(const char *value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetNextToken(const Aws::String &value)
ListIdentitiesRequest & WithIdentityType(const IdentityType &value)
ListIdentitiesRequest & WithNextToken(Aws::String &&value)
ListIdentitiesRequest & WithIdentityType(IdentityType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String