7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/amp/model/Destination.h>
11#include <aws/amp/model/Source.h>
12#include <aws/amp/model/ScraperStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
26namespace PrometheusService
54 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
67 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
68 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
120 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
134 inline void SetScraperId(
const char* value) { m_scraperIdHasBeenSet =
true; m_scraperId.assign(value); }
146 inline void SetSource(
const Source& value) { m_sourceHasBeenSet =
true; m_source = value; }
147 inline void SetSource(
Source&& value) { m_sourceHasBeenSet =
true; m_source = std::move(value); }
172 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
194 inline ScraperSummary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
199 bool m_aliasHasBeenSet =
false;
202 bool m_arnHasBeenSet =
false;
205 bool m_createdAtHasBeenSet =
false;
208 bool m_destinationHasBeenSet =
false;
211 bool m_lastModifiedAtHasBeenSet =
false;
214 bool m_roleArnHasBeenSet =
false;
217 bool m_scraperIdHasBeenSet =
false;
220 bool m_sourceHasBeenSet =
false;
223 bool m_statusHasBeenSet =
false;
226 bool m_statusReasonHasBeenSet =
false;
229 bool m_tagsHasBeenSet =
false;
bool RoleArnHasBeenSet() const
ScraperSummary & WithRoleArn(const char *value)
void SetDestination(const Destination &value)
bool DestinationHasBeenSet() const
bool TagsHasBeenSet() const
void SetRoleArn(const Aws::String &value)
const Aws::String & GetStatusReason() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
bool SourceHasBeenSet() const
void SetStatusReason(const Aws::String &value)
const Aws::String & GetRoleArn() const
ScraperSummary & WithStatusReason(Aws::String &&value)
ScraperSummary & WithDestination(const Destination &value)
ScraperSummary & AddTags(const char *key, Aws::String &&value)
void SetArn(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API ScraperSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSource(Source &&value)
AWS_PROMETHEUSSERVICE_API ScraperSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ScraperSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
void SetAlias(Aws::String &&value)
void SetRoleArn(const char *value)
ScraperSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ScraperSummary & WithArn(const char *value)
const ScraperStatus & GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool LastModifiedAtHasBeenSet() const
ScraperSummary & WithScraperId(const char *value)
void SetStatus(ScraperStatus &&value)
ScraperSummary & WithStatus(const ScraperStatus &value)
ScraperSummary & WithScraperId(Aws::String &&value)
ScraperSummary & AddTags(const char *key, const char *value)
ScraperSummary & AddTags(const Aws::String &key, Aws::String &&value)
bool AliasHasBeenSet() const
ScraperSummary & AddTags(Aws::String &&key, const char *value)
const Source & GetSource() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ScraperSummary & AddTags(const Aws::String &key, const Aws::String &value)
ScraperSummary & WithDestination(Destination &&value)
bool ArnHasBeenSet() const
AWS_PROMETHEUSSERVICE_API ScraperSummary()
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetArn() const
ScraperSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ScraperSummary & WithScraperId(const Aws::String &value)
bool StatusReasonHasBeenSet() const
ScraperSummary & WithSource(Source &&value)
ScraperSummary & WithRoleArn(const Aws::String &value)
ScraperSummary & WithAlias(const Aws::String &value)
void SetScraperId(const char *value)
void SetStatusReason(const char *value)
ScraperSummary & WithAlias(const char *value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
ScraperSummary & WithRoleArn(Aws::String &&value)
ScraperSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
ScraperSummary & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
ScraperSummary & WithStatus(ScraperStatus &&value)
void SetAlias(const char *value)
void SetRoleArn(Aws::String &&value)
ScraperSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetScraperId(Aws::String &&value)
void SetDestination(Destination &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetScraperId(const Aws::String &value)
ScraperSummary & WithSource(const Source &value)
ScraperSummary & WithStatusReason(const Aws::String &value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetAlias() const
ScraperSummary & WithArn(Aws::String &&value)
bool ScraperIdHasBeenSet() const
void SetStatusReason(Aws::String &&value)
ScraperSummary & WithAlias(Aws::String &&value)
ScraperSummary & WithArn(const Aws::String &value)
ScraperSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
void SetSource(const Source &value)
ScraperSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetAlias(const Aws::String &value)
bool StatusHasBeenSet() const
void SetStatus(const ScraperStatus &value)
const Aws::String & GetScraperId() const
ScraperSummary & WithStatusReason(const char *value)
const Destination & GetDestination() const
void SetArn(Aws::String &&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