AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScrapeConfiguration.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PrometheusService
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_PROMETHEUSSERVICE_API ScrapeConfiguration();
39 AWS_PROMETHEUSSERVICE_API ScrapeConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PROMETHEUSSERVICE_API ScrapeConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::ByteBuffer& GetConfigurationBlob() const{ return m_configurationBlob; }
49 inline bool ConfigurationBlobHasBeenSet() const { return m_configurationBlobHasBeenSet; }
50 inline void SetConfigurationBlob(const Aws::Utils::ByteBuffer& value) { m_configurationBlobHasBeenSet = true; m_configurationBlob = value; }
51 inline void SetConfigurationBlob(Aws::Utils::ByteBuffer&& value) { m_configurationBlobHasBeenSet = true; m_configurationBlob = std::move(value); }
53 inline ScrapeConfiguration& WithConfigurationBlob(Aws::Utils::ByteBuffer&& value) { SetConfigurationBlob(std::move(value)); return *this;}
55 private:
56
57 Aws::Utils::ByteBuffer m_configurationBlob;
58 bool m_configurationBlobHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace PrometheusService
63} // namespace Aws
void SetConfigurationBlob(const Aws::Utils::ByteBuffer &value)
AWS_PROMETHEUSSERVICE_API ScrapeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API ScrapeConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScrapeConfiguration & WithConfigurationBlob(Aws::Utils::ByteBuffer &&value)
ScrapeConfiguration & WithConfigurationBlob(const Aws::Utils::ByteBuffer &value)
void SetConfigurationBlob(Aws::Utils::ByteBuffer &&value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::ByteBuffer & GetConfigurationBlob() const
Aws::Utils::Json::JsonValue JsonValue