AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
BatchGetMetricDataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10#include <aws/sesv2/model/BatchGetMetricDataQuery.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SESV2 {
16namespace Model {
17
25 public:
26 AWS_SESV2_API BatchGetMetricDataRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchGetMetricData"; }
33
34 AWS_SESV2_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::Vector<BatchGetMetricDataQuery>& GetQueries() const { return m_queries; }
41 inline bool QueriesHasBeenSet() const { return m_queriesHasBeenSet; }
42 template <typename QueriesT = Aws::Vector<BatchGetMetricDataQuery>>
43 void SetQueries(QueriesT&& value) {
44 m_queriesHasBeenSet = true;
45 m_queries = std::forward<QueriesT>(value);
46 }
47 template <typename QueriesT = Aws::Vector<BatchGetMetricDataQuery>>
49 SetQueries(std::forward<QueriesT>(value));
50 return *this;
51 }
52 template <typename QueriesT = BatchGetMetricDataQuery>
54 m_queriesHasBeenSet = true;
55 m_queries.emplace_back(std::forward<QueriesT>(value));
56 return *this;
57 }
59 private:
61 bool m_queriesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace SESV2
66} // namespace Aws
BatchGetMetricDataRequest & WithQueries(QueriesT &&value)
virtual const char * GetServiceRequestName() const override
BatchGetMetricDataRequest & AddQueries(QueriesT &&value)
AWS_SESV2_API BatchGetMetricDataRequest()=default
const Aws::Vector< BatchGetMetricDataQuery > & GetQueries() const
AWS_SESV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector