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 {
42 template <
typename ScraperIdT = Aws::String>
44 m_scraperIdHasBeenSet =
true;
45 m_scraperId = std::forward<ScraperIdT>(value);
47 template <
typename ScraperIdT = Aws::String>
59 template <
typename ArnT = Aws::String>
61 m_arnHasBeenSet =
true;
62 m_arn = std::forward<ArnT>(value);
64 template <
typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
76 template <
typename StatusT = ScraperStatus>
78 m_statusHasBeenSet =
true;
79 m_status = std::forward<StatusT>(value);
81 template <
typename StatusT = ScraperStatus>
93 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 m_tagsHasBeenSet =
true;
96 m_tags = std::forward<TagsT>(value);
98 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 SetTags(std::forward<TagsT>(value));
103 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
105 m_tagsHasBeenSet =
true;
106 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
114 template <
typename RequestIdT = Aws::String>
116 m_requestIdHasBeenSet =
true;
117 m_requestId = std::forward<RequestIdT>(value);
119 template <
typename RequestIdT = Aws::String>
135 bool m_scraperIdHasBeenSet =
false;
136 bool m_arnHasBeenSet =
false;
137 bool m_statusHasBeenSet =
false;
138 bool m_tagsHasBeenSet =
false;
139 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