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/RoleConfiguration.h>
12#include <aws/amp/model/ScrapeConfiguration.h>
14#include <aws/core/utils/UUID.h>
18namespace PrometheusService
45 template<
typename AliasT = Aws::String>
46 void SetAlias(AliasT&& value) { m_aliasHasBeenSet =
true; m_alias = std::forward<AliasT>(value); }
47 template<
typename AliasT = Aws::String>
58 template<
typename ClientTokenT = Aws::String>
59 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
60 template<
typename ClientTokenT = Aws::String>
71 template<
typename DestinationT = Destination>
72 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
73 template<
typename DestinationT = Destination>
84 template<
typename RoleConfigurationT = RoleConfiguration>
85 void SetRoleConfiguration(RoleConfigurationT&& value) { m_roleConfigurationHasBeenSet =
true; m_roleConfiguration = std::forward<RoleConfigurationT>(value); }
86 template<
typename RoleConfigurationT = RoleConfiguration>
100 template<
typename ScrapeConfigurationT = ScrapeConfiguration>
101 void SetScrapeConfiguration(ScrapeConfigurationT&& value) { m_scrapeConfigurationHasBeenSet =
true; m_scrapeConfiguration = std::forward<ScrapeConfigurationT>(value); }
102 template<
typename ScrapeConfigurationT = ScrapeConfiguration>
112 template<
typename ScraperIdT = Aws::String>
113 void SetScraperId(ScraperIdT&& value) { m_scraperIdHasBeenSet =
true; m_scraperId = std::forward<ScraperIdT>(value); }
114 template<
typename ScraperIdT = Aws::String>
120 bool m_aliasHasBeenSet =
false;
123 bool m_clientTokenHasBeenSet =
true;
125 Destination m_destination;
126 bool m_destinationHasBeenSet =
false;
128 RoleConfiguration m_roleConfiguration;
129 bool m_roleConfigurationHasBeenSet =
false;
131 ScrapeConfiguration m_scrapeConfiguration;
132 bool m_scrapeConfigurationHasBeenSet =
false;
135 bool m_scraperIdHasBeenSet =
false;
const ScrapeConfiguration & GetScrapeConfiguration() const
void SetScrapeConfiguration(ScrapeConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAlias() const
bool ClientTokenHasBeenSet() const
bool ScraperIdHasBeenSet() const
bool AliasHasBeenSet() const
void SetDestination(DestinationT &&value)
bool ScrapeConfigurationHasBeenSet() const
const Destination & GetDestination() const
const Aws::String & GetClientToken() const
bool DestinationHasBeenSet() const
void SetScraperId(ScraperIdT &&value)
const Aws::String & GetScraperId() const
const RoleConfiguration & GetRoleConfiguration() const
void SetRoleConfiguration(RoleConfigurationT &&value)
UpdateScraperRequest & WithScrapeConfiguration(ScrapeConfigurationT &&value)
UpdateScraperRequest & WithDestination(DestinationT &&value)
AWS_PROMETHEUSSERVICE_API UpdateScraperRequest()=default
UpdateScraperRequest & WithAlias(AliasT &&value)
UpdateScraperRequest & WithClientToken(ClientTokenT &&value)
void SetAlias(AliasT &&value)
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
UpdateScraperRequest & WithScraperId(ScraperIdT &&value)
void SetClientToken(ClientTokenT &&value)
UpdateScraperRequest & WithRoleConfiguration(RoleConfigurationT &&value)
bool RoleConfigurationHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String