AWS SDK for C++  1.9.104
AWS SDK for C++
ListProfileTimesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Http
18 {
19  class URI;
20 } //namespace Http
21 namespace CodeGuruProfiler
22 {
23 namespace Model
24 {
25 
33  {
34  public:
36 
37  // Service request name is the Operation name which will send this request out,
38  // each operation should has unique request name, so that we can get operation's name from this request.
39  // Note: this is not true for response, multiple operations may have the same response name,
40  // so we can not get operation's name from response.
41  inline virtual const char* GetServiceRequestName() const override { return "ListProfileTimes"; }
42 
43  Aws::String SerializePayload() const override;
44 
45  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46 
47 
51  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
52 
56  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
57 
61  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
62 
66  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
67 
71  inline ListProfileTimesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
72 
76  inline ListProfileTimesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
77 
78 
88  inline int GetMaxResults() const{ return m_maxResults; }
89 
99  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 
110  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 
121  inline ListProfileTimesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122 
123 
133  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
134 
144  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
145 
155  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
156 
166  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
167 
177  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
178 
188  inline ListProfileTimesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
189 
199  inline ListProfileTimesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
200 
210  inline ListProfileTimesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
211 
212 
217  inline const OrderBy& GetOrderBy() const{ return m_orderBy; }
218 
223  inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
224 
229  inline void SetOrderBy(const OrderBy& value) { m_orderByHasBeenSet = true; m_orderBy = value; }
230 
235  inline void SetOrderBy(OrderBy&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); }
236 
241  inline ListProfileTimesRequest& WithOrderBy(const OrderBy& value) { SetOrderBy(value); return *this;}
242 
247  inline ListProfileTimesRequest& WithOrderBy(OrderBy&& value) { SetOrderBy(std::move(value)); return *this;}
248 
249 
257  inline const AggregationPeriod& GetPeriod() const{ return m_period; }
258 
266  inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
267 
275  inline void SetPeriod(const AggregationPeriod& value) { m_periodHasBeenSet = true; m_period = value; }
276 
284  inline void SetPeriod(AggregationPeriod&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
285 
293  inline ListProfileTimesRequest& WithPeriod(const AggregationPeriod& value) { SetPeriod(value); return *this;}
294 
302  inline ListProfileTimesRequest& WithPeriod(AggregationPeriod&& value) { SetPeriod(std::move(value)); return *this;}
303 
304 
308  inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
309 
313  inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
314 
318  inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
319 
323  inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
324 
328  inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
329 
333  inline ListProfileTimesRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
334 
338  inline ListProfileTimesRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
339 
343  inline ListProfileTimesRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
344 
345 
349  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
350 
354  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
355 
359  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
360 
364  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
365 
369  inline ListProfileTimesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
370 
374  inline ListProfileTimesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
375 
376  private:
377 
378  Aws::Utils::DateTime m_endTime;
379  bool m_endTimeHasBeenSet;
380 
381  int m_maxResults;
382  bool m_maxResultsHasBeenSet;
383 
384  Aws::String m_nextToken;
385  bool m_nextTokenHasBeenSet;
386 
387  OrderBy m_orderBy;
388  bool m_orderByHasBeenSet;
389 
390  AggregationPeriod m_period;
391  bool m_periodHasBeenSet;
392 
393  Aws::String m_profilingGroupName;
394  bool m_profilingGroupNameHasBeenSet;
395 
396  Aws::Utils::DateTime m_startTime;
397  bool m_startTimeHasBeenSet;
398  };
399 
400 } // namespace Model
401 } // namespace CodeGuruProfiler
402 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListProfileTimesRequest.h:349
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithOrderBy
ListProfileTimesRequest & WithOrderBy(OrderBy &&value)
Definition: ListProfileTimesRequest.h:247
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithStartTime
ListProfileTimesRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListProfileTimesRequest.h:374
Aws::Http::URI
Definition: URI.h:32
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListProfileTimesRequest.h:41
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListProfileTimesRequest.h:56
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetProfilingGroupName
void SetProfilingGroupName(Aws::String &&value)
Definition: ListProfileTimesRequest.h:323
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CodeGuruProfiler::Model::OrderBy
OrderBy
Definition: OrderBy.h:17
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListProfileTimesRequest.h:177
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListProfileTimesRequest.h:359
DateTime.h
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetOrderBy
void SetOrderBy(const OrderBy &value)
Definition: ListProfileTimesRequest.h:229
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListProfileTimesRequest.h:66
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListProfileTimesRequest.h:110
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetPeriod
void SetPeriod(AggregationPeriod &&value)
Definition: ListProfileTimesRequest.h:284
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::ListProfileTimesRequest
ListProfileTimesRequest()
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListProfileTimesRequest.h:61
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListProfileTimesRequest.h:166
Aws::CodeGuruProfiler::Model::AggregationPeriod
AggregationPeriod
Definition: AggregationPeriod.h:17
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetOrderBy
const OrderBy & GetOrderBy() const
Definition: ListProfileTimesRequest.h:217
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetPeriod
const AggregationPeriod & GetPeriod() const
Definition: ListProfileTimesRequest.h:257
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithProfilingGroupName
ListProfileTimesRequest & WithProfilingGroupName(const Aws::String &value)
Definition: ListProfileTimesRequest.h:333
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListProfileTimesRequest.h:88
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListProfileTimesRequest.h:364
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithNextToken
ListProfileTimesRequest & WithNextToken(const char *value)
Definition: ListProfileTimesRequest.h:210
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListProfileTimesRequest.h:144
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithPeriod
ListProfileTimesRequest & WithPeriod(AggregationPeriod &&value)
Definition: ListProfileTimesRequest.h:302
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetOrderBy
void SetOrderBy(OrderBy &&value)
Definition: ListProfileTimesRequest.h:235
AggregationPeriod.h
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetProfilingGroupName
void SetProfilingGroupName(const Aws::String &value)
Definition: ListProfileTimesRequest.h:318
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListProfileTimesRequest.h:133
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest
Definition: ListProfileTimesRequest.h:33
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetProfilingGroupName
void SetProfilingGroupName(const char *value)
Definition: ListProfileTimesRequest.h:328
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithEndTime
ListProfileTimesRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListProfileTimesRequest.h:76
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithProfilingGroupName
ListProfileTimesRequest & WithProfilingGroupName(const char *value)
Definition: ListProfileTimesRequest.h:343
AWSString.h
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithNextToken
ListProfileTimesRequest & WithNextToken(const Aws::String &value)
Definition: ListProfileTimesRequest.h:188
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithMaxResults
ListProfileTimesRequest & WithMaxResults(int value)
Definition: ListProfileTimesRequest.h:121
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::OrderByHasBeenSet
bool OrderByHasBeenSet() const
Definition: ListProfileTimesRequest.h:223
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetProfilingGroupName
const Aws::String & GetProfilingGroupName() const
Definition: ListProfileTimesRequest.h:308
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListProfileTimesRequest.h:354
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithProfilingGroupName
ListProfileTimesRequest & WithProfilingGroupName(Aws::String &&value)
Definition: ListProfileTimesRequest.h:338
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListProfileTimesRequest.h:51
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithOrderBy
ListProfileTimesRequest & WithOrderBy(const OrderBy &value)
Definition: ListProfileTimesRequest.h:241
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::ProfilingGroupNameHasBeenSet
bool ProfilingGroupNameHasBeenSet() const
Definition: ListProfileTimesRequest.h:313
OrderBy.h
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListProfileTimesRequest.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SetPeriod
void SetPeriod(const AggregationPeriod &value)
Definition: ListProfileTimesRequest.h:275
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithNextToken
ListProfileTimesRequest & WithNextToken(Aws::String &&value)
Definition: ListProfileTimesRequest.h:199
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithPeriod
ListProfileTimesRequest & WithPeriod(const AggregationPeriod &value)
Definition: ListProfileTimesRequest.h:293
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListProfileTimesRequest.h:99
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithEndTime
ListProfileTimesRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListProfileTimesRequest.h:71
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::PeriodHasBeenSet
bool PeriodHasBeenSet() const
Definition: ListProfileTimesRequest.h:266
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18
Aws::CodeGuruProfiler::Model::ListProfileTimesRequest::WithStartTime
ListProfileTimesRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListProfileTimesRequest.h:369