AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeForecastResult.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/forecast/model/TimeSeriesSelector.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ForecastService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_FORECASTSERVICE_API DescribeForecastResult();
36
37
39
42 inline const Aws::String& GetForecastArn() const{ return m_forecastArn; }
43 inline void SetForecastArn(const Aws::String& value) { m_forecastArn = value; }
44 inline void SetForecastArn(Aws::String&& value) { m_forecastArn = std::move(value); }
45 inline void SetForecastArn(const char* value) { m_forecastArn.assign(value); }
46 inline DescribeForecastResult& WithForecastArn(const Aws::String& value) { SetForecastArn(value); return *this;}
47 inline DescribeForecastResult& WithForecastArn(Aws::String&& value) { SetForecastArn(std::move(value)); return *this;}
48 inline DescribeForecastResult& WithForecastArn(const char* value) { SetForecastArn(value); return *this;}
50
52
55 inline const Aws::String& GetForecastName() const{ return m_forecastName; }
56 inline void SetForecastName(const Aws::String& value) { m_forecastName = value; }
57 inline void SetForecastName(Aws::String&& value) { m_forecastName = std::move(value); }
58 inline void SetForecastName(const char* value) { m_forecastName.assign(value); }
59 inline DescribeForecastResult& WithForecastName(const Aws::String& value) { SetForecastName(value); return *this;}
60 inline DescribeForecastResult& WithForecastName(Aws::String&& value) { SetForecastName(std::move(value)); return *this;}
61 inline DescribeForecastResult& WithForecastName(const char* value) { SetForecastName(value); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetForecastTypes() const{ return m_forecastTypes; }
69 inline void SetForecastTypes(const Aws::Vector<Aws::String>& value) { m_forecastTypes = value; }
70 inline void SetForecastTypes(Aws::Vector<Aws::String>&& value) { m_forecastTypes = std::move(value); }
72 inline DescribeForecastResult& WithForecastTypes(Aws::Vector<Aws::String>&& value) { SetForecastTypes(std::move(value)); return *this;}
73 inline DescribeForecastResult& AddForecastTypes(const Aws::String& value) { m_forecastTypes.push_back(value); return *this; }
74 inline DescribeForecastResult& AddForecastTypes(Aws::String&& value) { m_forecastTypes.push_back(std::move(value)); return *this; }
75 inline DescribeForecastResult& AddForecastTypes(const char* value) { m_forecastTypes.push_back(value); return *this; }
77
79
82 inline const Aws::String& GetPredictorArn() const{ return m_predictorArn; }
83 inline void SetPredictorArn(const Aws::String& value) { m_predictorArn = value; }
84 inline void SetPredictorArn(Aws::String&& value) { m_predictorArn = std::move(value); }
85 inline void SetPredictorArn(const char* value) { m_predictorArn.assign(value); }
86 inline DescribeForecastResult& WithPredictorArn(const Aws::String& value) { SetPredictorArn(value); return *this;}
87 inline DescribeForecastResult& WithPredictorArn(Aws::String&& value) { SetPredictorArn(std::move(value)); return *this;}
88 inline DescribeForecastResult& WithPredictorArn(const char* value) { SetPredictorArn(value); return *this;}
90
92
96 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
97 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArn = value; }
98 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArn = std::move(value); }
99 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArn.assign(value); }
100 inline DescribeForecastResult& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
101 inline DescribeForecastResult& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
102 inline DescribeForecastResult& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
104
106
109 inline long long GetEstimatedTimeRemainingInMinutes() const{ return m_estimatedTimeRemainingInMinutes; }
110 inline void SetEstimatedTimeRemainingInMinutes(long long value) { m_estimatedTimeRemainingInMinutes = value; }
113
115
125 inline const Aws::String& GetStatus() const{ return m_status; }
126 inline void SetStatus(const Aws::String& value) { m_status = value; }
127 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
128 inline void SetStatus(const char* value) { m_status.assign(value); }
129 inline DescribeForecastResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
130 inline DescribeForecastResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
131 inline DescribeForecastResult& WithStatus(const char* value) { SetStatus(value); return *this;}
133
135
138 inline const Aws::String& GetMessage() const{ return m_message; }
139 inline void SetMessage(const Aws::String& value) { m_message = value; }
140 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
141 inline void SetMessage(const char* value) { m_message.assign(value); }
142 inline DescribeForecastResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
143 inline DescribeForecastResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
144 inline DescribeForecastResult& WithMessage(const char* value) { SetMessage(value); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
152 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
153 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
155 inline DescribeForecastResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
157
159
168 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
169 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
170 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
174
176
179 inline const TimeSeriesSelector& GetTimeSeriesSelector() const{ return m_timeSeriesSelector; }
180 inline void SetTimeSeriesSelector(const TimeSeriesSelector& value) { m_timeSeriesSelector = value; }
181 inline void SetTimeSeriesSelector(TimeSeriesSelector&& value) { m_timeSeriesSelector = std::move(value); }
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline DescribeForecastResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline DescribeForecastResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline DescribeForecastResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::String m_forecastArn;
199
200 Aws::String m_forecastName;
201
202 Aws::Vector<Aws::String> m_forecastTypes;
203
204 Aws::String m_predictorArn;
205
206 Aws::String m_datasetGroupArn;
207
208 long long m_estimatedTimeRemainingInMinutes;
209
210 Aws::String m_status;
211
212 Aws::String m_message;
213
214 Aws::Utils::DateTime m_creationTime;
215
216 Aws::Utils::DateTime m_lastModificationTime;
217
218 TimeSeriesSelector m_timeSeriesSelector;
219
220 Aws::String m_requestId;
221 };
222
223} // namespace Model
224} // namespace ForecastService
225} // namespace Aws
DescribeForecastResult & WithDatasetGroupArn(const char *value)
AWS_FORECASTSERVICE_API DescribeForecastResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeForecastResult & WithTimeSeriesSelector(TimeSeriesSelector &&value)
AWS_FORECASTSERVICE_API DescribeForecastResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeForecastResult & WithRequestId(Aws::String &&value)
DescribeForecastResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
DescribeForecastResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeForecastResult & AddForecastTypes(Aws::String &&value)
DescribeForecastResult & WithMessage(const Aws::String &value)
void SetTimeSeriesSelector(const TimeSeriesSelector &value)
DescribeForecastResult & WithForecastArn(const char *value)
DescribeForecastResult & WithForecastArn(const Aws::String &value)
DescribeForecastResult & WithDatasetGroupArn(const Aws::String &value)
DescribeForecastResult & WithStatus(Aws::String &&value)
DescribeForecastResult & WithForecastName(const char *value)
DescribeForecastResult & AddForecastTypes(const char *value)
DescribeForecastResult & WithMessage(const char *value)
const Aws::Vector< Aws::String > & GetForecastTypes() const
DescribeForecastResult & WithForecastArn(Aws::String &&value)
void SetForecastTypes(const Aws::Vector< Aws::String > &value)
DescribeForecastResult & WithForecastName(Aws::String &&value)
DescribeForecastResult & WithDatasetGroupArn(Aws::String &&value)
DescribeForecastResult & WithTimeSeriesSelector(const TimeSeriesSelector &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeForecastResult & WithStatus(const Aws::String &value)
DescribeForecastResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeForecastResult & WithStatus(const char *value)
DescribeForecastResult & WithForecastTypes(Aws::Vector< Aws::String > &&value)
DescribeForecastResult & AddForecastTypes(const Aws::String &value)
DescribeForecastResult & WithRequestId(const Aws::String &value)
DescribeForecastResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
DescribeForecastResult & WithRequestId(const char *value)
DescribeForecastResult & WithEstimatedTimeRemainingInMinutes(long long value)
DescribeForecastResult & WithForecastName(const Aws::String &value)
DescribeForecastResult & WithPredictorArn(const Aws::String &value)
void SetForecastTypes(Aws::Vector< Aws::String > &&value)
DescribeForecastResult & WithForecastTypes(const Aws::Vector< Aws::String > &value)
DescribeForecastResult & WithPredictorArn(const char *value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
DescribeForecastResult & WithMessage(Aws::String &&value)
DescribeForecastResult & WithPredictorArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue