AWS SDK for C++  1.8.71
AWS SDK for C++
ListCustomVerificationEmailTemplatesRequest.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 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListCustomVerificationEmailTemplates"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  protected:
43  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44 
45  public:
46 
51  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
52 
57  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 
63  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 
69  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
70 
75  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 
81  inline ListCustomVerificationEmailTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 
87  inline ListCustomVerificationEmailTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 
93  inline ListCustomVerificationEmailTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94 
95 
102  inline int GetMaxResults() const{ return m_maxResults; }
103 
110  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 
118  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
119 
126  inline ListCustomVerificationEmailTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
127 
128  private:
129 
130  Aws::String m_nextToken;
131  bool m_nextTokenHasBeenSet;
132 
133  int m_maxResults;
134  bool m_maxResultsHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace SES
139 } // namespace Aws
ListCustomVerificationEmailTemplatesRequest & WithNextToken(Aws::String &&value)
ListCustomVerificationEmailTemplatesRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListCustomVerificationEmailTemplatesRequest & WithNextToken(const char *value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:28