7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/ScraperComponent.h>
9#include <aws/amp/model/ScraperLoggingConfigurationStatus.h>
10#include <aws/amp/model/ScraperLoggingDestination.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace PrometheusService {
42 template <
typename StatusT = ScraperLoggingConfigurationStatus>
44 m_statusHasBeenSet =
true;
45 m_status = std::forward<StatusT>(value);
47 template <
typename StatusT = ScraperLoggingConfigurationStatus>
59 template <
typename ScraperIdT = Aws::String>
61 m_scraperIdHasBeenSet =
true;
62 m_scraperId = std::forward<ScraperIdT>(value);
64 template <
typename ScraperIdT = Aws::String>
76 template <
typename LoggingDestinationT = ScraperLoggingDestination>
78 m_loggingDestinationHasBeenSet =
true;
79 m_loggingDestination = std::forward<LoggingDestinationT>(value);
81 template <
typename LoggingDestinationT = ScraperLoggingDestination>
93 template <
typename ScraperComponentsT = Aws::Vector<ScraperComponent>>
95 m_scraperComponentsHasBeenSet =
true;
96 m_scraperComponents = std::forward<ScraperComponentsT>(value);
98 template <
typename ScraperComponentsT = Aws::Vector<ScraperComponent>>
103 template <
typename ScraperComponentsT = ScraperComponent>
105 m_scraperComponentsHasBeenSet =
true;
106 m_scraperComponents.emplace_back(std::forward<ScraperComponentsT>(value));
116 template <
typename ModifiedAtT = Aws::Utils::DateTime>
118 m_modifiedAtHasBeenSet =
true;
119 m_modifiedAt = std::forward<ModifiedAtT>(value);
121 template <
typename ModifiedAtT = Aws::Utils::DateTime>
131 template <
typename RequestIdT = Aws::String>
133 m_requestIdHasBeenSet =
true;
134 m_requestId = std::forward<RequestIdT>(value);
136 template <
typename RequestIdT = Aws::String>
157 bool m_statusHasBeenSet =
false;
158 bool m_scraperIdHasBeenSet =
false;
159 bool m_loggingDestinationHasBeenSet =
false;
160 bool m_scraperComponentsHasBeenSet =
false;
161 bool m_modifiedAtHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
AWS_PROMETHEUSSERVICE_API DescribeScraperLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetScraperId() const
DescribeScraperLoggingConfigurationResult & WithStatus(StatusT &&value)
const Aws::Vector< ScraperComponent > & GetScraperComponents() const
AWS_PROMETHEUSSERVICE_API DescribeScraperLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetScraperId(ScraperIdT &&value)
DescribeScraperLoggingConfigurationResult & WithLoggingDestination(LoggingDestinationT &&value)
void SetScraperComponents(ScraperComponentsT &&value)
DescribeScraperLoggingConfigurationResult & WithModifiedAt(ModifiedAtT &&value)
DescribeScraperLoggingConfigurationResult & WithScraperId(ScraperIdT &&value)
DescribeScraperLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
DescribeScraperLoggingConfigurationResult & WithScraperComponents(ScraperComponentsT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const ScraperLoggingConfigurationStatus & GetStatus() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_PROMETHEUSSERVICE_API DescribeScraperLoggingConfigurationResult()=default
void SetStatus(StatusT &&value)
DescribeScraperLoggingConfigurationResult & AddScraperComponents(ScraperComponentsT &&value)
const ScraperLoggingDestination & GetLoggingDestination() const
void SetLoggingDestination(LoggingDestinationT &&value)
void SetModifiedAt(ModifiedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue