AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMetricDataResult.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/monitoring/model/ResponseMetadata.h>
11#include <aws/monitoring/model/MetricDataResult.h>
12#include <aws/monitoring/model/MessageData.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace CloudWatch
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CLOUDWATCH_API GetMetricDataResult();
37
38
40
44 inline const Aws::Vector<MetricDataResult>& GetMetricDataResults() const{ return m_metricDataResults; }
45 inline void SetMetricDataResults(const Aws::Vector<MetricDataResult>& value) { m_metricDataResults = value; }
46 inline void SetMetricDataResults(Aws::Vector<MetricDataResult>&& value) { m_metricDataResults = std::move(value); }
49 inline GetMetricDataResult& AddMetricDataResults(const MetricDataResult& value) { m_metricDataResults.push_back(value); return *this; }
50 inline GetMetricDataResult& AddMetricDataResults(MetricDataResult&& value) { m_metricDataResults.push_back(std::move(value)); return *this; }
52
54
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 inline GetMetricDataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline GetMetricDataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline GetMetricDataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
77 inline const Aws::Vector<MessageData>& GetMessages() const{ return m_messages; }
78 inline void SetMessages(const Aws::Vector<MessageData>& value) { m_messages = value; }
79 inline void SetMessages(Aws::Vector<MessageData>&& value) { m_messages = std::move(value); }
80 inline GetMetricDataResult& WithMessages(const Aws::Vector<MessageData>& value) { SetMessages(value); return *this;}
81 inline GetMetricDataResult& WithMessages(Aws::Vector<MessageData>&& value) { SetMessages(std::move(value)); return *this;}
82 inline GetMetricDataResult& AddMessages(const MessageData& value) { m_messages.push_back(value); return *this; }
83 inline GetMetricDataResult& AddMessages(MessageData&& value) { m_messages.push_back(std::move(value)); return *this; }
85
87
88 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
89 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
90 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
92 inline GetMetricDataResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
94 private:
95
96 Aws::Vector<MetricDataResult> m_metricDataResults;
97
98 Aws::String m_nextToken;
99
100 Aws::Vector<MessageData> m_messages;
101
102 ResponseMetadata m_responseMetadata;
103 };
104
105} // namespace Model
106} // namespace CloudWatch
107} // namespace Aws
void SetMetricDataResults(Aws::Vector< MetricDataResult > &&value)
GetMetricDataResult & AddMessages(const MessageData &value)
AWS_CLOUDWATCH_API GetMetricDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDWATCH_API GetMetricDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetMetricDataResult & AddMessages(MessageData &&value)
GetMetricDataResult & WithNextToken(Aws::String &&value)
void SetMessages(const Aws::Vector< MessageData > &value)
GetMetricDataResult & AddMetricDataResults(MetricDataResult &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< MetricDataResult > & GetMetricDataResults() const
GetMetricDataResult & WithMessages(Aws::Vector< MessageData > &&value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetNextToken(const Aws::String &value)
GetMetricDataResult & AddMetricDataResults(const MetricDataResult &value)
void SetResponseMetadata(const ResponseMetadata &value)
GetMetricDataResult & WithMessages(const Aws::Vector< MessageData > &value)
GetMetricDataResult & WithMetricDataResults(Aws::Vector< MetricDataResult > &&value)
GetMetricDataResult & WithResponseMetadata(const ResponseMetadata &value)
GetMetricDataResult & WithMetricDataResults(const Aws::Vector< MetricDataResult > &value)
void SetMessages(Aws::Vector< MessageData > &&value)
void SetMetricDataResults(const Aws::Vector< MetricDataResult > &value)
const Aws::Vector< MessageData > & GetMessages() const
GetMetricDataResult & WithNextToken(const Aws::String &value)
GetMetricDataResult & WithResponseMetadata(ResponseMetadata &&value)
GetMetricDataResult & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument