AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateScraperResult.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PrometheusService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_PROMETHEUSSERVICE_API UpdateScraperResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline UpdateScraperResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline UpdateScraperResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline UpdateScraperResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetScraperId() const{ return m_scraperId; }
55 inline void SetScraperId(const Aws::String& value) { m_scraperId = value; }
56 inline void SetScraperId(Aws::String&& value) { m_scraperId = std::move(value); }
57 inline void SetScraperId(const char* value) { m_scraperId.assign(value); }
58 inline UpdateScraperResult& WithScraperId(const Aws::String& value) { SetScraperId(value); return *this;}
59 inline UpdateScraperResult& WithScraperId(Aws::String&& value) { SetScraperId(std::move(value)); return *this;}
60 inline UpdateScraperResult& WithScraperId(const char* value) { SetScraperId(value); return *this;}
62
64
67 inline const ScraperStatus& GetStatus() const{ return m_status; }
68 inline void SetStatus(const ScraperStatus& value) { m_status = value; }
69 inline void SetStatus(ScraperStatus&& value) { m_status = std::move(value); }
70 inline UpdateScraperResult& WithStatus(const ScraperStatus& value) { SetStatus(value); return *this;}
71 inline UpdateScraperResult& WithStatus(ScraperStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
79 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
80 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
81 inline UpdateScraperResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
82 inline UpdateScraperResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
83 inline UpdateScraperResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
84 inline UpdateScraperResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
85 inline UpdateScraperResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
86 inline UpdateScraperResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
87 inline UpdateScraperResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
88 inline UpdateScraperResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
89 inline UpdateScraperResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline UpdateScraperResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline UpdateScraperResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline UpdateScraperResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_arn;
105
106 Aws::String m_scraperId;
107
108 ScraperStatus m_status;
109
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace PrometheusService
117} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PROMETHEUSSERVICE_API UpdateScraperResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateScraperResult & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateScraperResult & WithArn(const Aws::String &value)
UpdateScraperResult & AddTags(const char *key, const char *value)
UpdateScraperResult & WithScraperId(Aws::String &&value)
UpdateScraperResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateScraperResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateScraperResult & WithScraperId(const char *value)
UpdateScraperResult & WithArn(Aws::String &&value)
UpdateScraperResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateScraperResult & WithRequestId(Aws::String &&value)
UpdateScraperResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateScraperResult & WithRequestId(const char *value)
AWS_PROMETHEUSSERVICE_API UpdateScraperResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateScraperResult & WithArn(const char *value)
UpdateScraperResult & WithScraperId(const Aws::String &value)
UpdateScraperResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateScraperResult & WithStatus(const ScraperStatus &value)
UpdateScraperResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateScraperResult & WithStatus(ScraperStatus &&value)
UpdateScraperResult & WithRequestId(const Aws::String &value)
UpdateScraperResult & AddTags(Aws::String &&key, const char *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
Aws::Utils::Json::JsonValue JsonValue