AWS SDK for C++  1.8.71
AWS SDK for C++
GetExportJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Pinpoint
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetExportJobs"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 
51  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
52 
57  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
58 
63  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
64 
69  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
70 
75  inline GetExportJobsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
76 
81  inline GetExportJobsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
82 
87  inline GetExportJobsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
88 
89 
95  inline const Aws::String& GetPageSize() const{ return m_pageSize; }
96 
102  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
103 
109  inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
110 
116  inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
117 
123  inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
124 
130  inline GetExportJobsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
131 
137  inline GetExportJobsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
138 
144  inline GetExportJobsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
145 
146 
151  inline const Aws::String& GetToken() const{ return m_token; }
152 
157  inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
158 
163  inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
164 
169  inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
170 
175  inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
176 
181  inline GetExportJobsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
182 
187  inline GetExportJobsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
188 
193  inline GetExportJobsRequest& WithToken(const char* value) { SetToken(value); return *this;}
194 
195  private:
196 
197  Aws::String m_applicationId;
198  bool m_applicationIdHasBeenSet;
199 
200  Aws::String m_pageSize;
201  bool m_pageSizeHasBeenSet;
202 
203  Aws::String m_token;
204  bool m_tokenHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace Pinpoint
209 } // namespace Aws
#define AWS_PINPOINT_API
GetExportJobsRequest & WithToken(Aws::String &&value)
void SetPageSize(const Aws::String &value)
GetExportJobsRequest & WithPageSize(const char *value)
GetExportJobsRequest & WithApplicationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetExportJobsRequest & WithApplicationId(const Aws::String &value)
GetExportJobsRequest & WithApplicationId(const char *value)
GetExportJobsRequest & WithPageSize(Aws::String &&value)
GetExportJobsRequest & WithToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetApplicationId(const Aws::String &value)
GetExportJobsRequest & WithToken(const char *value)
GetExportJobsRequest & WithPageSize(const Aws::String &value)