7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/ComponentConfig.h>
9#include <aws/amp/model/ScraperComponentType.h>
20namespace PrometheusService {
43 m_typeHasBeenSet =
true;
58 template <
typename ConfigT = ComponentConfig>
60 m_configHasBeenSet =
true;
61 m_config = std::forward<ConfigT>(value);
63 template <
typename ConfigT = ComponentConfig>
72 ComponentConfig m_config;
73 bool m_typeHasBeenSet =
false;
74 bool m_configHasBeenSet =
false;
ScraperComponent & WithConfig(ConfigT &&value)
void SetType(ScraperComponentType value)
bool ConfigHasBeenSet() const
bool TypeHasBeenSet() const
ScraperComponent & WithType(ScraperComponentType value)
AWS_PROMETHEUSSERVICE_API ScraperComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfig(ConfigT &&value)
AWS_PROMETHEUSSERVICE_API ScraperComponent(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROMETHEUSSERVICE_API ScraperComponent()=default
ScraperComponentType GetType() const
const ComponentConfig & GetConfig() const
Aws::Utils::Json::JsonValue JsonValue