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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace PrometheusService
42 template<
typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
44 template<
typename ArnT = Aws::String>
53 template<
typename ScraperIdT = Aws::String>
54 void SetScraperId(ScraperIdT&& value) { m_scraperIdHasBeenSet =
true; m_scraperId = std::forward<ScraperIdT>(value); }
55 template<
typename ScraperIdT = Aws::String>
64 template<
typename StatusT = ScraperStatus>
65 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
66 template<
typename StatusT = ScraperStatus>
75 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
77 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
81 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
88 template<
typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
90 template<
typename RequestIdT = Aws::String>
96 bool m_arnHasBeenSet =
false;
99 bool m_scraperIdHasBeenSet =
false;
102 bool m_statusHasBeenSet =
false;
105 bool m_tagsHasBeenSet =
false;
108 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