AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
42 inline const Aws::String& GetForecastArn() const { return m_forecastArn; }
43 template<typename ForecastArnT = Aws::String>
44 void SetForecastArn(ForecastArnT&& value) { m_forecastArnHasBeenSet = true; m_forecastArn = std::forward<ForecastArnT>(value); }
45 template<typename ForecastArnT = Aws::String>
46 DescribeForecastResult& WithForecastArn(ForecastArnT&& value) { SetForecastArn(std::forward<ForecastArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetForecastName() const { return m_forecastName; }
54 template<typename ForecastNameT = Aws::String>
55 void SetForecastName(ForecastNameT&& value) { m_forecastNameHasBeenSet = true; m_forecastName = std::forward<ForecastNameT>(value); }
56 template<typename ForecastNameT = Aws::String>
57 DescribeForecastResult& WithForecastName(ForecastNameT&& value) { SetForecastName(std::forward<ForecastNameT>(value)); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetForecastTypes() const { return m_forecastTypes; }
65 template<typename ForecastTypesT = Aws::Vector<Aws::String>>
66 void SetForecastTypes(ForecastTypesT&& value) { m_forecastTypesHasBeenSet = true; m_forecastTypes = std::forward<ForecastTypesT>(value); }
67 template<typename ForecastTypesT = Aws::Vector<Aws::String>>
68 DescribeForecastResult& WithForecastTypes(ForecastTypesT&& value) { SetForecastTypes(std::forward<ForecastTypesT>(value)); return *this;}
69 template<typename ForecastTypesT = Aws::String>
70 DescribeForecastResult& AddForecastTypes(ForecastTypesT&& value) { m_forecastTypesHasBeenSet = true; m_forecastTypes.emplace_back(std::forward<ForecastTypesT>(value)); return *this; }
72
74
77 inline const Aws::String& GetPredictorArn() const { return m_predictorArn; }
78 template<typename PredictorArnT = Aws::String>
79 void SetPredictorArn(PredictorArnT&& value) { m_predictorArnHasBeenSet = true; m_predictorArn = std::forward<PredictorArnT>(value); }
80 template<typename PredictorArnT = Aws::String>
81 DescribeForecastResult& WithPredictorArn(PredictorArnT&& value) { SetPredictorArn(std::forward<PredictorArnT>(value)); return *this;}
83
85
89 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
90 template<typename DatasetGroupArnT = Aws::String>
91 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
92 template<typename DatasetGroupArnT = Aws::String>
93 DescribeForecastResult& WithDatasetGroupArn(DatasetGroupArnT&& value) { SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value)); return *this;}
95
97
100 inline long long GetEstimatedTimeRemainingInMinutes() const { return m_estimatedTimeRemainingInMinutes; }
101 inline void SetEstimatedTimeRemainingInMinutes(long long value) { m_estimatedTimeRemainingInMinutesHasBeenSet = true; m_estimatedTimeRemainingInMinutes = value; }
104
106
116 inline const Aws::String& GetStatus() const { return m_status; }
117 template<typename StatusT = Aws::String>
118 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
119 template<typename StatusT = Aws::String>
120 DescribeForecastResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
122
124
127 inline const Aws::String& GetMessage() const { return m_message; }
128 template<typename MessageT = Aws::String>
129 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
130 template<typename MessageT = Aws::String>
131 DescribeForecastResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
139 template<typename CreationTimeT = Aws::Utils::DateTime>
140 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
141 template<typename CreationTimeT = Aws::Utils::DateTime>
142 DescribeForecastResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
144
146
155 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
156 template<typename LastModificationTimeT = Aws::Utils::DateTime>
157 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
158 template<typename LastModificationTimeT = Aws::Utils::DateTime>
159 DescribeForecastResult& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
161
163
166 inline const TimeSeriesSelector& GetTimeSeriesSelector() const { return m_timeSeriesSelector; }
167 template<typename TimeSeriesSelectorT = TimeSeriesSelector>
168 void SetTimeSeriesSelector(TimeSeriesSelectorT&& value) { m_timeSeriesSelectorHasBeenSet = true; m_timeSeriesSelector = std::forward<TimeSeriesSelectorT>(value); }
169 template<typename TimeSeriesSelectorT = TimeSeriesSelector>
170 DescribeForecastResult& WithTimeSeriesSelector(TimeSeriesSelectorT&& value) { SetTimeSeriesSelector(std::forward<TimeSeriesSelectorT>(value)); return *this;}
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template<typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
178 template<typename RequestIdT = Aws::String>
179 DescribeForecastResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
181 private:
182
183 Aws::String m_forecastArn;
184 bool m_forecastArnHasBeenSet = false;
185
186 Aws::String m_forecastName;
187 bool m_forecastNameHasBeenSet = false;
188
189 Aws::Vector<Aws::String> m_forecastTypes;
190 bool m_forecastTypesHasBeenSet = false;
191
192 Aws::String m_predictorArn;
193 bool m_predictorArnHasBeenSet = false;
194
195 Aws::String m_datasetGroupArn;
196 bool m_datasetGroupArnHasBeenSet = false;
197
198 long long m_estimatedTimeRemainingInMinutes{0};
199 bool m_estimatedTimeRemainingInMinutesHasBeenSet = false;
200
201 Aws::String m_status;
202 bool m_statusHasBeenSet = false;
203
204 Aws::String m_message;
205 bool m_messageHasBeenSet = false;
206
207 Aws::Utils::DateTime m_creationTime{};
208 bool m_creationTimeHasBeenSet = false;
209
210 Aws::Utils::DateTime m_lastModificationTime{};
211 bool m_lastModificationTimeHasBeenSet = false;
212
213 TimeSeriesSelector m_timeSeriesSelector;
214 bool m_timeSeriesSelectorHasBeenSet = false;
215
216 Aws::String m_requestId;
217 bool m_requestIdHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace ForecastService
222} // namespace Aws
AWS_FORECASTSERVICE_API DescribeForecastResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FORECASTSERVICE_API DescribeForecastResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeForecastResult & WithDatasetGroupArn(DatasetGroupArnT &&value)
DescribeForecastResult & WithLastModificationTime(LastModificationTimeT &&value)
DescribeForecastResult & AddForecastTypes(ForecastTypesT &&value)
DescribeForecastResult & WithForecastArn(ForecastArnT &&value)
const Aws::Vector< Aws::String > & GetForecastTypes() const
DescribeForecastResult & WithForecastName(ForecastNameT &&value)
void SetLastModificationTime(LastModificationTimeT &&value)
DescribeForecastResult & WithPredictorArn(PredictorArnT &&value)
DescribeForecastResult & WithMessage(MessageT &&value)
DescribeForecastResult & WithTimeSeriesSelector(TimeSeriesSelectorT &&value)
DescribeForecastResult & WithForecastTypes(ForecastTypesT &&value)
DescribeForecastResult & WithCreationTime(CreationTimeT &&value)
DescribeForecastResult & WithEstimatedTimeRemainingInMinutes(long long value)
DescribeForecastResult & WithStatus(StatusT &&value)
AWS_FORECASTSERVICE_API DescribeForecastResult()=default
DescribeForecastResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue