AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ForecastSummary.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 ForecastSummary();
39 AWS_FORECASTSERVICE_API ForecastSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API ForecastSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetForecastArn() const{ return m_forecastArn; }
49 inline bool ForecastArnHasBeenSet() const { return m_forecastArnHasBeenSet; }
50 inline void SetForecastArn(const Aws::String& value) { m_forecastArnHasBeenSet = true; m_forecastArn = value; }
51 inline void SetForecastArn(Aws::String&& value) { m_forecastArnHasBeenSet = true; m_forecastArn = std::move(value); }
52 inline void SetForecastArn(const char* value) { m_forecastArnHasBeenSet = true; m_forecastArn.assign(value); }
53 inline ForecastSummary& WithForecastArn(const Aws::String& value) { SetForecastArn(value); return *this;}
54 inline ForecastSummary& WithForecastArn(Aws::String&& value) { SetForecastArn(std::move(value)); return *this;}
55 inline ForecastSummary& WithForecastArn(const char* value) { SetForecastArn(value); return *this;}
57
59
62 inline const Aws::String& GetForecastName() const{ return m_forecastName; }
63 inline bool ForecastNameHasBeenSet() const { return m_forecastNameHasBeenSet; }
64 inline void SetForecastName(const Aws::String& value) { m_forecastNameHasBeenSet = true; m_forecastName = value; }
65 inline void SetForecastName(Aws::String&& value) { m_forecastNameHasBeenSet = true; m_forecastName = std::move(value); }
66 inline void SetForecastName(const char* value) { m_forecastNameHasBeenSet = true; m_forecastName.assign(value); }
67 inline ForecastSummary& WithForecastName(const Aws::String& value) { SetForecastName(value); return *this;}
68 inline ForecastSummary& WithForecastName(Aws::String&& value) { SetForecastName(std::move(value)); return *this;}
69 inline ForecastSummary& WithForecastName(const char* value) { SetForecastName(value); return *this;}
71
73
76 inline const Aws::String& GetPredictorArn() const{ return m_predictorArn; }
77 inline bool PredictorArnHasBeenSet() const { return m_predictorArnHasBeenSet; }
78 inline void SetPredictorArn(const Aws::String& value) { m_predictorArnHasBeenSet = true; m_predictorArn = value; }
79 inline void SetPredictorArn(Aws::String&& value) { m_predictorArnHasBeenSet = true; m_predictorArn = std::move(value); }
80 inline void SetPredictorArn(const char* value) { m_predictorArnHasBeenSet = true; m_predictorArn.assign(value); }
81 inline ForecastSummary& WithPredictorArn(const Aws::String& value) { SetPredictorArn(value); return *this;}
82 inline ForecastSummary& WithPredictorArn(Aws::String&& value) { SetPredictorArn(std::move(value)); return *this;}
83 inline ForecastSummary& WithPredictorArn(const char* value) { SetPredictorArn(value); return *this;}
85
87
90 inline bool GetCreatedUsingAutoPredictor() const{ return m_createdUsingAutoPredictor; }
91 inline bool CreatedUsingAutoPredictorHasBeenSet() const { return m_createdUsingAutoPredictorHasBeenSet; }
92 inline void SetCreatedUsingAutoPredictor(bool value) { m_createdUsingAutoPredictorHasBeenSet = true; m_createdUsingAutoPredictor = value; }
95
97
101 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
102 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
103 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
104 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
105 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
106 inline ForecastSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
107 inline ForecastSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
108 inline ForecastSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
110
112
122 inline const Aws::String& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
127 inline ForecastSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
128 inline ForecastSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
129 inline ForecastSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
131
133
136 inline const Aws::String& GetMessage() const{ return m_message; }
137 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
138 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
139 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
140 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
141 inline ForecastSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
142 inline ForecastSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
143 inline ForecastSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
151 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
152 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
153 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
154 inline ForecastSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
155 inline ForecastSummary& 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 bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
170 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
171 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
175 private:
176
177 Aws::String m_forecastArn;
178 bool m_forecastArnHasBeenSet = false;
179
180 Aws::String m_forecastName;
181 bool m_forecastNameHasBeenSet = false;
182
183 Aws::String m_predictorArn;
184 bool m_predictorArnHasBeenSet = false;
185
186 bool m_createdUsingAutoPredictor;
187 bool m_createdUsingAutoPredictorHasBeenSet = false;
188
189 Aws::String m_datasetGroupArn;
190 bool m_datasetGroupArnHasBeenSet = false;
191
192 Aws::String m_status;
193 bool m_statusHasBeenSet = false;
194
195 Aws::String m_message;
196 bool m_messageHasBeenSet = false;
197
198 Aws::Utils::DateTime m_creationTime;
199 bool m_creationTimeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastModificationTime;
202 bool m_lastModificationTimeHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace ForecastService
207} // namespace Aws
void SetForecastName(const Aws::String &value)
ForecastSummary & WithStatus(const Aws::String &value)
AWS_FORECASTSERVICE_API ForecastSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ForecastSummary & WithPredictorArn(Aws::String &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetForecastArn(const Aws::String &value)
void SetDatasetGroupArn(const Aws::String &value)
ForecastSummary & WithPredictorArn(const Aws::String &value)
ForecastSummary & WithForecastArn(Aws::String &&value)
ForecastSummary & WithStatus(const char *value)
ForecastSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
ForecastSummary & WithForecastName(Aws::String &&value)
ForecastSummary & WithMessage(Aws::String &&value)
ForecastSummary & WithStatus(Aws::String &&value)
ForecastSummary & WithMessage(const char *value)
AWS_FORECASTSERVICE_API ForecastSummary()
const Aws::Utils::DateTime & GetCreationTime() const
ForecastSummary & WithCreatedUsingAutoPredictor(bool value)
const Aws::String & GetDatasetGroupArn() const
AWS_FORECASTSERVICE_API ForecastSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
ForecastSummary & WithForecastArn(const char *value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetForecastName() const
void SetLastModificationTime(const Aws::Utils::DateTime &value)
void SetMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
ForecastSummary & WithForecastArn(const Aws::String &value)
ForecastSummary & WithPredictorArn(const char *value)
ForecastSummary & WithForecastName(const Aws::String &value)
ForecastSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
ForecastSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ForecastSummary & WithForecastName(const char *value)
ForecastSummary & WithDatasetGroupArn(Aws::String &&value)
void SetPredictorArn(const Aws::String &value)
ForecastSummary & WithDatasetGroupArn(const Aws::String &value)
const Aws::String & GetPredictorArn() const
ForecastSummary & WithMessage(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ForecastSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ForecastSummary & WithDatasetGroupArn(const char *value)
void SetStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue