AWS SDK for C++  1.9.15
AWS SDK for C++
BatchGetFrameMetricDataRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Http
19 {
20  class URI;
21 } //namespace Http
22 namespace CodeGuruProfiler
23 {
24 namespace Model
25 {
26 
34  {
35  public:
37 
38  // Service request name is the Operation name which will send this request out,
39  // each operation should has unique request name, so that we can get operation's name from this request.
40  // Note: this is not true for response, multiple operations may have the same response name,
41  // so we can not get operation's name from response.
42  inline virtual const char* GetServiceRequestName() const override { return "BatchGetFrameMetricData"; }
43 
44  Aws::String SerializePayload() const override;
45 
46  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
47 
48 
54  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
55 
61  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
62 
68  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
69 
75  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
76 
82  inline BatchGetFrameMetricDataRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
83 
89  inline BatchGetFrameMetricDataRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
90 
91 
98  inline const Aws::Vector<FrameMetric>& GetFrameMetrics() const{ return m_frameMetrics; }
99 
106  inline bool FrameMetricsHasBeenSet() const { return m_frameMetricsHasBeenSet; }
107 
114  inline void SetFrameMetrics(const Aws::Vector<FrameMetric>& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics = value; }
115 
122  inline void SetFrameMetrics(Aws::Vector<FrameMetric>&& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics = std::move(value); }
123 
130  inline BatchGetFrameMetricDataRequest& WithFrameMetrics(const Aws::Vector<FrameMetric>& value) { SetFrameMetrics(value); return *this;}
131 
138  inline BatchGetFrameMetricDataRequest& WithFrameMetrics(Aws::Vector<FrameMetric>&& value) { SetFrameMetrics(std::move(value)); return *this;}
139 
146  inline BatchGetFrameMetricDataRequest& AddFrameMetrics(const FrameMetric& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics.push_back(value); return *this; }
147 
154  inline BatchGetFrameMetricDataRequest& AddFrameMetrics(FrameMetric&& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics.push_back(std::move(value)); return *this; }
155 
156 
162  inline const Aws::String& GetPeriod() const{ return m_period; }
163 
169  inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
170 
176  inline void SetPeriod(const Aws::String& value) { m_periodHasBeenSet = true; m_period = value; }
177 
183  inline void SetPeriod(Aws::String&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
184 
190  inline void SetPeriod(const char* value) { m_periodHasBeenSet = true; m_period.assign(value); }
191 
197  inline BatchGetFrameMetricDataRequest& WithPeriod(const Aws::String& value) { SetPeriod(value); return *this;}
198 
204  inline BatchGetFrameMetricDataRequest& WithPeriod(Aws::String&& value) { SetPeriod(std::move(value)); return *this;}
205 
211  inline BatchGetFrameMetricDataRequest& WithPeriod(const char* value) { SetPeriod(value); return *this;}
212 
213 
218  inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
219 
224  inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
225 
230  inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
231 
236  inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
237 
242  inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
243 
248  inline BatchGetFrameMetricDataRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
249 
254  inline BatchGetFrameMetricDataRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
255 
260  inline BatchGetFrameMetricDataRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
261 
262 
269  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
270 
277  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
278 
285  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
286 
293  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
294 
301  inline BatchGetFrameMetricDataRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
302 
309  inline BatchGetFrameMetricDataRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
310 
311 
321  inline const AggregationPeriod& GetTargetResolution() const{ return m_targetResolution; }
322 
332  inline bool TargetResolutionHasBeenSet() const { return m_targetResolutionHasBeenSet; }
333 
343  inline void SetTargetResolution(const AggregationPeriod& value) { m_targetResolutionHasBeenSet = true; m_targetResolution = value; }
344 
354  inline void SetTargetResolution(AggregationPeriod&& value) { m_targetResolutionHasBeenSet = true; m_targetResolution = std::move(value); }
355 
365  inline BatchGetFrameMetricDataRequest& WithTargetResolution(const AggregationPeriod& value) { SetTargetResolution(value); return *this;}
366 
376  inline BatchGetFrameMetricDataRequest& WithTargetResolution(AggregationPeriod&& value) { SetTargetResolution(std::move(value)); return *this;}
377 
378  private:
379 
380  Aws::Utils::DateTime m_endTime;
381  bool m_endTimeHasBeenSet;
382 
383  Aws::Vector<FrameMetric> m_frameMetrics;
384  bool m_frameMetricsHasBeenSet;
385 
386  Aws::String m_period;
387  bool m_periodHasBeenSet;
388 
389  Aws::String m_profilingGroupName;
390  bool m_profilingGroupNameHasBeenSet;
391 
392  Aws::Utils::DateTime m_startTime;
393  bool m_startTimeHasBeenSet;
394 
395  AggregationPeriod m_targetResolution;
396  bool m_targetResolutionHasBeenSet;
397  };
398 
399 } // namespace Model
400 } // namespace CodeGuruProfiler
401 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataRequest.h:293
Aws::Http::URI
Definition: URI.h:32
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataRequest.h:285
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::TargetResolutionHasBeenSet
bool TargetResolutionHasBeenSet() const
Definition: BatchGetFrameMetricDataRequest.h:332
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithPeriod
BatchGetFrameMetricDataRequest & WithPeriod(Aws::String &&value)
Definition: BatchGetFrameMetricDataRequest.h:204
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::PeriodHasBeenSet
bool PeriodHasBeenSet() const
Definition: BatchGetFrameMetricDataRequest.h:169
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::GetFrameMetrics
const Aws::Vector< FrameMetric > & GetFrameMetrics() const
Definition: BatchGetFrameMetricDataRequest.h:98
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::GetProfilingGroupName
const Aws::String & GetProfilingGroupName() const
Definition: BatchGetFrameMetricDataRequest.h:218
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetProfilingGroupName
void SetProfilingGroupName(const Aws::String &value)
Definition: BatchGetFrameMetricDataRequest.h:230
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetProfilingGroupName
void SetProfilingGroupName(const char *value)
Definition: BatchGetFrameMetricDataRequest.h:242
DateTime.h
Aws::CodeGuruProfiler::Model::FrameMetric
Definition: FrameMetric.h:35
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetPeriod
void SetPeriod(const Aws::String &value)
Definition: BatchGetFrameMetricDataRequest.h:176
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithPeriod
BatchGetFrameMetricDataRequest & WithPeriod(const Aws::String &value)
Definition: BatchGetFrameMetricDataRequest.h:197
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::AddFrameMetrics
BatchGetFrameMetricDataRequest & AddFrameMetrics(FrameMetric &&value)
Definition: BatchGetFrameMetricDataRequest.h:154
AWSVector.h
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithStartTime
BatchGetFrameMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataRequest.h:309
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::FrameMetricsHasBeenSet
bool FrameMetricsHasBeenSet() const
Definition: BatchGetFrameMetricDataRequest.h:106
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest
Definition: BatchGetFrameMetricDataRequest.h:34
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithFrameMetrics
BatchGetFrameMetricDataRequest & WithFrameMetrics(Aws::Vector< FrameMetric > &&value)
Definition: BatchGetFrameMetricDataRequest.h:138
FrameMetric.h
Aws::CodeGuruProfiler::Model::AggregationPeriod
AggregationPeriod
Definition: AggregationPeriod.h:17
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::GetPeriod
const Aws::String & GetPeriod() const
Definition: BatchGetFrameMetricDataRequest.h:162
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: BatchGetFrameMetricDataRequest.h:61
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithProfilingGroupName
BatchGetFrameMetricDataRequest & WithProfilingGroupName(Aws::String &&value)
Definition: BatchGetFrameMetricDataRequest.h:254
AggregationPeriod.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: BatchGetFrameMetricDataRequest.h:269
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithEndTime
BatchGetFrameMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataRequest.h:82
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: BatchGetFrameMetricDataRequest.h:277
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithStartTime
BatchGetFrameMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataRequest.h:301
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: BatchGetFrameMetricDataRequest.h:54
AWSString.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithPeriod
BatchGetFrameMetricDataRequest & WithPeriod(const char *value)
Definition: BatchGetFrameMetricDataRequest.h:211
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::GetTargetResolution
const AggregationPeriod & GetTargetResolution() const
Definition: BatchGetFrameMetricDataRequest.h:321
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetPeriod
void SetPeriod(const char *value)
Definition: BatchGetFrameMetricDataRequest.h:190
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithTargetResolution
BatchGetFrameMetricDataRequest & WithTargetResolution(AggregationPeriod &&value)
Definition: BatchGetFrameMetricDataRequest.h:376
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::ProfilingGroupNameHasBeenSet
bool ProfilingGroupNameHasBeenSet() const
Definition: BatchGetFrameMetricDataRequest.h:224
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetTargetResolution
void SetTargetResolution(AggregationPeriod &&value)
Definition: BatchGetFrameMetricDataRequest.h:354
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithTargetResolution
BatchGetFrameMetricDataRequest & WithTargetResolution(const AggregationPeriod &value)
Definition: BatchGetFrameMetricDataRequest.h:365
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetFrameMetrics
void SetFrameMetrics(const Aws::Vector< FrameMetric > &value)
Definition: BatchGetFrameMetricDataRequest.h:114
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithFrameMetrics
BatchGetFrameMetricDataRequest & WithFrameMetrics(const Aws::Vector< FrameMetric > &value)
Definition: BatchGetFrameMetricDataRequest.h:130
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::AddFrameMetrics
BatchGetFrameMetricDataRequest & AddFrameMetrics(const FrameMetric &value)
Definition: BatchGetFrameMetricDataRequest.h:146
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithProfilingGroupName
BatchGetFrameMetricDataRequest & WithProfilingGroupName(const char *value)
Definition: BatchGetFrameMetricDataRequest.h:260
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataRequest.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetFrameMetricDataRequest.h:42
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetProfilingGroupName
void SetProfilingGroupName(Aws::String &&value)
Definition: BatchGetFrameMetricDataRequest.h:236
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetTargetResolution
void SetTargetResolution(const AggregationPeriod &value)
Definition: BatchGetFrameMetricDataRequest.h:343
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetPeriod
void SetPeriod(Aws::String &&value)
Definition: BatchGetFrameMetricDataRequest.h:183
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithEndTime
BatchGetFrameMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataRequest.h:89
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::BatchGetFrameMetricDataRequest
BatchGetFrameMetricDataRequest()
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::SetFrameMetrics
void SetFrameMetrics(Aws::Vector< FrameMetric > &&value)
Definition: BatchGetFrameMetricDataRequest.h:122
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataRequest::WithProfilingGroupName
BatchGetFrameMetricDataRequest & WithProfilingGroupName(const Aws::String &value)
Definition: BatchGetFrameMetricDataRequest.h:248