7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/ScraperStatus.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace PrometheusService {
36 template <
typename ScraperIdT = Aws::String>
38 m_scraperIdHasBeenSet =
true;
39 m_scraperId = std::forward<ScraperIdT>(value);
41 template <
typename ScraperIdT = Aws::String>
53 template <
typename ArnT = Aws::String>
55 m_arnHasBeenSet =
true;
56 m_arn = std::forward<ArnT>(value);
58 template <
typename ArnT = Aws::String>
60 SetArn(std::forward<ArnT>(value));
70 template <
typename StatusT = ScraperStatus>
72 m_statusHasBeenSet =
true;
73 m_status = std::forward<StatusT>(value);
75 template <
typename StatusT = ScraperStatus>
87 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 m_tagsHasBeenSet =
true;
90 m_tags = std::forward<TagsT>(value);
92 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 SetTags(std::forward<TagsT>(value));
97 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
99 m_tagsHasBeenSet =
true;
100 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
108 template <
typename RequestIdT = Aws::String>
110 m_requestIdHasBeenSet =
true;
111 m_requestId = std::forward<RequestIdT>(value);
113 template <
typename RequestIdT = Aws::String>
129 bool m_scraperIdHasBeenSet =
false;
130 bool m_arnHasBeenSet =
false;
131 bool m_statusHasBeenSet =
false;
132 bool m_tagsHasBeenSet =
false;
133 bool m_requestIdHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PROMETHEUSSERVICE_API UpdateScraperResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateScraperResult & WithScraperId(ScraperIdT &&value)
const ScraperStatus & GetStatus() const
const Aws::String & GetRequestId() const
UpdateScraperResult & WithArn(ArnT &&value)
UpdateScraperResult & WithRequestId(RequestIdT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetScraperId() const
UpdateScraperResult & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
UpdateScraperResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
AWS_PROMETHEUSSERVICE_API UpdateScraperResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PROMETHEUSSERVICE_API UpdateScraperResult()=default
void SetRequestId(RequestIdT &&value)
void SetScraperId(ScraperIdT &&value)
UpdateScraperResult & WithTags(TagsT &&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