AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetMetricDataResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sesv2/model/MetricDataResult.h>
11#include <aws/sesv2/model/MetricDataError.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 SESV2
27{
28namespace Model
29{
37 {
38 public:
39 AWS_SESV2_API BatchGetMetricDataResult();
42
43
45
48 inline const Aws::Vector<MetricDataResult>& GetResults() const{ return m_results; }
49 inline void SetResults(const Aws::Vector<MetricDataResult>& value) { m_results = value; }
50 inline void SetResults(Aws::Vector<MetricDataResult>&& value) { m_results = std::move(value); }
52 inline BatchGetMetricDataResult& WithResults(Aws::Vector<MetricDataResult>&& value) { SetResults(std::move(value)); return *this;}
53 inline BatchGetMetricDataResult& AddResults(const MetricDataResult& value) { m_results.push_back(value); return *this; }
54 inline BatchGetMetricDataResult& AddResults(MetricDataResult&& value) { m_results.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<MetricDataError>& GetErrors() const{ return m_errors; }
63 inline void SetErrors(const Aws::Vector<MetricDataError>& value) { m_errors = value; }
64 inline void SetErrors(Aws::Vector<MetricDataError>&& value) { m_errors = std::move(value); }
65 inline BatchGetMetricDataResult& WithErrors(const Aws::Vector<MetricDataError>& value) { SetErrors(value); return *this;}
66 inline BatchGetMetricDataResult& WithErrors(Aws::Vector<MetricDataError>&& value) { SetErrors(std::move(value)); return *this;}
67 inline BatchGetMetricDataResult& AddErrors(const MetricDataError& value) { m_errors.push_back(value); return *this; }
68 inline BatchGetMetricDataResult& AddErrors(MetricDataError&& value) { m_errors.push_back(std::move(value)); return *this; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline BatchGetMetricDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline BatchGetMetricDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline BatchGetMetricDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
84
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace SESV2
92} // namespace Aws
BatchGetMetricDataResult & WithRequestId(Aws::String &&value)
BatchGetMetricDataResult & AddResults(MetricDataResult &&value)
void SetErrors(Aws::Vector< MetricDataError > &&value)
BatchGetMetricDataResult & AddErrors(const MetricDataError &value)
BatchGetMetricDataResult & WithRequestId(const Aws::String &value)
const Aws::Vector< MetricDataResult > & GetResults() const
BatchGetMetricDataResult & WithResults(const Aws::Vector< MetricDataResult > &value)
BatchGetMetricDataResult & WithErrors(const Aws::Vector< MetricDataError > &value)
BatchGetMetricDataResult & WithRequestId(const char *value)
BatchGetMetricDataResult & WithErrors(Aws::Vector< MetricDataError > &&value)
BatchGetMetricDataResult & AddResults(const MetricDataResult &value)
BatchGetMetricDataResult & AddErrors(MetricDataError &&value)
void SetErrors(const Aws::Vector< MetricDataError > &value)
void SetResults(const Aws::Vector< MetricDataResult > &value)
AWS_SESV2_API BatchGetMetricDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< MetricDataError > & GetErrors() const
BatchGetMetricDataResult & WithResults(Aws::Vector< MetricDataResult > &&value)
AWS_SESV2_API BatchGetMetricDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResults(Aws::Vector< MetricDataResult > &&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