AWS SDK for C++  1.9.40
AWS SDK for C++
BatchGetFrameMetricDataResult.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace CodeGuruProfiler
30 {
31 namespace Model
32 {
40  {
41  public:
45 
46 
52  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
53 
59  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
60 
66  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
67 
73  inline BatchGetFrameMetricDataResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
74 
80  inline BatchGetFrameMetricDataResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
81 
82 
89  inline const Aws::Vector<TimestampStructure>& GetEndTimes() const{ return m_endTimes; }
90 
97  inline void SetEndTimes(const Aws::Vector<TimestampStructure>& value) { m_endTimes = value; }
98 
105  inline void SetEndTimes(Aws::Vector<TimestampStructure>&& value) { m_endTimes = std::move(value); }
106 
113  inline BatchGetFrameMetricDataResult& WithEndTimes(const Aws::Vector<TimestampStructure>& value) { SetEndTimes(value); return *this;}
114 
121  inline BatchGetFrameMetricDataResult& WithEndTimes(Aws::Vector<TimestampStructure>&& value) { SetEndTimes(std::move(value)); return *this;}
122 
129  inline BatchGetFrameMetricDataResult& AddEndTimes(const TimestampStructure& value) { m_endTimes.push_back(value); return *this; }
130 
137  inline BatchGetFrameMetricDataResult& AddEndTimes(TimestampStructure&& value) { m_endTimes.push_back(std::move(value)); return *this; }
138 
139 
146  inline const Aws::Vector<FrameMetricDatum>& GetFrameMetricData() const{ return m_frameMetricData; }
147 
154  inline void SetFrameMetricData(const Aws::Vector<FrameMetricDatum>& value) { m_frameMetricData = value; }
155 
162  inline void SetFrameMetricData(Aws::Vector<FrameMetricDatum>&& value) { m_frameMetricData = std::move(value); }
163 
170  inline BatchGetFrameMetricDataResult& WithFrameMetricData(const Aws::Vector<FrameMetricDatum>& value) { SetFrameMetricData(value); return *this;}
171 
178  inline BatchGetFrameMetricDataResult& WithFrameMetricData(Aws::Vector<FrameMetricDatum>&& value) { SetFrameMetricData(std::move(value)); return *this;}
179 
186  inline BatchGetFrameMetricDataResult& AddFrameMetricData(const FrameMetricDatum& value) { m_frameMetricData.push_back(value); return *this; }
187 
194  inline BatchGetFrameMetricDataResult& AddFrameMetricData(FrameMetricDatum&& value) { m_frameMetricData.push_back(std::move(value)); return *this; }
195 
196 
204  inline const AggregationPeriod& GetResolution() const{ return m_resolution; }
205 
213  inline void SetResolution(const AggregationPeriod& value) { m_resolution = value; }
214 
222  inline void SetResolution(AggregationPeriod&& value) { m_resolution = std::move(value); }
223 
231  inline BatchGetFrameMetricDataResult& WithResolution(const AggregationPeriod& value) { SetResolution(value); return *this;}
232 
240  inline BatchGetFrameMetricDataResult& WithResolution(AggregationPeriod&& value) { SetResolution(std::move(value)); return *this;}
241 
242 
248  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
249 
255  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
256 
262  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
263 
269  inline BatchGetFrameMetricDataResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
270 
276  inline BatchGetFrameMetricDataResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
277 
278 
283  inline const Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>& GetUnprocessedEndTimes() const{ return m_unprocessedEndTimes; }
284 
289  inline void SetUnprocessedEndTimes(const Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>& value) { m_unprocessedEndTimes = value; }
290 
295  inline void SetUnprocessedEndTimes(Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>&& value) { m_unprocessedEndTimes = std::move(value); }
296 
301  inline BatchGetFrameMetricDataResult& WithUnprocessedEndTimes(const Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>& value) { SetUnprocessedEndTimes(value); return *this;}
302 
307  inline BatchGetFrameMetricDataResult& WithUnprocessedEndTimes(Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>&& value) { SetUnprocessedEndTimes(std::move(value)); return *this;}
308 
313  inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const Aws::String& key, const Aws::Vector<TimestampStructure>& value) { m_unprocessedEndTimes.emplace(key, value); return *this; }
314 
319  inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(Aws::String&& key, const Aws::Vector<TimestampStructure>& value) { m_unprocessedEndTimes.emplace(std::move(key), value); return *this; }
320 
325  inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const Aws::String& key, Aws::Vector<TimestampStructure>&& value) { m_unprocessedEndTimes.emplace(key, std::move(value)); return *this; }
326 
331  inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(Aws::String&& key, Aws::Vector<TimestampStructure>&& value) { m_unprocessedEndTimes.emplace(std::move(key), std::move(value)); return *this; }
332 
337  inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const char* key, Aws::Vector<TimestampStructure>&& value) { m_unprocessedEndTimes.emplace(key, std::move(value)); return *this; }
338 
343  inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const char* key, const Aws::Vector<TimestampStructure>& value) { m_unprocessedEndTimes.emplace(key, value); return *this; }
344 
345  private:
346 
347  Aws::Utils::DateTime m_endTime;
348 
350 
351  Aws::Vector<FrameMetricDatum> m_frameMetricData;
352 
353  AggregationPeriod m_resolution;
354 
355  Aws::Utils::DateTime m_startTime;
356 
358  };
359 
360 } // namespace Model
361 } // namespace CodeGuruProfiler
362 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithStartTime
BatchGetFrameMetricDataResult & WithStartTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataResult.h:276
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::GetResolution
const AggregationPeriod & GetResolution() const
Definition: BatchGetFrameMetricDataResult.h:204
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithStartTime
BatchGetFrameMetricDataResult & WithStartTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataResult.h:269
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataResult.h:262
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: BatchGetFrameMetricDataResult.h:52
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::operator=
BatchGetFrameMetricDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
TimestampStructure.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetEndTimes
void SetEndTimes(Aws::Vector< TimestampStructure > &&value)
Definition: BatchGetFrameMetricDataResult.h:105
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataResult.h:59
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithFrameMetricData
BatchGetFrameMetricDataResult & WithFrameMetricData(Aws::Vector< FrameMetricDatum > &&value)
Definition: BatchGetFrameMetricDataResult.h:178
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithEndTime
BatchGetFrameMetricDataResult & WithEndTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataResult.h:80
DateTime.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddUnprocessedEndTimes
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(Aws::String &&key, const Aws::Vector< TimestampStructure > &value)
Definition: BatchGetFrameMetricDataResult.h:319
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithFrameMetricData
BatchGetFrameMetricDataResult & WithFrameMetricData(const Aws::Vector< FrameMetricDatum > &value)
Definition: BatchGetFrameMetricDataResult.h:170
AWSVector.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithEndTime
BatchGetFrameMetricDataResult & WithEndTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataResult.h:73
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddEndTimes
BatchGetFrameMetricDataResult & AddEndTimes(const TimestampStructure &value)
Definition: BatchGetFrameMetricDataResult.h:129
CodeGuruProfiler_EXPORTS.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddUnprocessedEndTimes
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const Aws::String &key, Aws::Vector< TimestampStructure > &&value)
Definition: BatchGetFrameMetricDataResult.h:325
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetFrameMetricData
void SetFrameMetricData(const Aws::Vector< FrameMetricDatum > &value)
Definition: BatchGetFrameMetricDataResult.h:154
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetUnprocessedEndTimes
void SetUnprocessedEndTimes(const Aws::Map< Aws::String, Aws::Vector< TimestampStructure >> &value)
Definition: BatchGetFrameMetricDataResult.h:289
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithUnprocessedEndTimes
BatchGetFrameMetricDataResult & WithUnprocessedEndTimes(Aws::Map< Aws::String, Aws::Vector< TimestampStructure >> &&value)
Definition: BatchGetFrameMetricDataResult.h:307
Aws::CodeGuruProfiler::Model::AggregationPeriod
AggregationPeriod
Definition: AggregationPeriod.h:17
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddUnprocessedEndTimes
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const char *key, Aws::Vector< TimestampStructure > &&value)
Definition: BatchGetFrameMetricDataResult.h:337
AggregationPeriod.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddEndTimes
BatchGetFrameMetricDataResult & AddEndTimes(TimestampStructure &&value)
Definition: BatchGetFrameMetricDataResult.h:137
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetUnprocessedEndTimes
void SetUnprocessedEndTimes(Aws::Map< Aws::String, Aws::Vector< TimestampStructure >> &&value)
Definition: BatchGetFrameMetricDataResult.h:295
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::BatchGetFrameMetricDataResult
BatchGetFrameMetricDataResult()
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddUnprocessedEndTimes
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const Aws::String &key, const Aws::Vector< TimestampStructure > &value)
Definition: BatchGetFrameMetricDataResult.h:313
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithResolution
BatchGetFrameMetricDataResult & WithResolution(AggregationPeriod &&value)
Definition: BatchGetFrameMetricDataResult.h:240
AWSString.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetResolution
void SetResolution(const AggregationPeriod &value)
Definition: BatchGetFrameMetricDataResult.h:213
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetResolution
void SetResolution(AggregationPeriod &&value)
Definition: BatchGetFrameMetricDataResult.h:222
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddFrameMetricData
BatchGetFrameMetricDataResult & AddFrameMetricData(FrameMetricDatum &&value)
Definition: BatchGetFrameMetricDataResult.h:194
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddUnprocessedEndTimes
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const char *key, const Aws::Vector< TimestampStructure > &value)
Definition: BatchGetFrameMetricDataResult.h:343
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddFrameMetricData
BatchGetFrameMetricDataResult & AddFrameMetricData(const FrameMetricDatum &value)
Definition: BatchGetFrameMetricDataResult.h:186
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithUnprocessedEndTimes
BatchGetFrameMetricDataResult & WithUnprocessedEndTimes(const Aws::Map< Aws::String, Aws::Vector< TimestampStructure >> &value)
Definition: BatchGetFrameMetricDataResult.h:301
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: BatchGetFrameMetricDataResult.h:255
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithEndTimes
BatchGetFrameMetricDataResult & WithEndTimes(Aws::Vector< TimestampStructure > &&value)
Definition: BatchGetFrameMetricDataResult.h:121
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: BatchGetFrameMetricDataResult.h:248
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetFrameMetricData
void SetFrameMetricData(Aws::Vector< FrameMetricDatum > &&value)
Definition: BatchGetFrameMetricDataResult.h:162
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithEndTimes
BatchGetFrameMetricDataResult & WithEndTimes(const Aws::Vector< TimestampStructure > &value)
Definition: BatchGetFrameMetricDataResult.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::TimestampStructure
Definition: TimestampStructure.h:34
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::GetEndTimes
const Aws::Vector< TimestampStructure > & GetEndTimes() const
Definition: BatchGetFrameMetricDataResult.h:89
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::GetUnprocessedEndTimes
const Aws::Map< Aws::String, Aws::Vector< TimestampStructure > > & GetUnprocessedEndTimes() const
Definition: BatchGetFrameMetricDataResult.h:283
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::BatchGetFrameMetricDataResult
BatchGetFrameMetricDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::AddUnprocessedEndTimes
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(Aws::String &&key, Aws::Vector< TimestampStructure > &&value)
Definition: BatchGetFrameMetricDataResult.h:331
FrameMetricDatum.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult
Definition: BatchGetFrameMetricDataResult.h:40
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetEndTimes
void SetEndTimes(const Aws::Vector< TimestampStructure > &value)
Definition: BatchGetFrameMetricDataResult.h:97
Aws::CodeGuruProfiler::Model::FrameMetricDatum
Definition: FrameMetricDatum.h:34
AWSMap.h
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::GetFrameMetricData
const Aws::Vector< FrameMetricDatum > & GetFrameMetricData() const
Definition: BatchGetFrameMetricDataResult.h:146
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::WithResolution
BatchGetFrameMetricDataResult & WithResolution(const AggregationPeriod &value)
Definition: BatchGetFrameMetricDataResult.h:231
Aws::CodeGuruProfiler::Model::BatchGetFrameMetricDataResult::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: BatchGetFrameMetricDataResult.h:66