1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/pinpoint/Pinpoint_EXPORTS.h>
8 #include <aws/pinpoint/PinpointRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
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 
23   /**
24    */
25   class AWS_PINPOINT_API GetSegmentExportJobsRequest : public PinpointRequest
26   {
27   public:
28     GetSegmentExportJobsRequest();
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.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "GetSegmentExportJobs"; }
35 
36     Aws::String SerializePayload() const override;
37 
38     void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
41     /**
42      * <p>The unique identifier for the application. This identifier is displayed as
43      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
44      */
GetApplicationId()45     inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 
47     /**
48      * <p>The unique identifier for the application. This identifier is displayed as
49      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
50      */
ApplicationIdHasBeenSet()51     inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
52 
53     /**
54      * <p>The unique identifier for the application. This identifier is displayed as
55      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
56      */
SetApplicationId(const Aws::String & value)57     inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
58 
59     /**
60      * <p>The unique identifier for the application. This identifier is displayed as
61      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
62      */
SetApplicationId(Aws::String && value)63     inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
64 
65     /**
66      * <p>The unique identifier for the application. This identifier is displayed as
67      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
68      */
SetApplicationId(const char * value)69     inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
70 
71     /**
72      * <p>The unique identifier for the application. This identifier is displayed as
73      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
74      */
WithApplicationId(const Aws::String & value)75     inline GetSegmentExportJobsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
76 
77     /**
78      * <p>The unique identifier for the application. This identifier is displayed as
79      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
80      */
WithApplicationId(Aws::String && value)81     inline GetSegmentExportJobsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
82 
83     /**
84      * <p>The unique identifier for the application. This identifier is displayed as
85      * the <b>Project ID</b> on the Amazon Pinpoint console.</p>
86      */
WithApplicationId(const char * value)87     inline GetSegmentExportJobsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
88 
89 
90     /**
91      * <p>The maximum number of items to include in each page of a paginated response.
92      * This parameter is not supported for application, campaign, and journey
93      * metrics.</p>
94      */
GetPageSize()95     inline const Aws::String& GetPageSize() const{ return m_pageSize; }
96 
97     /**
98      * <p>The maximum number of items to include in each page of a paginated response.
99      * This parameter is not supported for application, campaign, and journey
100      * metrics.</p>
101      */
PageSizeHasBeenSet()102     inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
103 
104     /**
105      * <p>The maximum number of items to include in each page of a paginated response.
106      * This parameter is not supported for application, campaign, and journey
107      * metrics.</p>
108      */
SetPageSize(const Aws::String & value)109     inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
110 
111     /**
112      * <p>The maximum number of items to include in each page of a paginated response.
113      * This parameter is not supported for application, campaign, and journey
114      * metrics.</p>
115      */
SetPageSize(Aws::String && value)116     inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
117 
118     /**
119      * <p>The maximum number of items to include in each page of a paginated response.
120      * This parameter is not supported for application, campaign, and journey
121      * metrics.</p>
122      */
SetPageSize(const char * value)123     inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
124 
125     /**
126      * <p>The maximum number of items to include in each page of a paginated response.
127      * This parameter is not supported for application, campaign, and journey
128      * metrics.</p>
129      */
WithPageSize(const Aws::String & value)130     inline GetSegmentExportJobsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
131 
132     /**
133      * <p>The maximum number of items to include in each page of a paginated response.
134      * This parameter is not supported for application, campaign, and journey
135      * metrics.</p>
136      */
WithPageSize(Aws::String && value)137     inline GetSegmentExportJobsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
138 
139     /**
140      * <p>The maximum number of items to include in each page of a paginated response.
141      * This parameter is not supported for application, campaign, and journey
142      * metrics.</p>
143      */
WithPageSize(const char * value)144     inline GetSegmentExportJobsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
145 
146 
147     /**
148      * <p>The unique identifier for the segment.</p>
149      */
GetSegmentId()150     inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
151 
152     /**
153      * <p>The unique identifier for the segment.</p>
154      */
SegmentIdHasBeenSet()155     inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
156 
157     /**
158      * <p>The unique identifier for the segment.</p>
159      */
SetSegmentId(const Aws::String & value)160     inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
161 
162     /**
163      * <p>The unique identifier for the segment.</p>
164      */
SetSegmentId(Aws::String && value)165     inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
166 
167     /**
168      * <p>The unique identifier for the segment.</p>
169      */
SetSegmentId(const char * value)170     inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
171 
172     /**
173      * <p>The unique identifier for the segment.</p>
174      */
WithSegmentId(const Aws::String & value)175     inline GetSegmentExportJobsRequest& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
176 
177     /**
178      * <p>The unique identifier for the segment.</p>
179      */
WithSegmentId(Aws::String && value)180     inline GetSegmentExportJobsRequest& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
181 
182     /**
183      * <p>The unique identifier for the segment.</p>
184      */
WithSegmentId(const char * value)185     inline GetSegmentExportJobsRequest& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
186 
187 
188     /**
189      * <p>The NextToken string that specifies which page of results to return in a
190      * paginated response.</p>
191      */
GetToken()192     inline const Aws::String& GetToken() const{ return m_token; }
193 
194     /**
195      * <p>The NextToken string that specifies which page of results to return in a
196      * paginated response.</p>
197      */
TokenHasBeenSet()198     inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
199 
200     /**
201      * <p>The NextToken string that specifies which page of results to return in a
202      * paginated response.</p>
203      */
SetToken(const Aws::String & value)204     inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
205 
206     /**
207      * <p>The NextToken string that specifies which page of results to return in a
208      * paginated response.</p>
209      */
SetToken(Aws::String && value)210     inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
211 
212     /**
213      * <p>The NextToken string that specifies which page of results to return in a
214      * paginated response.</p>
215      */
SetToken(const char * value)216     inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
217 
218     /**
219      * <p>The NextToken string that specifies which page of results to return in a
220      * paginated response.</p>
221      */
WithToken(const Aws::String & value)222     inline GetSegmentExportJobsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
223 
224     /**
225      * <p>The NextToken string that specifies which page of results to return in a
226      * paginated response.</p>
227      */
WithToken(Aws::String && value)228     inline GetSegmentExportJobsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
229 
230     /**
231      * <p>The NextToken string that specifies which page of results to return in a
232      * paginated response.</p>
233      */
WithToken(const char * value)234     inline GetSegmentExportJobsRequest& 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
254