7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/PrometheusServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amp/model/Destination.h>
11#include <aws/amp/model/ScrapeConfiguration.h>
13#include <aws/core/utils/UUID.h>
17namespace PrometheusService
46 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
61 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
104 inline void SetScraperId(
const char* value) { m_scraperIdHasBeenSet =
true; m_scraperId.assign(value); }
112 bool m_aliasHasBeenSet =
false;
115 bool m_clientTokenHasBeenSet =
false;
118 bool m_destinationHasBeenSet =
false;
121 bool m_scrapeConfigurationHasBeenSet =
false;
124 bool m_scraperIdHasBeenSet =
false;
const ScrapeConfiguration & GetScrapeConfiguration() const
UpdateScraperRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetClientToken(const char *value)
UpdateScraperRequest & WithScraperId(const char *value)
AWS_PROMETHEUSSERVICE_API UpdateScraperRequest()
void SetClientToken(Aws::String &&value)
void SetScraperId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAlias() const
UpdateScraperRequest & WithScrapeConfiguration(ScrapeConfiguration &&value)
bool ClientTokenHasBeenSet() const
bool ScraperIdHasBeenSet() const
UpdateScraperRequest & WithDestination(const Destination &value)
bool AliasHasBeenSet() const
UpdateScraperRequest & WithDestination(Destination &&value)
bool ScrapeConfigurationHasBeenSet() const
const Destination & GetDestination() const
const Aws::String & GetClientToken() const
UpdateScraperRequest & WithAlias(const Aws::String &value)
bool DestinationHasBeenSet() const
UpdateScraperRequest & WithScrapeConfiguration(const ScrapeConfiguration &value)
const Aws::String & GetScraperId() const
void SetAlias(Aws::String &&value)
UpdateScraperRequest & WithAlias(Aws::String &&value)
void SetScrapeConfiguration(ScrapeConfiguration &&value)
void SetDestination(Destination &&value)
UpdateScraperRequest & WithScraperId(Aws::String &&value)
void SetScraperId(const Aws::String &value)
UpdateScraperRequest & WithAlias(const char *value)
void SetAlias(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
void SetScraperId(const char *value)
void SetAlias(const char *value)
void SetDestination(const Destination &value)
UpdateScraperRequest & WithClientToken(Aws::String &&value)
UpdateScraperRequest & WithClientToken(const char *value)
void SetScrapeConfiguration(const ScrapeConfiguration &value)
UpdateScraperRequest & WithScraperId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String