AWS SDK for C++  1.8.71
AWS SDK for C++
GetSegmentImportJobsRequest.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 "GetSegmentImportJobs"; }
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 GetSegmentImportJobsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
76 
81  inline GetSegmentImportJobsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
82 
87  inline GetSegmentImportJobsRequest& 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 GetSegmentImportJobsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
131 
137  inline GetSegmentImportJobsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
138 
144  inline GetSegmentImportJobsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
145 
146 
150  inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
151 
155  inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
156 
160  inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
161 
165  inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
166 
170  inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
171 
175  inline GetSegmentImportJobsRequest& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
176 
180  inline GetSegmentImportJobsRequest& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
181 
185  inline GetSegmentImportJobsRequest& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
186 
187 
192  inline const Aws::String& GetToken() const{ return m_token; }
193 
198  inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
199 
204  inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
205 
210  inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
211 
216  inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
217 
222  inline GetSegmentImportJobsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
223 
228  inline GetSegmentImportJobsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
229 
234  inline GetSegmentImportJobsRequest& WithToken(const char* value) { SetToken(value); return *this;}
235 
236  private:
237 
238  Aws::String m_applicationId;
239  bool m_applicationIdHasBeenSet;
240 
241  Aws::String m_pageSize;
242  bool m_pageSizeHasBeenSet;
243 
244  Aws::String m_segmentId;
245  bool m_segmentIdHasBeenSet;
246 
247  Aws::String m_token;
248  bool m_tokenHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace Pinpoint
253 } // namespace Aws
#define AWS_PINPOINT_API
virtual const char * GetServiceRequestName() const override
GetSegmentImportJobsRequest & WithApplicationId(const Aws::String &value)
GetSegmentImportJobsRequest & WithToken(const char *value)
GetSegmentImportJobsRequest & WithSegmentId(Aws::String &&value)
GetSegmentImportJobsRequest & WithToken(const Aws::String &value)
GetSegmentImportJobsRequest & WithApplicationId(const char *value)
GetSegmentImportJobsRequest & WithPageSize(const Aws::String &value)
GetSegmentImportJobsRequest & WithApplicationId(Aws::String &&value)
GetSegmentImportJobsRequest & WithPageSize(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetSegmentImportJobsRequest & WithSegmentId(const Aws::String &value)
GetSegmentImportJobsRequest & WithSegmentId(const char *value)
GetSegmentImportJobsRequest & WithToken(Aws::String &&value)
GetSegmentImportJobsRequest & WithPageSize(const char *value)