AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitorSummary.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ForecastService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_FORECASTSERVICE_API MonitorSummary();
39 AWS_FORECASTSERVICE_API MonitorSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API MonitorSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; }
49 inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; }
50 inline void SetMonitorArn(const Aws::String& value) { m_monitorArnHasBeenSet = true; m_monitorArn = value; }
51 inline void SetMonitorArn(Aws::String&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::move(value); }
52 inline void SetMonitorArn(const char* value) { m_monitorArnHasBeenSet = true; m_monitorArn.assign(value); }
53 inline MonitorSummary& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;}
54 inline MonitorSummary& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;}
55 inline MonitorSummary& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;}
57
59
62 inline const Aws::String& GetMonitorName() const{ return m_monitorName; }
63 inline bool MonitorNameHasBeenSet() const { return m_monitorNameHasBeenSet; }
64 inline void SetMonitorName(const Aws::String& value) { m_monitorNameHasBeenSet = true; m_monitorName = value; }
65 inline void SetMonitorName(Aws::String&& value) { m_monitorNameHasBeenSet = true; m_monitorName = std::move(value); }
66 inline void SetMonitorName(const char* value) { m_monitorNameHasBeenSet = true; m_monitorName.assign(value); }
67 inline MonitorSummary& WithMonitorName(const Aws::String& value) { SetMonitorName(value); return *this;}
68 inline MonitorSummary& WithMonitorName(Aws::String&& value) { SetMonitorName(std::move(value)); return *this;}
69 inline MonitorSummary& WithMonitorName(const char* value) { SetMonitorName(value); return *this;}
71
73
76 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
77 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
78 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
79 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
80 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
81 inline MonitorSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
82 inline MonitorSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
83 inline MonitorSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
85
87
96 inline const Aws::String& GetStatus() const{ return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
99 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
100 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
101 inline MonitorSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
102 inline MonitorSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
103 inline MonitorSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
111 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
112 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
113 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
114 inline MonitorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
115 inline MonitorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
117
119
128 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
129 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
130 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
131 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
133 inline MonitorSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_monitorArn;
138 bool m_monitorArnHasBeenSet = false;
139
140 Aws::String m_monitorName;
141 bool m_monitorNameHasBeenSet = false;
142
143 Aws::String m_resourceArn;
144 bool m_resourceArnHasBeenSet = false;
145
146 Aws::String m_status;
147 bool m_statusHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationTime;
150 bool m_creationTimeHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastModificationTime;
153 bool m_lastModificationTimeHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace ForecastService
158} // namespace Aws
MonitorSummary & WithStatus(Aws::String &&value)
MonitorSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetMonitorName() const
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceArn(const Aws::String &value)
const Aws::String & GetMonitorArn() const
MonitorSummary & WithMonitorName(const char *value)
void SetMonitorArn(const Aws::String &value)
MonitorSummary & WithMonitorName(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetMonitorName(const Aws::String &value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
MonitorSummary & WithStatus(const char *value)
MonitorSummary & WithCreationTime(const Aws::Utils::DateTime &value)
MonitorSummary & WithResourceArn(Aws::String &&value)
MonitorSummary & WithMonitorArn(Aws::String &&value)
MonitorSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
MonitorSummary & WithMonitorArn(const Aws::String &value)
AWS_FORECASTSERVICE_API MonitorSummary(Aws::Utils::Json::JsonView jsonValue)
MonitorSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
AWS_FORECASTSERVICE_API MonitorSummary()
MonitorSummary & WithMonitorArn(const char *value)
AWS_FORECASTSERVICE_API MonitorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const Aws::String &value)
MonitorSummary & WithStatus(const Aws::String &value)
MonitorSummary & WithResourceArn(const char *value)
MonitorSummary & WithMonitorName(Aws::String &&value)
MonitorSummary & WithResourceArn(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue