AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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