AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWhatIfForecastArn(const Aws::String& value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn = value; }
52 inline void SetWhatIfForecastArn(Aws::String&& value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn = std::move(value); }
53 inline void SetWhatIfForecastArn(const char* value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn.assign(value); }
54 inline WhatIfForecastSummary& WithWhatIfForecastArn(const Aws::String& value) { SetWhatIfForecastArn(value); return *this;}
55 inline WhatIfForecastSummary& WithWhatIfForecastArn(Aws::String&& value) { SetWhatIfForecastArn(std::move(value)); return *this;}
56 inline WhatIfForecastSummary& WithWhatIfForecastArn(const char* value) { SetWhatIfForecastArn(value); return *this;}
58
60
63 inline const Aws::String& GetWhatIfForecastName() const{ return m_whatIfForecastName; }
64 inline bool WhatIfForecastNameHasBeenSet() const { return m_whatIfForecastNameHasBeenSet; }
65 inline void SetWhatIfForecastName(const Aws::String& value) { m_whatIfForecastNameHasBeenSet = true; m_whatIfForecastName = value; }
66 inline void SetWhatIfForecastName(Aws::String&& value) { m_whatIfForecastNameHasBeenSet = true; m_whatIfForecastName = std::move(value); }
67 inline void SetWhatIfForecastName(const char* value) { m_whatIfForecastNameHasBeenSet = true; m_whatIfForecastName.assign(value); }
69 inline WhatIfForecastSummary& WithWhatIfForecastName(Aws::String&& value) { SetWhatIfForecastName(std::move(value)); return *this;}
70 inline WhatIfForecastSummary& WithWhatIfForecastName(const char* value) { SetWhatIfForecastName(value); return *this;}
72
74
78 inline const Aws::String& GetWhatIfAnalysisArn() const{ return m_whatIfAnalysisArn; }
79 inline bool WhatIfAnalysisArnHasBeenSet() const { return m_whatIfAnalysisArnHasBeenSet; }
80 inline void SetWhatIfAnalysisArn(const Aws::String& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = value; }
81 inline void SetWhatIfAnalysisArn(Aws::String&& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = std::move(value); }
82 inline void SetWhatIfAnalysisArn(const char* value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn.assign(value); }
83 inline WhatIfForecastSummary& WithWhatIfAnalysisArn(const Aws::String& value) { SetWhatIfAnalysisArn(value); return *this;}
84 inline WhatIfForecastSummary& WithWhatIfAnalysisArn(Aws::String&& value) { SetWhatIfAnalysisArn(std::move(value)); return *this;}
85 inline WhatIfForecastSummary& WithWhatIfAnalysisArn(const char* value) { SetWhatIfAnalysisArn(value); return *this;}
87
89
99 inline const Aws::String& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
104 inline WhatIfForecastSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
105 inline WhatIfForecastSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
106 inline WhatIfForecastSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
108
110
113 inline const Aws::String& GetMessage() const{ return m_message; }
114 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
115 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
116 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
117 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
118 inline WhatIfForecastSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
119 inline WhatIfForecastSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
120 inline WhatIfForecastSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
128 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
129 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
130 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
131 inline WhatIfForecastSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
132 inline WhatIfForecastSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
134
136
145 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
146 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
147 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
148 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
152 private:
153
154 Aws::String m_whatIfForecastArn;
155 bool m_whatIfForecastArnHasBeenSet = false;
156
157 Aws::String m_whatIfForecastName;
158 bool m_whatIfForecastNameHasBeenSet = false;
159
160 Aws::String m_whatIfAnalysisArn;
161 bool m_whatIfAnalysisArnHasBeenSet = false;
162
163 Aws::String m_status;
164 bool m_statusHasBeenSet = false;
165
166 Aws::String m_message;
167 bool m_messageHasBeenSet = false;
168
169 Aws::Utils::DateTime m_creationTime;
170 bool m_creationTimeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastModificationTime;
173 bool m_lastModificationTimeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace ForecastService
178} // namespace Aws
WhatIfForecastSummary & WithWhatIfForecastName(const Aws::String &value)
WhatIfForecastSummary & WithWhatIfForecastArn(const char *value)
WhatIfForecastSummary & WithStatus(Aws::String &&value)
WhatIfForecastSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
WhatIfForecastSummary & WithStatus(const char *value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
WhatIfForecastSummary & WithWhatIfForecastName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
WhatIfForecastSummary & WithCreationTime(Aws::Utils::DateTime &&value)
WhatIfForecastSummary & WithWhatIfForecastArn(Aws::String &&value)
AWS_FORECASTSERVICE_API WhatIfForecastSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API WhatIfForecastSummary(Aws::Utils::Json::JsonView jsonValue)
WhatIfForecastSummary & WithCreationTime(const Aws::Utils::DateTime &value)
WhatIfForecastSummary & WithWhatIfForecastName(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
WhatIfForecastSummary & WithStatus(const Aws::String &value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
WhatIfForecastSummary & WithWhatIfForecastArn(const Aws::String &value)
WhatIfForecastSummary & WithWhatIfAnalysisArn(const char *value)
WhatIfForecastSummary & WithWhatIfAnalysisArn(Aws::String &&value)
WhatIfForecastSummary & WithMessage(const char *value)
WhatIfForecastSummary & WithMessage(const Aws::String &value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
WhatIfForecastSummary & WithWhatIfAnalysisArn(const Aws::String &value)
WhatIfForecastSummary & WithMessage(Aws::String &&value)
WhatIfForecastSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue