7#include <aws/amp/PrometheusServiceRequest.h>
8#include <aws/amp/PrometheusService_EXPORTS.h>
9#include <aws/amp/model/ScraperComponent.h>
10#include <aws/amp/model/ScraperLoggingDestination.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace PrometheusService {
30 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateScraperLoggingConfiguration"; }
40 template <
typename ScraperIdT = Aws::String>
42 m_scraperIdHasBeenSet =
true;
43 m_scraperId = std::forward<ScraperIdT>(value);
45 template <
typename ScraperIdT = Aws::String>
58 template <
typename LoggingDestinationT = ScraperLoggingDestination>
60 m_loggingDestinationHasBeenSet =
true;
61 m_loggingDestination = std::forward<LoggingDestinationT>(value);
63 template <
typename LoggingDestinationT = ScraperLoggingDestination>
76 template <
typename ScraperComponentsT = Aws::Vector<ScraperComponent>>
78 m_scraperComponentsHasBeenSet =
true;
79 m_scraperComponents = std::forward<ScraperComponentsT>(value);
81 template <
typename ScraperComponentsT = Aws::Vector<ScraperComponent>>
86 template <
typename ScraperComponentsT = ScraperComponent>
88 m_scraperComponentsHasBeenSet =
true;
89 m_scraperComponents.emplace_back(std::forward<ScraperComponentsT>(value));
99 bool m_scraperIdHasBeenSet =
false;
100 bool m_loggingDestinationHasBeenSet =
false;
101 bool m_scraperComponentsHasBeenSet =
false;
UpdateScraperLoggingConfigurationRequest & WithScraperComponents(ScraperComponentsT &&value)
bool ScraperIdHasBeenSet() const
const ScraperLoggingDestination & GetLoggingDestination() const
bool LoggingDestinationHasBeenSet() const
UpdateScraperLoggingConfigurationRequest & AddScraperComponents(ScraperComponentsT &&value)
void SetScraperId(ScraperIdT &&value)
const Aws::Vector< ScraperComponent > & GetScraperComponents() const
virtual const char * GetServiceRequestName() const override
void SetLoggingDestination(LoggingDestinationT &&value)
bool ScraperComponentsHasBeenSet() const
UpdateScraperLoggingConfigurationRequest & WithLoggingDestination(LoggingDestinationT &&value)
AWS_PROMETHEUSSERVICE_API UpdateScraperLoggingConfigurationRequest()=default
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
void SetScraperComponents(ScraperComponentsT &&value)
UpdateScraperLoggingConfigurationRequest & WithScraperId(ScraperIdT &&value)
const Aws::String & GetScraperId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector