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
48 template<
typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
50 template<
typename ArnT = Aws::String>
59 template<
typename ScraperIdT = Aws::String>
60 void SetScraperId(ScraperIdT&& value) { m_scraperIdHasBeenSet =
true; m_scraperId = std::forward<ScraperIdT>(value); }
61 template<
typename ScraperIdT = Aws::String>
70 template<
typename StatusT = ScraperStatus>
71 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
72 template<
typename StatusT = ScraperStatus>
81 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
83 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
87 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
94 template<
typename RequestIdT = Aws::String>
95 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
96 template<
typename RequestIdT = Aws::String>
102 bool m_arnHasBeenSet =
false;
105 bool m_scraperIdHasBeenSet =
false;
108 bool m_statusHasBeenSet =
false;
111 bool m_tagsHasBeenSet =
false;
114 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetArn() const
void SetScraperId(ScraperIdT &&value)
CreateScraperResult & WithArn(ArnT &&value)
CreateScraperResult & WithRequestId(RequestIdT &&value)
CreateScraperResult & WithScraperId(ScraperIdT &&value)
CreateScraperResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const ScraperStatus & GetStatus() const
AWS_PROMETHEUSSERVICE_API CreateScraperResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetTags(TagsT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateScraperResult & WithStatus(StatusT &&value)
AWS_PROMETHEUSSERVICE_API CreateScraperResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
void SetStatus(StatusT &&value)
CreateScraperResult & WithTags(TagsT &&value)
const Aws::String & GetScraperId() const
AWS_PROMETHEUSSERVICE_API CreateScraperResult()=default
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