AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetDefaultScraperConfigurationResult.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace PrometheusService {
23namespace Model {
31 public:
32 AWS_PROMETHEUSSERVICE_API GetDefaultScraperConfigurationResult() = default;
36
38
44 inline const Aws::Utils::ByteBuffer& GetConfiguration() const { return m_configuration; }
45 template <typename ConfigurationT = Aws::Utils::ByteBuffer>
46 void SetConfiguration(ConfigurationT&& value) {
47 m_configurationHasBeenSet = true;
48 m_configuration = std::forward<ConfigurationT>(value);
49 }
50 template <typename ConfigurationT = Aws::Utils::ByteBuffer>
52 SetConfiguration(std::forward<ConfigurationT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template <typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) {
62 m_requestIdHasBeenSet = true;
63 m_requestId = std::forward<RequestIdT>(value);
64 }
65 template <typename RequestIdT = Aws::String>
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 private:
72 Aws::Utils::ByteBuffer m_configuration{};
73
74 Aws::String m_requestId;
75 bool m_configurationHasBeenSet = false;
76 bool m_requestIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PrometheusService
81} // 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