AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetFrameMetricDataResult.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codeguruprofiler/model/AggregationPeriod.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/codeguruprofiler/model/TimestampStructure.h>
14#include <aws/codeguruprofiler/model/FrameMetricDatum.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace CodeGuruProfiler
30{
31namespace Model
32{
40 {
41 public:
42 AWS_CODEGURUPROFILER_API BatchGetFrameMetricDataResult();
45
46
48
53 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
54 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
55 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
56 inline BatchGetFrameMetricDataResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
57 inline BatchGetFrameMetricDataResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
59
61
67 inline const Aws::Vector<TimestampStructure>& GetEndTimes() const{ return m_endTimes; }
68 inline void SetEndTimes(const Aws::Vector<TimestampStructure>& value) { m_endTimes = value; }
69 inline void SetEndTimes(Aws::Vector<TimestampStructure>&& value) { m_endTimes = std::move(value); }
72 inline BatchGetFrameMetricDataResult& AddEndTimes(const TimestampStructure& value) { m_endTimes.push_back(value); return *this; }
73 inline BatchGetFrameMetricDataResult& AddEndTimes(TimestampStructure&& value) { m_endTimes.push_back(std::move(value)); return *this; }
75
77
83 inline const Aws::Vector<FrameMetricDatum>& GetFrameMetricData() const{ return m_frameMetricData; }
84 inline void SetFrameMetricData(const Aws::Vector<FrameMetricDatum>& value) { m_frameMetricData = value; }
85 inline void SetFrameMetricData(Aws::Vector<FrameMetricDatum>&& value) { m_frameMetricData = std::move(value); }
88 inline BatchGetFrameMetricDataResult& AddFrameMetricData(const FrameMetricDatum& value) { m_frameMetricData.push_back(value); return *this; }
89 inline BatchGetFrameMetricDataResult& AddFrameMetricData(FrameMetricDatum&& value) { m_frameMetricData.push_back(std::move(value)); return *this; }
91
93
100 inline const AggregationPeriod& GetResolution() const{ return m_resolution; }
101 inline void SetResolution(const AggregationPeriod& value) { m_resolution = value; }
102 inline void SetResolution(AggregationPeriod&& value) { m_resolution = std::move(value); }
104 inline BatchGetFrameMetricDataResult& WithResolution(AggregationPeriod&& value) { SetResolution(std::move(value)); return *this;}
106
108
113 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
114 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
115 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
117 inline BatchGetFrameMetricDataResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
119
121
125 inline const Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>& GetUnprocessedEndTimes() const{ return m_unprocessedEndTimes; }
126 inline void SetUnprocessedEndTimes(const Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>& value) { m_unprocessedEndTimes = value; }
127 inline void SetUnprocessedEndTimes(Aws::Map<Aws::String, Aws::Vector<TimestampStructure>>&& value) { m_unprocessedEndTimes = std::move(value); }
130 inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const Aws::String& key, const Aws::Vector<TimestampStructure>& value) { m_unprocessedEndTimes.emplace(key, value); return *this; }
131 inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(Aws::String&& key, const Aws::Vector<TimestampStructure>& value) { m_unprocessedEndTimes.emplace(std::move(key), value); return *this; }
132 inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const Aws::String& key, Aws::Vector<TimestampStructure>&& value) { m_unprocessedEndTimes.emplace(key, std::move(value)); return *this; }
133 inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(Aws::String&& key, Aws::Vector<TimestampStructure>&& value) { m_unprocessedEndTimes.emplace(std::move(key), std::move(value)); return *this; }
134 inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const char* key, Aws::Vector<TimestampStructure>&& value) { m_unprocessedEndTimes.emplace(key, std::move(value)); return *this; }
135 inline BatchGetFrameMetricDataResult& AddUnprocessedEndTimes(const char* key, const Aws::Vector<TimestampStructure>& value) { m_unprocessedEndTimes.emplace(key, value); return *this; }
137
139
140 inline const Aws::String& GetRequestId() const{ return m_requestId; }
141 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
142 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
143 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
144 inline BatchGetFrameMetricDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
145 inline BatchGetFrameMetricDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
146 inline BatchGetFrameMetricDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
148 private:
149
150 Aws::Utils::DateTime m_endTime;
151
153
154 Aws::Vector<FrameMetricDatum> m_frameMetricData;
155
156 AggregationPeriod m_resolution;
157
158 Aws::Utils::DateTime m_startTime;
159
161
162 Aws::String m_requestId;
163 };
164
165} // namespace Model
166} // namespace CodeGuruProfiler
167} // namespace Aws
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(Aws::String &&key, const Aws::Vector< TimestampStructure > &value)
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(Aws::String &&key, Aws::Vector< TimestampStructure > &&value)
BatchGetFrameMetricDataResult & WithUnprocessedEndTimes(Aws::Map< Aws::String, Aws::Vector< TimestampStructure > > &&value)
BatchGetFrameMetricDataResult & WithEndTimes(const Aws::Vector< TimestampStructure > &value)
BatchGetFrameMetricDataResult & WithFrameMetricData(const Aws::Vector< FrameMetricDatum > &value)
BatchGetFrameMetricDataResult & WithRequestId(Aws::String &&value)
BatchGetFrameMetricDataResult & AddFrameMetricData(FrameMetricDatum &&value)
BatchGetFrameMetricDataResult & WithStartTime(const Aws::Utils::DateTime &value)
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const Aws::String &key, const Aws::Vector< TimestampStructure > &value)
BatchGetFrameMetricDataResult & WithEndTimes(Aws::Vector< TimestampStructure > &&value)
BatchGetFrameMetricDataResult & WithResolution(const AggregationPeriod &value)
BatchGetFrameMetricDataResult & WithStartTime(Aws::Utils::DateTime &&value)
BatchGetFrameMetricDataResult & AddEndTimes(const TimestampStructure &value)
AWS_CODEGURUPROFILER_API BatchGetFrameMetricDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetFrameMetricDataResult & WithFrameMetricData(Aws::Vector< FrameMetricDatum > &&value)
const Aws::Map< Aws::String, Aws::Vector< TimestampStructure > > & GetUnprocessedEndTimes() const
AWS_CODEGURUPROFILER_API BatchGetFrameMetricDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetFrameMetricDataResult & WithEndTime(const Aws::Utils::DateTime &value)
BatchGetFrameMetricDataResult & WithRequestId(const char *value)
BatchGetFrameMetricDataResult & WithEndTime(Aws::Utils::DateTime &&value)
void SetFrameMetricData(const Aws::Vector< FrameMetricDatum > &value)
const Aws::Vector< TimestampStructure > & GetEndTimes() const
BatchGetFrameMetricDataResult & AddFrameMetricData(const FrameMetricDatum &value)
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const Aws::String &key, Aws::Vector< TimestampStructure > &&value)
BatchGetFrameMetricDataResult & AddEndTimes(TimestampStructure &&value)
BatchGetFrameMetricDataResult & WithUnprocessedEndTimes(const Aws::Map< Aws::String, Aws::Vector< TimestampStructure > > &value)
BatchGetFrameMetricDataResult & WithResolution(AggregationPeriod &&value)
void SetUnprocessedEndTimes(Aws::Map< Aws::String, Aws::Vector< TimestampStructure > > &&value)
void SetUnprocessedEndTimes(const Aws::Map< Aws::String, Aws::Vector< TimestampStructure > > &value)
void SetEndTimes(const Aws::Vector< TimestampStructure > &value)
const Aws::Vector< FrameMetricDatum > & GetFrameMetricData() const
BatchGetFrameMetricDataResult & WithRequestId(const Aws::String &value)
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const char *key, Aws::Vector< TimestampStructure > &&value)
BatchGetFrameMetricDataResult & AddUnprocessedEndTimes(const char *key, const Aws::Vector< TimestampStructure > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue