AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDefaultScraperConfigurationResult.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PrometheusService {
24namespace Model {
32 public:
33 AWS_PROMETHEUSSERVICE_API GetDefaultScraperConfigurationResult() = default;
37
39
45 inline const Aws::Utils::ByteBuffer& GetConfiguration() const { return m_configuration; }
46 template <typename ConfigurationT = Aws::Utils::ByteBuffer>
47 void SetConfiguration(ConfigurationT&& value) {
48 m_configurationHasBeenSet = true;
49 m_configuration = std::forward<ConfigurationT>(value);
50 }
51 template <typename ConfigurationT = Aws::Utils::ByteBuffer>
53 SetConfiguration(std::forward<ConfigurationT>(value));
54 return *this;
55 }
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template <typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) {
63 m_requestIdHasBeenSet = true;
64 m_requestId = std::forward<RequestIdT>(value);
65 }
66 template <typename RequestIdT = Aws::String>
68 SetRequestId(std::forward<RequestIdT>(value));
69 return *this;
70 }
72 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
73
74 private:
75 Aws::Utils::ByteBuffer m_configuration{};
76
77 Aws::String m_requestId;
78 Aws::Http::HttpResponseCode m_HttpResponseCode;
79 bool m_configurationHasBeenSet = false;
80 bool m_requestIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace PrometheusService
85} // namespace Aws
GetDefaultScraperConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_PROMETHEUSSERVICE_API GetDefaultScraperConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PROMETHEUSSERVICE_API GetDefaultScraperConfigurationResult()=default
AWS_PROMETHEUSSERVICE_API GetDefaultScraperConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDefaultScraperConfigurationResult & WithConfiguration(ConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue