AWS SDK for C++  1.9.1
AWS SDK for C++
ListConfigurationSetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListConfigurationSets"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
51  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
52 
58  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 
65  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 
72  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
73 
79  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
80 
86  inline ListConfigurationSetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 
93  inline ListConfigurationSetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 
100  inline ListConfigurationSetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
101 
102 
106  inline int GetMaxItems() const{ return m_maxItems; }
107 
111  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
112 
116  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
117 
121  inline ListConfigurationSetsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
122 
123  private:
124 
125  Aws::String m_nextToken;
126  bool m_nextTokenHasBeenSet;
127 
128  int m_maxItems;
129  bool m_maxItemsHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace SES
134 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::ListConfigurationSetsRequest::WithNextToken
ListConfigurationSetsRequest & WithNextToken(const Aws::String &value)
Definition: ListConfigurationSetsRequest.h:86
Aws::SES::Model::ListConfigurationSetsRequest::WithNextToken
ListConfigurationSetsRequest & WithNextToken(Aws::String &&value)
Definition: ListConfigurationSetsRequest.h:93
Aws::SES::Model::ListConfigurationSetsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::ListConfigurationSetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigurationSetsRequest.h:65
Aws::SES::Model::ListConfigurationSetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::ListConfigurationSetsRequest::GetMaxItems
int GetMaxItems() const
Definition: ListConfigurationSetsRequest.h:106
Aws::SES::Model::ListConfigurationSetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListConfigurationSetsRequest.h:58
Aws::SES::Model::ListConfigurationSetsRequest::WithNextToken
ListConfigurationSetsRequest & WithNextToken(const char *value)
Definition: ListConfigurationSetsRequest.h:100
Aws::SES::Model::ListConfigurationSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListConfigurationSetsRequest.h:37
SESRequest.h
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::ListConfigurationSetsRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListConfigurationSetsRequest.h:111
Aws::SES::Model::ListConfigurationSetsRequest
Definition: ListConfigurationSetsRequest.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ListConfigurationSetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigurationSetsRequest.h:79
Aws::SES::Model::ListConfigurationSetsRequest::WithMaxItems
ListConfigurationSetsRequest & WithMaxItems(int value)
Definition: ListConfigurationSetsRequest.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::ListConfigurationSetsRequest::ListConfigurationSetsRequest
ListConfigurationSetsRequest()
Aws::SES::Model::ListConfigurationSetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigurationSetsRequest.h:72
Aws::SES::Model::ListConfigurationSetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigurationSetsRequest.h:51
Aws::SES::Model::ListConfigurationSetsRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListConfigurationSetsRequest.h:116