AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListProfileTimesRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/codeguruprofiler/model/OrderBy.h>
12#include <aws/codeguruprofiler/model/AggregationPeriod.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace CodeGuruProfiler
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEGURUPROFILER_API ListProfileTimesRequest() = default;
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_CODEGURUPROFILER_API Aws::String SerializePayload() const override;
44
45 AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46
47
49
52 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
53 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
54 template<typename EndTimeT = Aws::Utils::DateTime>
55 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
56 template<typename EndTimeT = Aws::Utils::DateTime>
57 ListProfileTimesRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
59
61
70 inline int GetMaxResults() const { return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
73 inline ListProfileTimesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
75
77
86 inline const Aws::String& GetNextToken() const { return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 template<typename NextTokenT = Aws::String>
89 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
90 template<typename NextTokenT = Aws::String>
91 ListProfileTimesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
93
95
99 inline OrderBy GetOrderBy() const { return m_orderBy; }
100 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
101 inline void SetOrderBy(OrderBy value) { m_orderByHasBeenSet = true; m_orderBy = value; }
102 inline ListProfileTimesRequest& WithOrderBy(OrderBy value) { SetOrderBy(value); return *this;}
104
106
113 inline AggregationPeriod GetPeriod() const { return m_period; }
114 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
115 inline void SetPeriod(AggregationPeriod value) { m_periodHasBeenSet = true; m_period = value; }
116 inline ListProfileTimesRequest& WithPeriod(AggregationPeriod value) { SetPeriod(value); return *this;}
118
120
123 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
124 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
125 template<typename ProfilingGroupNameT = Aws::String>
126 void SetProfilingGroupName(ProfilingGroupNameT&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::forward<ProfilingGroupNameT>(value); }
127 template<typename ProfilingGroupNameT = Aws::String>
128 ListProfileTimesRequest& WithProfilingGroupName(ProfilingGroupNameT&& value) { SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
136 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
137 template<typename StartTimeT = Aws::Utils::DateTime>
138 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
139 template<typename StartTimeT = Aws::Utils::DateTime>
140 ListProfileTimesRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
142 private:
143
144 Aws::Utils::DateTime m_endTime{};
145 bool m_endTimeHasBeenSet = false;
146
147 int m_maxResults{0};
148 bool m_maxResultsHasBeenSet = false;
149
150 Aws::String m_nextToken;
151 bool m_nextTokenHasBeenSet = false;
152
153 OrderBy m_orderBy{OrderBy::NOT_SET};
154 bool m_orderByHasBeenSet = false;
155
157 bool m_periodHasBeenSet = false;
158
159 Aws::String m_profilingGroupName;
160 bool m_profilingGroupNameHasBeenSet = false;
161
162 Aws::Utils::DateTime m_startTime{};
163 bool m_startTimeHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace CodeGuruProfiler
168} // namespace Aws
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CODEGURUPROFILER_API ListProfileTimesRequest()=default
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListProfileTimesRequest & WithPeriod(AggregationPeriod value)
ListProfileTimesRequest & WithEndTime(EndTimeT &&value)
ListProfileTimesRequest & WithNextToken(NextTokenT &&value)
ListProfileTimesRequest & WithProfilingGroupName(ProfilingGroupNameT &&value)
ListProfileTimesRequest & WithStartTime(StartTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String