AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetWhatIfAnalysisName() const { return m_whatIfAnalysisName; }
42 template<typename WhatIfAnalysisNameT = Aws::String>
43 void SetWhatIfAnalysisName(WhatIfAnalysisNameT&& value) { m_whatIfAnalysisNameHasBeenSet = true; m_whatIfAnalysisName = std::forward<WhatIfAnalysisNameT>(value); }
44 template<typename WhatIfAnalysisNameT = Aws::String>
45 DescribeWhatIfAnalysisResult& WithWhatIfAnalysisName(WhatIfAnalysisNameT&& value) { SetWhatIfAnalysisName(std::forward<WhatIfAnalysisNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetWhatIfAnalysisArn() const { return m_whatIfAnalysisArn; }
53 template<typename WhatIfAnalysisArnT = Aws::String>
54 void SetWhatIfAnalysisArn(WhatIfAnalysisArnT&& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = std::forward<WhatIfAnalysisArnT>(value); }
55 template<typename WhatIfAnalysisArnT = Aws::String>
56 DescribeWhatIfAnalysisResult& WithWhatIfAnalysisArn(WhatIfAnalysisArnT&& value) { SetWhatIfAnalysisArn(std::forward<WhatIfAnalysisArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetForecastArn() const { return m_forecastArn; }
64 template<typename ForecastArnT = Aws::String>
65 void SetForecastArn(ForecastArnT&& value) { m_forecastArnHasBeenSet = true; m_forecastArn = std::forward<ForecastArnT>(value); }
66 template<typename ForecastArnT = Aws::String>
67 DescribeWhatIfAnalysisResult& WithForecastArn(ForecastArnT&& value) { SetForecastArn(std::forward<ForecastArnT>(value)); return *this;}
69
71
75 inline long long GetEstimatedTimeRemainingInMinutes() const { return m_estimatedTimeRemainingInMinutes; }
76 inline void SetEstimatedTimeRemainingInMinutes(long long value) { m_estimatedTimeRemainingInMinutesHasBeenSet = true; m_estimatedTimeRemainingInMinutes = value; }
79
81
91 inline const Aws::String& GetStatus() const { return m_status; }
92 template<typename StatusT = Aws::String>
93 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
94 template<typename StatusT = Aws::String>
95 DescribeWhatIfAnalysisResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
97
99
102 inline const Aws::String& GetMessage() const { return m_message; }
103 template<typename MessageT = Aws::String>
104 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
105 template<typename MessageT = Aws::String>
106 DescribeWhatIfAnalysisResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
114 template<typename CreationTimeT = Aws::Utils::DateTime>
115 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
116 template<typename CreationTimeT = Aws::Utils::DateTime>
117 DescribeWhatIfAnalysisResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
119
121
130 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
131 template<typename LastModificationTimeT = Aws::Utils::DateTime>
132 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
133 template<typename LastModificationTimeT = Aws::Utils::DateTime>
134 DescribeWhatIfAnalysisResult& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
136
138
139 inline const TimeSeriesSelector& GetTimeSeriesSelector() const { return m_timeSeriesSelector; }
140 template<typename TimeSeriesSelectorT = TimeSeriesSelector>
141 void SetTimeSeriesSelector(TimeSeriesSelectorT&& value) { m_timeSeriesSelectorHasBeenSet = true; m_timeSeriesSelector = std::forward<TimeSeriesSelectorT>(value); }
142 template<typename TimeSeriesSelectorT = TimeSeriesSelector>
143 DescribeWhatIfAnalysisResult& WithTimeSeriesSelector(TimeSeriesSelectorT&& value) { SetTimeSeriesSelector(std::forward<TimeSeriesSelectorT>(value)); return *this;}
145
147
148 inline const Aws::String& GetRequestId() const { return m_requestId; }
149 template<typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
151 template<typename RequestIdT = Aws::String>
152 DescribeWhatIfAnalysisResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
154 private:
155
156 Aws::String m_whatIfAnalysisName;
157 bool m_whatIfAnalysisNameHasBeenSet = false;
158
159 Aws::String m_whatIfAnalysisArn;
160 bool m_whatIfAnalysisArnHasBeenSet = false;
161
162 Aws::String m_forecastArn;
163 bool m_forecastArnHasBeenSet = false;
164
165 long long m_estimatedTimeRemainingInMinutes{0};
166 bool m_estimatedTimeRemainingInMinutesHasBeenSet = false;
167
168 Aws::String m_status;
169 bool m_statusHasBeenSet = false;
170
171 Aws::String m_message;
172 bool m_messageHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationTime{};
175 bool m_creationTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastModificationTime{};
178 bool m_lastModificationTimeHasBeenSet = false;
179
180 TimeSeriesSelector m_timeSeriesSelector;
181 bool m_timeSeriesSelectorHasBeenSet = false;
182
183 Aws::String m_requestId;
184 bool m_requestIdHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace ForecastService
189} // namespace Aws
DescribeWhatIfAnalysisResult & WithLastModificationTime(LastModificationTimeT &&value)
DescribeWhatIfAnalysisResult & WithRequestId(RequestIdT &&value)
DescribeWhatIfAnalysisResult & WithTimeSeriesSelector(TimeSeriesSelectorT &&value)
AWS_FORECASTSERVICE_API DescribeWhatIfAnalysisResult()=default
AWS_FORECASTSERVICE_API DescribeWhatIfAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWhatIfAnalysisResult & WithForecastArn(ForecastArnT &&value)
DescribeWhatIfAnalysisResult & WithCreationTime(CreationTimeT &&value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisArn(WhatIfAnalysisArnT &&value)
DescribeWhatIfAnalysisResult & WithEstimatedTimeRemainingInMinutes(long long value)
DescribeWhatIfAnalysisResult & WithStatus(StatusT &&value)
DescribeWhatIfAnalysisResult & WithWhatIfAnalysisName(WhatIfAnalysisNameT &&value)
DescribeWhatIfAnalysisResult & WithMessage(MessageT &&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