AWS SDK for C++  1.8.71
AWS SDK for C++
ListFindingsReportsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace CodeGuruProfiler
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "ListFindingsReports"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
52  inline bool GetDailyReportsOnly() const{ return m_dailyReportsOnly; }
53 
60  inline bool DailyReportsOnlyHasBeenSet() const { return m_dailyReportsOnlyHasBeenSet; }
61 
68  inline void SetDailyReportsOnly(bool value) { m_dailyReportsOnlyHasBeenSet = true; m_dailyReportsOnly = value; }
69 
76  inline ListFindingsReportsRequest& WithDailyReportsOnly(bool value) { SetDailyReportsOnly(value); return *this;}
77 
78 
85  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
86 
93  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
94 
101  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
102 
109  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
110 
117  inline ListFindingsReportsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
118 
125  inline ListFindingsReportsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
126 
127 
137  inline int GetMaxResults() const{ return m_maxResults; }
138 
148  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
149 
159  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
160 
170  inline ListFindingsReportsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
171 
172 
182  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
183 
193  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
194 
204  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
205 
215  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
216 
226  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
227 
237  inline ListFindingsReportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
238 
248  inline ListFindingsReportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
249 
259  inline ListFindingsReportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
260 
261 
265  inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
266 
270  inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
271 
275  inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
276 
280  inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
281 
285  inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
286 
290  inline ListFindingsReportsRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
291 
295  inline ListFindingsReportsRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
296 
300  inline ListFindingsReportsRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
301 
302 
309  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
310 
317  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
318 
325  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
326 
333  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
334 
341  inline ListFindingsReportsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
342 
349  inline ListFindingsReportsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
350 
351  private:
352 
353  bool m_dailyReportsOnly;
354  bool m_dailyReportsOnlyHasBeenSet;
355 
356  Aws::Utils::DateTime m_endTime;
357  bool m_endTimeHasBeenSet;
358 
359  int m_maxResults;
360  bool m_maxResultsHasBeenSet;
361 
362  Aws::String m_nextToken;
363  bool m_nextTokenHasBeenSet;
364 
365  Aws::String m_profilingGroupName;
366  bool m_profilingGroupNameHasBeenSet;
367 
368  Aws::Utils::DateTime m_startTime;
369  bool m_startTimeHasBeenSet;
370  };
371 
372 } // namespace Model
373 } // namespace CodeGuruProfiler
374 } // namespace Aws
ListFindingsReportsRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListFindingsReportsRequest & WithProfilingGroupName(const char *value)
ListFindingsReportsRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListFindingsReportsRequest & WithDailyReportsOnly(bool value)
ListFindingsReportsRequest & WithNextToken(const char *value)
#define AWS_CODEGURUPROFILER_API
ListFindingsReportsRequest & WithProfilingGroupName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListFindingsReportsRequest & WithProfilingGroupName(const Aws::String &value)
ListFindingsReportsRequest & WithNextToken(Aws::String &&value)
ListFindingsReportsRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListFindingsReportsRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListFindingsReportsRequest & WithNextToken(const Aws::String &value)