AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCurrentMetricDataResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/connect/model/CurrentMetricResult.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 Connect
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CONNECT_API GetCurrentMetricDataResult();
36
37
39
45 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
49 inline GetCurrentMetricDataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline GetCurrentMetricDataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline GetCurrentMetricDataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
58 inline const Aws::Vector<CurrentMetricResult>& GetMetricResults() const{ return m_metricResults; }
59 inline void SetMetricResults(const Aws::Vector<CurrentMetricResult>& value) { m_metricResults = value; }
60 inline void SetMetricResults(Aws::Vector<CurrentMetricResult>&& value) { m_metricResults = std::move(value); }
63 inline GetCurrentMetricDataResult& AddMetricResults(const CurrentMetricResult& value) { m_metricResults.push_back(value); return *this; }
64 inline GetCurrentMetricDataResult& AddMetricResults(CurrentMetricResult&& value) { m_metricResults.push_back(std::move(value)); return *this; }
66
68
71 inline const Aws::Utils::DateTime& GetDataSnapshotTime() const{ return m_dataSnapshotTime; }
72 inline void SetDataSnapshotTime(const Aws::Utils::DateTime& value) { m_dataSnapshotTime = value; }
73 inline void SetDataSnapshotTime(Aws::Utils::DateTime&& value) { m_dataSnapshotTime = std::move(value); }
77
79
82 inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; }
83 inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; }
84 inline GetCurrentMetricDataResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline GetCurrentMetricDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline GetCurrentMetricDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline GetCurrentMetricDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_nextToken;
100
101 Aws::Vector<CurrentMetricResult> m_metricResults;
102
103 Aws::Utils::DateTime m_dataSnapshotTime;
104
105 long long m_approximateTotalCount;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace Connect
112} // namespace Aws
GetCurrentMetricDataResult & WithNextToken(Aws::String &&value)
GetCurrentMetricDataResult & WithMetricResults(Aws::Vector< CurrentMetricResult > &&value)
void SetDataSnapshotTime(const Aws::Utils::DateTime &value)
GetCurrentMetricDataResult & WithDataSnapshotTime(const Aws::Utils::DateTime &value)
GetCurrentMetricDataResult & AddMetricResults(const CurrentMetricResult &value)
const Aws::Vector< CurrentMetricResult > & GetMetricResults() const
void SetMetricResults(Aws::Vector< CurrentMetricResult > &&value)
GetCurrentMetricDataResult & WithDataSnapshotTime(Aws::Utils::DateTime &&value)
GetCurrentMetricDataResult & WithNextToken(const Aws::String &value)
GetCurrentMetricDataResult & WithMetricResults(const Aws::Vector< CurrentMetricResult > &value)
AWS_CONNECT_API GetCurrentMetricDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCurrentMetricDataResult & AddMetricResults(CurrentMetricResult &&value)
GetCurrentMetricDataResult & WithRequestId(const Aws::String &value)
GetCurrentMetricDataResult & WithNextToken(const char *value)
GetCurrentMetricDataResult & WithRequestId(Aws::String &&value)
void SetMetricResults(const Aws::Vector< CurrentMetricResult > &value)
GetCurrentMetricDataResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetDataSnapshotTime() const
AWS_CONNECT_API GetCurrentMetricDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCurrentMetricDataResult & WithApproximateTotalCount(long long 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