AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScraperStatus.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/ScraperStatusCode.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
33 {
34 public:
35 AWS_PROMETHEUSSERVICE_API ScraperStatus();
36 AWS_PROMETHEUSSERVICE_API ScraperStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PROMETHEUSSERVICE_API ScraperStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ScraperStatusCode& GetStatusCode() const{ return m_statusCode; }
46 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
47 inline void SetStatusCode(const ScraperStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
48 inline void SetStatusCode(ScraperStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
49 inline ScraperStatus& WithStatusCode(const ScraperStatusCode& value) { SetStatusCode(value); return *this;}
50 inline ScraperStatus& WithStatusCode(ScraperStatusCode&& value) { SetStatusCode(std::move(value)); return *this;}
52 private:
53
54 ScraperStatusCode m_statusCode;
55 bool m_statusCodeHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace PrometheusService
60} // namespace Aws
const ScraperStatusCode & GetStatusCode() const
void SetStatusCode(ScraperStatusCode &&value)
AWS_PROMETHEUSSERVICE_API ScraperStatus()
ScraperStatus & WithStatusCode(const ScraperStatusCode &value)
AWS_PROMETHEUSSERVICE_API ScraperStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROMETHEUSSERVICE_API ScraperStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ScraperStatus & WithStatusCode(ScraperStatusCode &&value)
void SetStatusCode(const ScraperStatusCode &value)
Aws::Utils::Json::JsonValue JsonValue