AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitorInfo.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ForecastService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FORECASTSERVICE_API MonitorInfo();
36 AWS_FORECASTSERVICE_API MonitorInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FORECASTSERVICE_API MonitorInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; }
46 inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; }
47 inline void SetMonitorArn(const Aws::String& value) { m_monitorArnHasBeenSet = true; m_monitorArn = value; }
48 inline void SetMonitorArn(Aws::String&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::move(value); }
49 inline void SetMonitorArn(const char* value) { m_monitorArnHasBeenSet = true; m_monitorArn.assign(value); }
50 inline MonitorInfo& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;}
51 inline MonitorInfo& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;}
52 inline MonitorInfo& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;}
54
56
65 inline const Aws::String& GetStatus() const{ return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
68 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
69 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
70 inline MonitorInfo& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
71 inline MonitorInfo& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
72 inline MonitorInfo& WithStatus(const char* value) { SetStatus(value); return *this;}
74 private:
75
76 Aws::String m_monitorArn;
77 bool m_monitorArnHasBeenSet = false;
78
79 Aws::String m_status;
80 bool m_statusHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ForecastService
85} // namespace Aws
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMonitorArn(const Aws::String &value)
Definition MonitorInfo.h:47
MonitorInfo & WithMonitorArn(const Aws::String &value)
Definition MonitorInfo.h:50
void SetMonitorArn(const char *value)
Definition MonitorInfo.h:49
AWS_FORECASTSERVICE_API MonitorInfo()
const Aws::String & GetStatus() const
Definition MonitorInfo.h:65
MonitorInfo & WithStatus(const Aws::String &value)
Definition MonitorInfo.h:70
void SetStatus(const Aws::String &value)
Definition MonitorInfo.h:67
MonitorInfo & WithStatus(Aws::String &&value)
Definition MonitorInfo.h:71
void SetStatus(Aws::String &&value)
Definition MonitorInfo.h:68
const Aws::String & GetMonitorArn() const
Definition MonitorInfo.h:45
MonitorInfo & WithMonitorArn(const char *value)
Definition MonitorInfo.h:52
void SetMonitorArn(Aws::String &&value)
Definition MonitorInfo.h:48
MonitorInfo & WithMonitorArn(Aws::String &&value)
Definition MonitorInfo.h:51
AWS_FORECASTSERVICE_API MonitorInfo(Aws::Utils::Json::JsonView jsonValue)
MonitorInfo & WithStatus(const char *value)
Definition MonitorInfo.h:72
AWS_FORECASTSERVICE_API MonitorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue