AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetMetricDataRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/BatchGetMetricDataQuery.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SESV2
16{
17namespace Model
18{
19
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "BatchGetMetricData"; }
36
37 AWS_SESV2_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::Vector<BatchGetMetricDataQuery>& GetQueries() const{ return m_queries; }
45 inline bool QueriesHasBeenSet() const { return m_queriesHasBeenSet; }
46 inline void SetQueries(const Aws::Vector<BatchGetMetricDataQuery>& value) { m_queriesHasBeenSet = true; m_queries = value; }
47 inline void SetQueries(Aws::Vector<BatchGetMetricDataQuery>&& value) { m_queriesHasBeenSet = true; m_queries = std::move(value); }
49 inline BatchGetMetricDataRequest& WithQueries(Aws::Vector<BatchGetMetricDataQuery>&& value) { SetQueries(std::move(value)); return *this;}
50 inline BatchGetMetricDataRequest& AddQueries(const BatchGetMetricDataQuery& value) { m_queriesHasBeenSet = true; m_queries.push_back(value); return *this; }
51 inline BatchGetMetricDataRequest& AddQueries(BatchGetMetricDataQuery&& value) { m_queriesHasBeenSet = true; m_queries.push_back(std::move(value)); return *this; }
53 private:
54
56 bool m_queriesHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SESV2
61} // namespace Aws
void SetQueries(Aws::Vector< BatchGetMetricDataQuery > &&value)
virtual const char * GetServiceRequestName() const override
BatchGetMetricDataRequest & AddQueries(BatchGetMetricDataQuery &&value)
BatchGetMetricDataRequest & WithQueries(const Aws::Vector< BatchGetMetricDataQuery > &value)
BatchGetMetricDataRequest & WithQueries(Aws::Vector< BatchGetMetricDataQuery > &&value)
const Aws::Vector< BatchGetMetricDataQuery > & GetQueries() const
void SetQueries(const Aws::Vector< BatchGetMetricDataQuery > &value)
BatchGetMetricDataRequest & AddQueries(const BatchGetMetricDataQuery &value)
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