AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetFrameMetricDataRequest.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/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/codeguruprofiler/model/AggregationPeriod.h>
13#include <aws/codeguruprofiler/model/FrameMetric.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Http
19{
20 class URI;
21} //namespace Http
22namespace CodeGuruProfiler
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEGURUPROFILER_API BatchGetFrameMetricDataRequest();
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_CODEGURUPROFILER_API Aws::String SerializePayload() const override;
45
46 AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
47
48
50
55 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
56 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
57 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
58 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
59 inline BatchGetFrameMetricDataRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
60 inline BatchGetFrameMetricDataRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
62
64
70 inline const Aws::Vector<FrameMetric>& GetFrameMetrics() const{ return m_frameMetrics; }
71 inline bool FrameMetricsHasBeenSet() const { return m_frameMetricsHasBeenSet; }
72 inline void SetFrameMetrics(const Aws::Vector<FrameMetric>& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics = value; }
73 inline void SetFrameMetrics(Aws::Vector<FrameMetric>&& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics = std::move(value); }
76 inline BatchGetFrameMetricDataRequest& AddFrameMetrics(const FrameMetric& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics.push_back(value); return *this; }
77 inline BatchGetFrameMetricDataRequest& AddFrameMetrics(FrameMetric&& value) { m_frameMetricsHasBeenSet = true; m_frameMetrics.push_back(std::move(value)); return *this; }
79
81
86 inline const Aws::String& GetPeriod() const{ return m_period; }
87 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
88 inline void SetPeriod(const Aws::String& value) { m_periodHasBeenSet = true; m_period = value; }
89 inline void SetPeriod(Aws::String&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
90 inline void SetPeriod(const char* value) { m_periodHasBeenSet = true; m_period.assign(value); }
91 inline BatchGetFrameMetricDataRequest& WithPeriod(const Aws::String& value) { SetPeriod(value); return *this;}
92 inline BatchGetFrameMetricDataRequest& WithPeriod(Aws::String&& value) { SetPeriod(std::move(value)); return *this;}
93 inline BatchGetFrameMetricDataRequest& WithPeriod(const char* value) { SetPeriod(value); return *this;}
95
97
101 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
102 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
103 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
104 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
105 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
108 inline BatchGetFrameMetricDataRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
110
112
118 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
119 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
120 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
121 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
123 inline BatchGetFrameMetricDataRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
125
127
136 inline const AggregationPeriod& GetTargetResolution() const{ return m_targetResolution; }
137 inline bool TargetResolutionHasBeenSet() const { return m_targetResolutionHasBeenSet; }
138 inline void SetTargetResolution(const AggregationPeriod& value) { m_targetResolutionHasBeenSet = true; m_targetResolution = value; }
139 inline void SetTargetResolution(AggregationPeriod&& value) { m_targetResolutionHasBeenSet = true; m_targetResolution = std::move(value); }
143 private:
144
145 Aws::Utils::DateTime m_endTime;
146 bool m_endTimeHasBeenSet = false;
147
148 Aws::Vector<FrameMetric> m_frameMetrics;
149 bool m_frameMetricsHasBeenSet = false;
150
151 Aws::String m_period;
152 bool m_periodHasBeenSet = false;
153
154 Aws::String m_profilingGroupName;
155 bool m_profilingGroupNameHasBeenSet = false;
156
157 Aws::Utils::DateTime m_startTime;
158 bool m_startTimeHasBeenSet = false;
159
160 AggregationPeriod m_targetResolution;
161 bool m_targetResolutionHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace CodeGuruProfiler
166} // namespace Aws
BatchGetFrameMetricDataRequest & WithFrameMetrics(Aws::Vector< FrameMetric > &&value)
BatchGetFrameMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
BatchGetFrameMetricDataRequest & WithFrameMetrics(const Aws::Vector< FrameMetric > &value)
BatchGetFrameMetricDataRequest & WithProfilingGroupName(Aws::String &&value)
BatchGetFrameMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
BatchGetFrameMetricDataRequest & AddFrameMetrics(const FrameMetric &value)
BatchGetFrameMetricDataRequest & WithProfilingGroupName(const Aws::String &value)
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
BatchGetFrameMetricDataRequest & WithPeriod(const Aws::String &value)
BatchGetFrameMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
BatchGetFrameMetricDataRequest & AddFrameMetrics(FrameMetric &&value)
BatchGetFrameMetricDataRequest & WithTargetResolution(const AggregationPeriod &value)
BatchGetFrameMetricDataRequest & WithTargetResolution(AggregationPeriod &&value)
BatchGetFrameMetricDataRequest & WithPeriod(Aws::String &&value)
BatchGetFrameMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
BatchGetFrameMetricDataRequest & WithPeriod(const char *value)
BatchGetFrameMetricDataRequest & WithProfilingGroupName(const char *value)
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector