AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMonitorResult.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 <aws/forecast/model/Baseline.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ForecastService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_FORECASTSERVICE_API DescribeMonitorResult();
35
36
38
41 inline const Aws::String& GetMonitorName() const{ return m_monitorName; }
42 inline void SetMonitorName(const Aws::String& value) { m_monitorName = value; }
43 inline void SetMonitorName(Aws::String&& value) { m_monitorName = std::move(value); }
44 inline void SetMonitorName(const char* value) { m_monitorName.assign(value); }
45 inline DescribeMonitorResult& WithMonitorName(const Aws::String& value) { SetMonitorName(value); return *this;}
46 inline DescribeMonitorResult& WithMonitorName(Aws::String&& value) { SetMonitorName(std::move(value)); return *this;}
47 inline DescribeMonitorResult& WithMonitorName(const char* value) { SetMonitorName(value); return *this;}
49
51
54 inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; }
55 inline void SetMonitorArn(const Aws::String& value) { m_monitorArn = value; }
56 inline void SetMonitorArn(Aws::String&& value) { m_monitorArn = std::move(value); }
57 inline void SetMonitorArn(const char* value) { m_monitorArn.assign(value); }
58 inline DescribeMonitorResult& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;}
59 inline DescribeMonitorResult& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;}
60 inline DescribeMonitorResult& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;}
62
64
67 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
68 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
69 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
70 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
71 inline DescribeMonitorResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
72 inline DescribeMonitorResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
73 inline DescribeMonitorResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
75
77
80 inline const Aws::String& GetStatus() const{ return m_status; }
81 inline void SetStatus(const Aws::String& value) { m_status = value; }
82 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
83 inline void SetStatus(const char* value) { m_status.assign(value); }
84 inline DescribeMonitorResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
85 inline DescribeMonitorResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
86 inline DescribeMonitorResult& WithStatus(const char* value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastEvaluationTime() const{ return m_lastEvaluationTime; }
94 inline void SetLastEvaluationTime(const Aws::Utils::DateTime& value) { m_lastEvaluationTime = value; }
95 inline void SetLastEvaluationTime(Aws::Utils::DateTime&& value) { m_lastEvaluationTime = std::move(value); }
99
101
104 inline const Aws::String& GetLastEvaluationState() const{ return m_lastEvaluationState; }
105 inline void SetLastEvaluationState(const Aws::String& value) { m_lastEvaluationState = value; }
106 inline void SetLastEvaluationState(Aws::String&& value) { m_lastEvaluationState = std::move(value); }
107 inline void SetLastEvaluationState(const char* value) { m_lastEvaluationState.assign(value); }
109 inline DescribeMonitorResult& WithLastEvaluationState(Aws::String&& value) { SetLastEvaluationState(std::move(value)); return *this;}
110 inline DescribeMonitorResult& WithLastEvaluationState(const char* value) { SetLastEvaluationState(value); return *this;}
112
114
118 inline const Baseline& GetBaseline() const{ return m_baseline; }
119 inline void SetBaseline(const Baseline& value) { m_baseline = value; }
120 inline void SetBaseline(Baseline&& value) { m_baseline = std::move(value); }
121 inline DescribeMonitorResult& WithBaseline(const Baseline& value) { SetBaseline(value); return *this;}
122 inline DescribeMonitorResult& WithBaseline(Baseline&& value) { SetBaseline(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetMessage() const{ return m_message; }
130 inline void SetMessage(const Aws::String& value) { m_message = value; }
131 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
132 inline void SetMessage(const char* value) { m_message.assign(value); }
133 inline DescribeMonitorResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
134 inline DescribeMonitorResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
135 inline DescribeMonitorResult& WithMessage(const char* value) { SetMessage(value); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
143 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
144 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
145 inline DescribeMonitorResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
146 inline DescribeMonitorResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
154 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
155 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
159
161
165 inline long long GetEstimatedEvaluationTimeRemainingInMinutes() const{ return m_estimatedEvaluationTimeRemainingInMinutes; }
166 inline void SetEstimatedEvaluationTimeRemainingInMinutes(long long value) { m_estimatedEvaluationTimeRemainingInMinutes = value; }
169
171
172 inline const Aws::String& GetRequestId() const{ return m_requestId; }
173 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
174 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
175 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
176 inline DescribeMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
177 inline DescribeMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
178 inline DescribeMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
180 private:
181
182 Aws::String m_monitorName;
183
184 Aws::String m_monitorArn;
185
186 Aws::String m_resourceArn;
187
188 Aws::String m_status;
189
190 Aws::Utils::DateTime m_lastEvaluationTime;
191
192 Aws::String m_lastEvaluationState;
193
194 Baseline m_baseline;
195
196 Aws::String m_message;
197
198 Aws::Utils::DateTime m_creationTime;
199
200 Aws::Utils::DateTime m_lastModificationTime;
201
202 long long m_estimatedEvaluationTimeRemainingInMinutes;
203
204 Aws::String m_requestId;
205 };
206
207} // namespace Model
208} // namespace ForecastService
209} // namespace Aws
DescribeMonitorResult & WithMonitorName(Aws::String &&value)
DescribeMonitorResult & WithResourceArn(Aws::String &&value)
DescribeMonitorResult & WithMonitorArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeMonitorResult & WithMonitorName(const Aws::String &value)
DescribeMonitorResult & WithEstimatedEvaluationTimeRemainingInMinutes(long long value)
DescribeMonitorResult & WithResourceArn(const char *value)
const Aws::Utils::DateTime & GetLastEvaluationTime() const
DescribeMonitorResult & WithMonitorName(const char *value)
DescribeMonitorResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
DescribeMonitorResult & WithLastEvaluationState(const char *value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetLastModificationTime() const
DescribeMonitorResult & WithMessage(const Aws::String &value)
DescribeMonitorResult & WithLastEvaluationTime(Aws::Utils::DateTime &&value)
AWS_FORECASTSERVICE_API DescribeMonitorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMonitorResult & WithRequestId(const char *value)
DescribeMonitorResult & WithLastEvaluationTime(const Aws::Utils::DateTime &value)
DescribeMonitorResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
DescribeMonitorResult & WithLastEvaluationState(Aws::String &&value)
DescribeMonitorResult & WithMessage(Aws::String &&value)
DescribeMonitorResult & WithBaseline(Baseline &&value)
DescribeMonitorResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeMonitorResult & WithResourceArn(const Aws::String &value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
AWS_FORECASTSERVICE_API DescribeMonitorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMonitorResult & WithMonitorArn(const Aws::String &value)
void SetLastEvaluationTime(Aws::Utils::DateTime &&value)
DescribeMonitorResult & WithRequestId(Aws::String &&value)
DescribeMonitorResult & WithStatus(const char *value)
DescribeMonitorResult & WithMonitorArn(const char *value)
DescribeMonitorResult & WithRequestId(const Aws::String &value)
DescribeMonitorResult & WithStatus(Aws::String &&value)
DescribeMonitorResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLastEvaluationTime(const Aws::Utils::DateTime &value)
DescribeMonitorResult & WithBaseline(const Baseline &value)
DescribeMonitorResult & WithMessage(const char *value)
DescribeMonitorResult & WithStatus(const Aws::String &value)
DescribeMonitorResult & WithLastEvaluationState(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue