7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/Destination.h>
9#include <aws/amp/model/RoleConfiguration.h>
10#include <aws/amp/model/ScrapeConfiguration.h>
11#include <aws/amp/model/ScraperStatus.h>
12#include <aws/amp/model/Source.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
26namespace PrometheusService {
48 template <
typename AliasT = Aws::String>
50 m_aliasHasBeenSet =
true;
51 m_alias = std::forward<AliasT>(value);
53 template <
typename AliasT = Aws::String>
55 SetAlias(std::forward<AliasT>(value));
67 template <
typename ScraperIdT = Aws::String>
69 m_scraperIdHasBeenSet =
true;
70 m_scraperId = std::forward<ScraperIdT>(value);
72 template <
typename ScraperIdT = Aws::String>
86 template <
typename ArnT = Aws::String>
88 m_arnHasBeenSet =
true;
89 m_arn = std::forward<ArnT>(value);
91 template <
typename ArnT = Aws::String>
93 SetArn(std::forward<ArnT>(value));
106 template <
typename RoleArnT = Aws::String>
108 m_roleArnHasBeenSet =
true;
109 m_roleArn = std::forward<RoleArnT>(value);
111 template <
typename RoleArnT = Aws::String>
124 template <
typename StatusT = ScraperStatus>
126 m_statusHasBeenSet =
true;
127 m_status = std::forward<StatusT>(value);
129 template <
typename StatusT = ScraperStatus>
142 template <
typename CreatedAtT = Aws::Utils::DateTime>
144 m_createdAtHasBeenSet =
true;
145 m_createdAt = std::forward<CreatedAtT>(value);
147 template <
typename CreatedAtT = Aws::Utils::DateTime>
160 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
162 m_lastModifiedAtHasBeenSet =
true;
163 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
165 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
178 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 m_tagsHasBeenSet =
true;
181 m_tags = std::forward<TagsT>(value);
183 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 SetTags(std::forward<TagsT>(value));
188 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
190 m_tagsHasBeenSet =
true;
191 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
202 template <
typename StatusReasonT = Aws::String>
204 m_statusReasonHasBeenSet =
true;
205 m_statusReason = std::forward<StatusReasonT>(value);
207 template <
typename StatusReasonT = Aws::String>
220 template <
typename ScrapeConfigurationT = ScrapeConfiguration>
222 m_scrapeConfigurationHasBeenSet =
true;
223 m_scrapeConfiguration = std::forward<ScrapeConfigurationT>(value);
225 template <
typename ScrapeConfigurationT = ScrapeConfiguration>
238 template <
typename SourceT = Source>
240 m_sourceHasBeenSet =
true;
241 m_source = std::forward<SourceT>(value);
243 template <
typename SourceT = Source>
257 template <
typename DestinationT = Destination>
259 m_destinationHasBeenSet =
true;
260 m_destination = std::forward<DestinationT>(value);
262 template <
typename DestinationT = Destination>
276 template <
typename RoleConfigurationT = RoleConfiguration>
278 m_roleConfigurationHasBeenSet =
true;
279 m_roleConfiguration = std::forward<RoleConfigurationT>(value);
281 template <
typename RoleConfigurationT = RoleConfiguration>
306 ScrapeConfiguration m_scrapeConfiguration;
310 Destination m_destination;
312 RoleConfiguration m_roleConfiguration;
313 bool m_aliasHasBeenSet =
false;
314 bool m_scraperIdHasBeenSet =
false;
315 bool m_arnHasBeenSet =
false;
316 bool m_roleArnHasBeenSet =
false;
317 bool m_statusHasBeenSet =
false;
318 bool m_createdAtHasBeenSet =
false;
319 bool m_lastModifiedAtHasBeenSet =
false;
320 bool m_tagsHasBeenSet =
false;
321 bool m_statusReasonHasBeenSet =
false;
322 bool m_scrapeConfigurationHasBeenSet =
false;
323 bool m_sourceHasBeenSet =
false;
324 bool m_destinationHasBeenSet =
false;
325 bool m_roleConfigurationHasBeenSet =
false;
ScraperDescription & WithTags(TagsT &&value)
bool StatusReasonHasBeenSet() const
bool SourceHasBeenSet() const
const Aws::String & GetStatusReason() const
void SetArn(ArnT &&value)
AWS_PROMETHEUSSERVICE_API ScraperDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ScraperDescription & WithStatus(StatusT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetArn() const
bool CreatedAtHasBeenSet() const
void SetAlias(AliasT &&value)
const Source & GetSource() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ScraperDescription & WithSource(SourceT &&value)
const ScrapeConfiguration & GetScrapeConfiguration() const
void SetRoleArn(RoleArnT &&value)
ScraperDescription & WithArn(ArnT &&value)
ScraperDescription & WithAlias(AliasT &&value)
void SetTags(TagsT &&value)
void SetRoleConfiguration(RoleConfigurationT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetScraperId() const
ScraperDescription & WithCreatedAt(CreatedAtT &&value)
bool StatusHasBeenSet() const
const RoleConfiguration & GetRoleConfiguration() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ScraperDescription & AddTags(TagsKeyT &&key, TagsValueT &&value)
ScraperDescription & WithScraperId(ScraperIdT &&value)
const Aws::String & GetRoleArn() const
bool ScrapeConfigurationHasBeenSet() const
bool RoleConfigurationHasBeenSet() const
void SetScrapeConfiguration(ScrapeConfigurationT &&value)
bool LastModifiedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastModifiedAt(LastModifiedAtT &&value)
AWS_PROMETHEUSSERVICE_API ScraperDescription()=default
ScraperDescription & WithLastModifiedAt(LastModifiedAtT &&value)
void SetStatusReason(StatusReasonT &&value)
void SetScraperId(ScraperIdT &&value)
bool ArnHasBeenSet() const
bool DestinationHasBeenSet() const
const Destination & GetDestination() const
void SetDestination(DestinationT &&value)
const ScraperStatus & GetStatus() const
bool AliasHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool ScraperIdHasBeenSet() const
void SetSource(SourceT &&value)
ScraperDescription & WithRoleArn(RoleArnT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetAlias() const
ScraperDescription & WithDestination(DestinationT &&value)
ScraperDescription & WithRoleConfiguration(RoleConfigurationT &&value)
ScraperDescription & WithScrapeConfiguration(ScrapeConfigurationT &&value)
ScraperDescription & WithStatusReason(StatusReasonT &&value)
AWS_PROMETHEUSSERVICE_API ScraperDescription(Aws::Utils::Json::JsonView jsonValue)
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