AWS SDK for C++  1.8.71
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
virtual const char * GetServiceRequestName() const override
ListConfigurationSetsRequest & WithMaxItems(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListConfigurationSetsRequest & WithNextToken(const char *value)
ListConfigurationSetsRequest & WithNextToken(const Aws::String &value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
ListConfigurationSetsRequest & WithNextToken(Aws::String &&value)