AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceMetricsResult.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pi/model/MetricKeyDataPoints.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PI
27{
28namespace Model
29{
31 {
32 public:
36
37
39
45 inline const Aws::Utils::DateTime& GetAlignedStartTime() const{ return m_alignedStartTime; }
46 inline void SetAlignedStartTime(const Aws::Utils::DateTime& value) { m_alignedStartTime = value; }
47 inline void SetAlignedStartTime(Aws::Utils::DateTime&& value) { m_alignedStartTime = std::move(value); }
51
53
59 inline const Aws::Utils::DateTime& GetAlignedEndTime() const{ return m_alignedEndTime; }
60 inline void SetAlignedEndTime(const Aws::Utils::DateTime& value) { m_alignedEndTime = value; }
61 inline void SetAlignedEndTime(Aws::Utils::DateTime&& value) { m_alignedEndTime = std::move(value); }
63 inline GetResourceMetricsResult& WithAlignedEndTime(Aws::Utils::DateTime&& value) { SetAlignedEndTime(std::move(value)); return *this;}
65
67
74 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
75 inline void SetIdentifier(const Aws::String& value) { m_identifier = value; }
76 inline void SetIdentifier(Aws::String&& value) { m_identifier = std::move(value); }
77 inline void SetIdentifier(const char* value) { m_identifier.assign(value); }
78 inline GetResourceMetricsResult& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
79 inline GetResourceMetricsResult& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
80 inline GetResourceMetricsResult& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
82
84
88 inline const Aws::Vector<MetricKeyDataPoints>& GetMetricList() const{ return m_metricList; }
89 inline void SetMetricList(const Aws::Vector<MetricKeyDataPoints>& value) { m_metricList = value; }
90 inline void SetMetricList(Aws::Vector<MetricKeyDataPoints>&& value) { m_metricList = std::move(value); }
93 inline GetResourceMetricsResult& AddMetricList(const MetricKeyDataPoints& value) { m_metricList.push_back(value); return *this; }
94 inline GetResourceMetricsResult& AddMetricList(MetricKeyDataPoints&& value) { m_metricList.push_back(std::move(value)); return *this; }
96
98
103 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
104 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
105 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
106 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
107 inline GetResourceMetricsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 inline GetResourceMetricsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 inline GetResourceMetricsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline GetResourceMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline GetResourceMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline GetResourceMetricsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_alignedStartTime;
125
126 Aws::Utils::DateTime m_alignedEndTime;
127
128 Aws::String m_identifier;
129
131
132 Aws::String m_nextToken;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace PI
139} // namespace Aws
GetResourceMetricsResult & WithNextToken(const char *value)
GetResourceMetricsResult & WithMetricList(Aws::Vector< MetricKeyDataPoints > &&value)
GetResourceMetricsResult & WithIdentifier(Aws::String &&value)
const Aws::Utils::DateTime & GetAlignedStartTime() const
void SetAlignedStartTime(Aws::Utils::DateTime &&value)
GetResourceMetricsResult & WithAlignedEndTime(Aws::Utils::DateTime &&value)
GetResourceMetricsResult & WithIdentifier(const Aws::String &value)
const Aws::Vector< MetricKeyDataPoints > & GetMetricList() const
void SetMetricList(Aws::Vector< MetricKeyDataPoints > &&value)
void SetAlignedStartTime(const Aws::Utils::DateTime &value)
GetResourceMetricsResult & WithMetricList(const Aws::Vector< MetricKeyDataPoints > &value)
GetResourceMetricsResult & WithAlignedStartTime(const Aws::Utils::DateTime &value)
GetResourceMetricsResult & WithRequestId(const char *value)
AWS_PI_API GetResourceMetricsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceMetricsResult & WithAlignedEndTime(const Aws::Utils::DateTime &value)
void SetMetricList(const Aws::Vector< MetricKeyDataPoints > &value)
void SetAlignedEndTime(const Aws::Utils::DateTime &value)
GetResourceMetricsResult & WithAlignedStartTime(Aws::Utils::DateTime &&value)
GetResourceMetricsResult & AddMetricList(MetricKeyDataPoints &&value)
GetResourceMetricsResult & WithIdentifier(const char *value)
GetResourceMetricsResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetAlignedEndTime() const
GetResourceMetricsResult & WithRequestId(const Aws::String &value)
AWS_PI_API GetResourceMetricsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceMetricsResult & AddMetricList(const MetricKeyDataPoints &value)
GetResourceMetricsResult & WithNextToken(Aws::String &&value)
GetResourceMetricsResult & WithNextToken(const Aws::String &value)
void SetAlignedEndTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue