AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WhatIfForecastSummary.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
37 {
38 public:
39 AWS_FORECASTSERVICE_API WhatIfForecastSummary() = default;
40 AWS_FORECASTSERVICE_API WhatIfForecastSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API WhatIfForecastSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetWhatIfForecastArn() const { return m_whatIfForecastArn; }
50 inline bool WhatIfForecastArnHasBeenSet() const { return m_whatIfForecastArnHasBeenSet; }
51 template<typename WhatIfForecastArnT = Aws::String>
52 void SetWhatIfForecastArn(WhatIfForecastArnT&& value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn = std::forward<WhatIfForecastArnT>(value); }
53 template<typename WhatIfForecastArnT = Aws::String>
54 WhatIfForecastSummary& WithWhatIfForecastArn(WhatIfForecastArnT&& value) { SetWhatIfForecastArn(std::forward<WhatIfForecastArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetWhatIfForecastName() const { return m_whatIfForecastName; }
62 inline bool WhatIfForecastNameHasBeenSet() const { return m_whatIfForecastNameHasBeenSet; }
63 template<typename WhatIfForecastNameT = Aws::String>
64 void SetWhatIfForecastName(WhatIfForecastNameT&& value) { m_whatIfForecastNameHasBeenSet = true; m_whatIfForecastName = std::forward<WhatIfForecastNameT>(value); }
65 template<typename WhatIfForecastNameT = Aws::String>
66 WhatIfForecastSummary& WithWhatIfForecastName(WhatIfForecastNameT&& value) { SetWhatIfForecastName(std::forward<WhatIfForecastNameT>(value)); return *this;}
68
70
74 inline const Aws::String& GetWhatIfAnalysisArn() const { return m_whatIfAnalysisArn; }
75 inline bool WhatIfAnalysisArnHasBeenSet() const { return m_whatIfAnalysisArnHasBeenSet; }
76 template<typename WhatIfAnalysisArnT = Aws::String>
77 void SetWhatIfAnalysisArn(WhatIfAnalysisArnT&& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = std::forward<WhatIfAnalysisArnT>(value); }
78 template<typename WhatIfAnalysisArnT = Aws::String>
79 WhatIfForecastSummary& WithWhatIfAnalysisArn(WhatIfAnalysisArnT&& value) { SetWhatIfAnalysisArn(std::forward<WhatIfAnalysisArnT>(value)); return *this;}
81
83
93 inline const Aws::String& GetStatus() const { return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 template<typename StatusT = Aws::String>
96 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
97 template<typename StatusT = Aws::String>
98 WhatIfForecastSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
100
102
105 inline const Aws::String& GetMessage() const { return m_message; }
106 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
107 template<typename MessageT = Aws::String>
108 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
109 template<typename MessageT = Aws::String>
110 WhatIfForecastSummary& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
118 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
119 template<typename CreationTimeT = Aws::Utils::DateTime>
120 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
121 template<typename CreationTimeT = Aws::Utils::DateTime>
122 WhatIfForecastSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
124
126
135 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
136 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
137 template<typename LastModificationTimeT = Aws::Utils::DateTime>
138 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
139 template<typename LastModificationTimeT = Aws::Utils::DateTime>
140 WhatIfForecastSummary& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
142 private:
143
144 Aws::String m_whatIfForecastArn;
145 bool m_whatIfForecastArnHasBeenSet = false;
146
147 Aws::String m_whatIfForecastName;
148 bool m_whatIfForecastNameHasBeenSet = false;
149
150 Aws::String m_whatIfAnalysisArn;
151 bool m_whatIfAnalysisArnHasBeenSet = false;
152
153 Aws::String m_status;
154 bool m_statusHasBeenSet = false;
155
156 Aws::String m_message;
157 bool m_messageHasBeenSet = false;
158
159 Aws::Utils::DateTime m_creationTime{};
160 bool m_creationTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_lastModificationTime{};
163 bool m_lastModificationTimeHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace ForecastService
168} // namespace Aws
void SetLastModificationTime(LastModificationTimeT &&value)
AWS_FORECASTSERVICE_API WhatIfForecastSummary()=default
WhatIfForecastSummary & WithWhatIfForecastArn(WhatIfForecastArnT &&value)
WhatIfForecastSummary & WithLastModificationTime(LastModificationTimeT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWhatIfForecastName(WhatIfForecastNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
WhatIfForecastSummary & WithMessage(MessageT &&value)
AWS_FORECASTSERVICE_API WhatIfForecastSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API WhatIfForecastSummary(Aws::Utils::Json::JsonView jsonValue)
WhatIfForecastSummary & WithWhatIfAnalysisArn(WhatIfAnalysisArnT &&value)
WhatIfForecastSummary & WithWhatIfForecastName(WhatIfForecastNameT &&value)
WhatIfForecastSummary & WithStatus(StatusT &&value)
WhatIfForecastSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue