AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteScraperResult.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amp/model/ScraperStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace PrometheusService
25{
26namespace Model
27{
35 {
36 public:
37 AWS_PROMETHEUSSERVICE_API DeleteScraperResult();
40
41
43
46 inline const Aws::String& GetScraperId() const{ return m_scraperId; }
47 inline void SetScraperId(const Aws::String& value) { m_scraperId = value; }
48 inline void SetScraperId(Aws::String&& value) { m_scraperId = std::move(value); }
49 inline void SetScraperId(const char* value) { m_scraperId.assign(value); }
50 inline DeleteScraperResult& WithScraperId(const Aws::String& value) { SetScraperId(value); return *this;}
51 inline DeleteScraperResult& WithScraperId(Aws::String&& value) { SetScraperId(std::move(value)); return *this;}
52 inline DeleteScraperResult& WithScraperId(const char* value) { SetScraperId(value); return *this;}
54
56
59 inline const ScraperStatus& GetStatus() const{ return m_status; }
60 inline void SetStatus(const ScraperStatus& value) { m_status = value; }
61 inline void SetStatus(ScraperStatus&& value) { m_status = std::move(value); }
62 inline DeleteScraperResult& WithStatus(const ScraperStatus& value) { SetStatus(value); return *this;}
63 inline DeleteScraperResult& WithStatus(ScraperStatus&& value) { SetStatus(std::move(value)); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline DeleteScraperResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline DeleteScraperResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline DeleteScraperResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_scraperId;
79
80 ScraperStatus m_status;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace PrometheusService
87} // namespace Aws
DeleteScraperResult & WithScraperId(Aws::String &&value)
DeleteScraperResult & WithScraperId(const char *value)
AWS_PROMETHEUSSERVICE_API DeleteScraperResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteScraperResult & WithStatus(const ScraperStatus &value)
DeleteScraperResult & WithStatus(ScraperStatus &&value)
DeleteScraperResult & WithRequestId(const Aws::String &value)
DeleteScraperResult & WithRequestId(Aws::String &&value)
DeleteScraperResult & WithScraperId(const Aws::String &value)
DeleteScraperResult & WithRequestId(const char *value)
AWS_PROMETHEUSSERVICE_API DeleteScraperResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue