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>
12#include <aws/amp/model/Source.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
19namespace PrometheusService
53 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
68 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
108 inline void SetSource(
const Source& value) { m_sourceHasBeenSet =
true; m_source = value; }
109 inline void SetSource(
Source&& value) { m_sourceHasBeenSet =
true; m_source = std::move(value); }
135 bool m_aliasHasBeenSet =
false;
138 bool m_clientTokenHasBeenSet =
false;
141 bool m_destinationHasBeenSet =
false;
144 bool m_scrapeConfigurationHasBeenSet =
false;
147 bool m_sourceHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
CreateScraperRequest & WithSource(Source &&value)
CreateScraperRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateScraperRequest & WithScrapeConfiguration(ScrapeConfiguration &&value)
bool TagsHasBeenSet() const
CreateScraperRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateScraperRequest & WithAlias(Aws::String &&value)
const Destination & GetDestination() const
void SetAlias(const char *value)
const Aws::String & GetClientToken() const
bool SourceHasBeenSet() const
CreateScraperRequest & WithAlias(const Aws::String &value)
void SetDestination(const Destination &value)
CreateScraperRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSource(const Source &value)
virtual const char * GetServiceRequestName() const override
bool AliasHasBeenSet() const
CreateScraperRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateScraperRequest & WithClientToken(Aws::String &&value)
bool ClientTokenHasBeenSet() const
AWS_PROMETHEUSSERVICE_API CreateScraperRequest()
CreateScraperRequest & WithClientToken(const char *value)
void SetClientToken(Aws::String &&value)
CreateScraperRequest & WithDestination(Destination &&value)
const ScrapeConfiguration & GetScrapeConfiguration() const
const Aws::String & GetAlias() const
bool ScrapeConfigurationHasBeenSet() const
CreateScraperRequest & WithScrapeConfiguration(const ScrapeConfiguration &value)
void SetAlias(const Aws::String &value)
void SetAlias(Aws::String &&value)
CreateScraperRequest & WithAlias(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateScraperRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateScraperRequest & WithSource(const Source &value)
CreateScraperRequest & AddTags(Aws::String &&key, const char *value)
void SetScrapeConfiguration(const ScrapeConfiguration &value)
void SetDestination(Destination &&value)
void SetSource(Source &&value)
CreateScraperRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateScraperRequest & WithClientToken(const Aws::String &value)
void SetScrapeConfiguration(ScrapeConfiguration &&value)
bool DestinationHasBeenSet() const
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
CreateScraperRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetClientToken(const Aws::String &value)
CreateScraperRequest & AddTags(const char *key, const char *value)
void SetClientToken(const char *value)
const Source & GetSource() const
CreateScraperRequest & WithDestination(const Destination &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String