AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
55 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
56 inline ListProfileTimesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
57 inline ListProfileTimesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline ListProfileTimesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline ListProfileTimesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline ListProfileTimesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
101 inline const OrderBy& GetOrderBy() const{ return m_orderBy; }
102 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
103 inline void SetOrderBy(const OrderBy& value) { m_orderByHasBeenSet = true; m_orderBy = value; }
104 inline void SetOrderBy(OrderBy&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); }
105 inline ListProfileTimesRequest& WithOrderBy(const OrderBy& value) { SetOrderBy(value); return *this;}
106 inline ListProfileTimesRequest& WithOrderBy(OrderBy&& value) { SetOrderBy(std::move(value)); return *this;}
108
110
117 inline const AggregationPeriod& GetPeriod() const{ return m_period; }
118 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
119 inline void SetPeriod(const AggregationPeriod& value) { m_periodHasBeenSet = true; m_period = value; }
120 inline void SetPeriod(AggregationPeriod&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
121 inline ListProfileTimesRequest& WithPeriod(const AggregationPeriod& value) { SetPeriod(value); return *this;}
122 inline ListProfileTimesRequest& WithPeriod(AggregationPeriod&& value) { SetPeriod(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
130 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
131 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
132 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
133 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
135 inline ListProfileTimesRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
136 inline ListProfileTimesRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
144 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
145 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
146 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
147 inline ListProfileTimesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
148 inline ListProfileTimesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
150 private:
151
152 Aws::Utils::DateTime m_endTime;
153 bool m_endTimeHasBeenSet = false;
154
155 int m_maxResults;
156 bool m_maxResultsHasBeenSet = false;
157
158 Aws::String m_nextToken;
159 bool m_nextTokenHasBeenSet = false;
160
161 OrderBy m_orderBy;
162 bool m_orderByHasBeenSet = false;
163
164 AggregationPeriod m_period;
165 bool m_periodHasBeenSet = false;
166
167 Aws::String m_profilingGroupName;
168 bool m_profilingGroupNameHasBeenSet = false;
169
170 Aws::Utils::DateTime m_startTime;
171 bool m_startTimeHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace CodeGuruProfiler
176} // namespace Aws
ListProfileTimesRequest & WithOrderBy(OrderBy &&value)
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProfileTimesRequest & WithOrderBy(const OrderBy &value)
ListProfileTimesRequest & WithProfilingGroupName(const char *value)
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
ListProfileTimesRequest & WithPeriod(const AggregationPeriod &value)
ListProfileTimesRequest & WithProfilingGroupName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListProfileTimesRequest & WithNextToken(const char *value)
ListProfileTimesRequest & WithNextToken(const Aws::String &value)
ListProfileTimesRequest & WithPeriod(AggregationPeriod &&value)
ListProfileTimesRequest & WithProfilingGroupName(Aws::String &&value)
ListProfileTimesRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListProfileTimesRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListProfileTimesRequest & WithNextToken(Aws::String &&value)
ListProfileTimesRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListProfileTimesRequest & WithEndTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String