AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DeleteScraperRequest.h
1
6#pragma once
7#include <aws/amp/PrometheusServiceRequest.h>
8#include <aws/amp/PrometheusService_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace PrometheusService {
19namespace Model {
20
28 public:
29 AWS_PROMETHEUSSERVICE_API DeleteScraperRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteScraper"; }
36
37 AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
45 inline const Aws::String& GetScraperId() const { return m_scraperId; }
46 inline bool ScraperIdHasBeenSet() const { return m_scraperIdHasBeenSet; }
47 template <typename ScraperIdT = Aws::String>
48 void SetScraperId(ScraperIdT&& value) {
49 m_scraperIdHasBeenSet = true;
50 m_scraperId = std::forward<ScraperIdT>(value);
51 }
52 template <typename ScraperIdT = Aws::String>
53 DeleteScraperRequest& WithScraperId(ScraperIdT&& value) {
54 SetScraperId(std::forward<ScraperIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetClientToken() const { return m_clientToken; }
65 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
66 template <typename ClientTokenT = Aws::String>
67 void SetClientToken(ClientTokenT&& value) {
68 m_clientTokenHasBeenSet = true;
69 m_clientToken = std::forward<ClientTokenT>(value);
70 }
71 template <typename ClientTokenT = Aws::String>
72 DeleteScraperRequest& WithClientToken(ClientTokenT&& value) {
73 SetClientToken(std::forward<ClientTokenT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_scraperId;
79 bool m_scraperIdHasBeenSet = false;
80
82 bool m_clientTokenHasBeenSet = true;
83};
84
85} // namespace Model
86} // namespace PrometheusService
87} // namespace Aws
DeleteScraperRequest & WithScraperId(ScraperIdT &&value)
virtual const char * GetServiceRequestName() const override
DeleteScraperRequest & WithClientToken(ClientTokenT &&value)
AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_PROMETHEUSSERVICE_API DeleteScraperRequest()=default
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String