/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SESV2 { namespace Model { /** *

Represents a request to retrieve a batch of metric data.

See * Also:

AWS * API Reference

*/ class BatchGetMetricDataRequest : public SESV2Request { public: AWS_SESV2_API BatchGetMetricDataRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchGetMetricData"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

A list of queries for metrics to be retrieved.

*/ inline const Aws::Vector& GetQueries() const{ return m_queries; } /** *

A list of queries for metrics to be retrieved.

*/ inline bool QueriesHasBeenSet() const { return m_queriesHasBeenSet; } /** *

A list of queries for metrics to be retrieved.

*/ inline void SetQueries(const Aws::Vector& value) { m_queriesHasBeenSet = true; m_queries = value; } /** *

A list of queries for metrics to be retrieved.

*/ inline void SetQueries(Aws::Vector&& value) { m_queriesHasBeenSet = true; m_queries = std::move(value); } /** *

A list of queries for metrics to be retrieved.

*/ inline BatchGetMetricDataRequest& WithQueries(const Aws::Vector& value) { SetQueries(value); return *this;} /** *

A list of queries for metrics to be retrieved.

*/ inline BatchGetMetricDataRequest& WithQueries(Aws::Vector&& value) { SetQueries(std::move(value)); return *this;} /** *

A list of queries for metrics to be retrieved.

*/ inline BatchGetMetricDataRequest& AddQueries(const BatchGetMetricDataQuery& value) { m_queriesHasBeenSet = true; m_queries.push_back(value); return *this; } /** *

A list of queries for metrics to be retrieved.

*/ inline BatchGetMetricDataRequest& AddQueries(BatchGetMetricDataQuery&& value) { m_queriesHasBeenSet = true; m_queries.push_back(std::move(value)); return *this; } private: Aws::Vector m_queries; bool m_queriesHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws