AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeWhatIfAnalysisResult.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/TimeSeriesSelector.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 DescribeWhatIfAnalysisResult();
35
36
38
41 inline const Aws::String& GetWhatIfAnalysisName() const{ return m_whatIfAnalysisName; }
42 inline void SetWhatIfAnalysisName(const Aws::String& value) { m_whatIfAnalysisName = value; }
43 inline void SetWhatIfAnalysisName(Aws::String&& value) { m_whatIfAnalysisName = std::move(value); }
44 inline void SetWhatIfAnalysisName(const char* value) { m_whatIfAnalysisName.assign(value); }
46 inline DescribeWhatIfAnalysisResult& WithWhatIfAnalysisName(Aws::String&& value) { SetWhatIfAnalysisName(std::move(value)); return *this;}
47 inline DescribeWhatIfAnalysisResult& WithWhatIfAnalysisName(const char* value) { SetWhatIfAnalysisName(value); return *this;}
49
51
54 inline const Aws::String& GetWhatIfAnalysisArn() const{ return m_whatIfAnalysisArn; }
55 inline void SetWhatIfAnalysisArn(const Aws::String& value) { m_whatIfAnalysisArn = value; }
56 inline void SetWhatIfAnalysisArn(Aws::String&& value) { m_whatIfAnalysisArn = std::move(value); }
57 inline void SetWhatIfAnalysisArn(const char* value) { m_whatIfAnalysisArn.assign(value); }
59 inline DescribeWhatIfAnalysisResult& WithWhatIfAnalysisArn(Aws::String&& value) { SetWhatIfAnalysisArn(std::move(value)); return *this;}
60 inline DescribeWhatIfAnalysisResult& WithWhatIfAnalysisArn(const char* value) { SetWhatIfAnalysisArn(value); return *this;}
62
64
67 inline const Aws::String& GetForecastArn() const{ return m_forecastArn; }
68 inline void SetForecastArn(const Aws::String& value) { m_forecastArn = value; }
69 inline void SetForecastArn(Aws::String&& value) { m_forecastArn = std::move(value); }
70 inline void SetForecastArn(const char* value) { m_forecastArn.assign(value); }
71 inline DescribeWhatIfAnalysisResult& WithForecastArn(const Aws::String& value) { SetForecastArn(value); return *this;}
72 inline DescribeWhatIfAnalysisResult& WithForecastArn(Aws::String&& value) { SetForecastArn(std::move(value)); return *this;}
73 inline DescribeWhatIfAnalysisResult& WithForecastArn(const char* value) { SetForecastArn(value); return *this;}
75
77
81 inline long long GetEstimatedTimeRemainingInMinutes() const{ return m_estimatedTimeRemainingInMinutes; }
82 inline void SetEstimatedTimeRemainingInMinutes(long long value) { m_estimatedTimeRemainingInMinutes = value; }
85
87
97 inline const Aws::String& GetStatus() const{ return m_status; }
98 inline void SetStatus(const Aws::String& value) { m_status = value; }
99 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
100 inline void SetStatus(const char* value) { m_status.assign(value); }
101 inline DescribeWhatIfAnalysisResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
102 inline DescribeWhatIfAnalysisResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
103 inline DescribeWhatIfAnalysisResult& WithStatus(const char* value) { SetStatus(value); return *this;}
105
107
110 inline const Aws::String& GetMessage() const{ return m_message; }
111 inline void SetMessage(const Aws::String& value) { m_message = value; }
112 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
113 inline void SetMessage(const char* value) { m_message.assign(value); }
114 inline DescribeWhatIfAnalysisResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
115 inline DescribeWhatIfAnalysisResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
116 inline DescribeWhatIfAnalysisResult& WithMessage(const char* value) { SetMessage(value); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
124 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
125 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
127 inline DescribeWhatIfAnalysisResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
129
131
140 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
141 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
142 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
146
148
149 inline const TimeSeriesSelector& GetTimeSeriesSelector() const{ return m_timeSeriesSelector; }
150 inline void SetTimeSeriesSelector(const TimeSeriesSelector& value) { m_timeSeriesSelector = value; }
151 inline void SetTimeSeriesSelector(TimeSeriesSelector&& value) { m_timeSeriesSelector = std::move(value); }
155
157
158 inline const Aws::String& GetRequestId() const{ return m_requestId; }
159 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
160 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
161 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
162 inline DescribeWhatIfAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
163 inline DescribeWhatIfAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
164 inline DescribeWhatIfAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
166 private:
167
168 Aws::String m_whatIfAnalysisName;
169
170 Aws::String m_whatIfAnalysisArn;
171
172 Aws::String m_forecastArn;
173
174 long long m_estimatedTimeRemainingInMinutes;
175
176 Aws::String m_status;
177
178 Aws::String m_message;
179
180 Aws::Utils::DateTime m_creationTime;
181
182 Aws::Utils::DateTime m_lastModificationTime;
183
184 TimeSeriesSelector m_timeSeriesSelector;
185
186 Aws::String m_requestId;
187 };
188
189} // namespace Model
190} // namespace ForecastService
191} // namespace Aws
DescribeWhatIfAnalysisResult & WithMessage(Aws::String &&value)
DescribeWhatIfAnalysisResult & WithTimeSeriesSelector(TimeSeriesSelector &&value)
DescribeWhatIfAnalysisResult & WithForecastArn(Aws::String &&value)
DescribeWhatIfAnalysisResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeWhatIfAnalysisResult & WithRequestId(Aws::String &&value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisArn(Aws::String &&value)
DescribeWhatIfAnalysisResult & WithRequestId(const Aws::String &value)
AWS_FORECASTSERVICE_API DescribeWhatIfAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWhatIfAnalysisResult & WithForecastArn(const char *value)
DescribeWhatIfAnalysisResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
DescribeWhatIfAnalysisResult & WithStatus(Aws::String &&value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisArn(const char *value)
DescribeWhatIfAnalysisResult & WithStatus(const char *value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisArn(const Aws::String &value)
DescribeWhatIfAnalysisResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeWhatIfAnalysisResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
DescribeWhatIfAnalysisResult & WithMessage(const char *value)
DescribeWhatIfAnalysisResult & WithTimeSeriesSelector(const TimeSeriesSelector &value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisName(Aws::String &&value)
DescribeWhatIfAnalysisResult & WithEstimatedTimeRemainingInMinutes(long long value)
DescribeWhatIfAnalysisResult & WithStatus(const Aws::String &value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisName(const Aws::String &value)
DescribeWhatIfAnalysisResult & WithRequestId(const char *value)
DescribeWhatIfAnalysisResult & WithForecastArn(const Aws::String &value)
DescribeWhatIfAnalysisResult & WithMessage(const Aws::String &value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisName(const char *value)
AWS_FORECASTSERVICE_API DescribeWhatIfAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue