7#include <aws/amp/PrometheusServiceRequest.h>
8#include <aws/amp/PrometheusService_EXPORTS.h>
9#include <aws/amp/model/Destination.h>
10#include <aws/amp/model/RoleConfiguration.h>
11#include <aws/amp/model/ScrapeConfiguration.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace PrometheusService {
41 template <
typename ScraperIdT = Aws::String>
43 m_scraperIdHasBeenSet =
true;
44 m_scraperId = std::forward<ScraperIdT>(value);
46 template <
typename ScraperIdT = Aws::String>
59 template <
typename AliasT = Aws::String>
61 m_aliasHasBeenSet =
true;
62 m_alias = std::forward<AliasT>(value);
64 template <
typename AliasT = Aws::String>
66 SetAlias(std::forward<AliasT>(value));
81 template <
typename ScrapeConfigurationT = ScrapeConfiguration>
83 m_scrapeConfigurationHasBeenSet =
true;
84 m_scrapeConfiguration = std::forward<ScrapeConfigurationT>(value);
86 template <
typename ScrapeConfigurationT = ScrapeConfiguration>
100 template <
typename DestinationT = Destination>
102 m_destinationHasBeenSet =
true;
103 m_destination = std::forward<DestinationT>(value);
105 template <
typename DestinationT = Destination>
119 template <
typename RoleConfigurationT = RoleConfiguration>
121 m_roleConfigurationHasBeenSet =
true;
122 m_roleConfiguration = std::forward<RoleConfigurationT>(value);
124 template <
typename RoleConfigurationT = RoleConfiguration>
138 template <
typename ClientTokenT = Aws::String>
140 m_clientTokenHasBeenSet =
true;
141 m_clientToken = std::forward<ClientTokenT>(value);
143 template <
typename ClientTokenT = Aws::String>
151 bool m_scraperIdHasBeenSet =
false;
154 bool m_aliasHasBeenSet =
false;
157 bool m_scrapeConfigurationHasBeenSet =
false;
160 bool m_destinationHasBeenSet =
false;
163 bool m_roleConfigurationHasBeenSet =
false;
166 bool m_clientTokenHasBeenSet =
true;
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