AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WhatIfAnalysisSummary.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 WhatIfAnalysisSummary();
40 AWS_FORECASTSERVICE_API WhatIfAnalysisSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API WhatIfAnalysisSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetWhatIfAnalysisArn() const{ return m_whatIfAnalysisArn; }
50 inline bool WhatIfAnalysisArnHasBeenSet() const { return m_whatIfAnalysisArnHasBeenSet; }
51 inline void SetWhatIfAnalysisArn(const Aws::String& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = value; }
52 inline void SetWhatIfAnalysisArn(Aws::String&& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = std::move(value); }
53 inline void SetWhatIfAnalysisArn(const char* value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn.assign(value); }
54 inline WhatIfAnalysisSummary& WithWhatIfAnalysisArn(const Aws::String& value) { SetWhatIfAnalysisArn(value); return *this;}
55 inline WhatIfAnalysisSummary& WithWhatIfAnalysisArn(Aws::String&& value) { SetWhatIfAnalysisArn(std::move(value)); return *this;}
56 inline WhatIfAnalysisSummary& WithWhatIfAnalysisArn(const char* value) { SetWhatIfAnalysisArn(value); return *this;}
58
60
63 inline const Aws::String& GetWhatIfAnalysisName() const{ return m_whatIfAnalysisName; }
64 inline bool WhatIfAnalysisNameHasBeenSet() const { return m_whatIfAnalysisNameHasBeenSet; }
65 inline void SetWhatIfAnalysisName(const Aws::String& value) { m_whatIfAnalysisNameHasBeenSet = true; m_whatIfAnalysisName = value; }
66 inline void SetWhatIfAnalysisName(Aws::String&& value) { m_whatIfAnalysisNameHasBeenSet = true; m_whatIfAnalysisName = std::move(value); }
67 inline void SetWhatIfAnalysisName(const char* value) { m_whatIfAnalysisNameHasBeenSet = true; m_whatIfAnalysisName.assign(value); }
69 inline WhatIfAnalysisSummary& WithWhatIfAnalysisName(Aws::String&& value) { SetWhatIfAnalysisName(std::move(value)); return *this;}
70 inline WhatIfAnalysisSummary& WithWhatIfAnalysisName(const char* value) { SetWhatIfAnalysisName(value); return *this;}
72
74
78 inline const Aws::String& GetForecastArn() const{ return m_forecastArn; }
79 inline bool ForecastArnHasBeenSet() const { return m_forecastArnHasBeenSet; }
80 inline void SetForecastArn(const Aws::String& value) { m_forecastArnHasBeenSet = true; m_forecastArn = value; }
81 inline void SetForecastArn(Aws::String&& value) { m_forecastArnHasBeenSet = true; m_forecastArn = std::move(value); }
82 inline void SetForecastArn(const char* value) { m_forecastArnHasBeenSet = true; m_forecastArn.assign(value); }
83 inline WhatIfAnalysisSummary& WithForecastArn(const Aws::String& value) { SetForecastArn(value); return *this;}
84 inline WhatIfAnalysisSummary& WithForecastArn(Aws::String&& value) { SetForecastArn(std::move(value)); return *this;}
85 inline WhatIfAnalysisSummary& WithForecastArn(const char* value) { SetForecastArn(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 WhatIfAnalysisSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
105 inline WhatIfAnalysisSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
106 inline WhatIfAnalysisSummary& 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 WhatIfAnalysisSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
119 inline WhatIfAnalysisSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
120 inline WhatIfAnalysisSummary& 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 WhatIfAnalysisSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
132 inline WhatIfAnalysisSummary& 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_whatIfAnalysisArn;
155 bool m_whatIfAnalysisArnHasBeenSet = false;
156
157 Aws::String m_whatIfAnalysisName;
158 bool m_whatIfAnalysisNameHasBeenSet = false;
159
160 Aws::String m_forecastArn;
161 bool m_forecastArnHasBeenSet = 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
WhatIfAnalysisSummary & WithStatus(Aws::String &&value)
AWS_FORECASTSERVICE_API WhatIfAnalysisSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModificationTime(const Aws::Utils::DateTime &value)
WhatIfAnalysisSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
WhatIfAnalysisSummary & WithForecastArn(const Aws::String &value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
WhatIfAnalysisSummary & WithMessage(const Aws::String &value)
WhatIfAnalysisSummary & WithForecastArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
WhatIfAnalysisSummary & WithWhatIfAnalysisName(const char *value)
WhatIfAnalysisSummary & WithMessage(Aws::String &&value)
WhatIfAnalysisSummary & WithCreationTime(Aws::Utils::DateTime &&value)
WhatIfAnalysisSummary & WithStatus(const char *value)
AWS_FORECASTSERVICE_API WhatIfAnalysisSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WhatIfAnalysisSummary & WithStatus(const Aws::String &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
WhatIfAnalysisSummary & WithForecastArn(Aws::String &&value)
WhatIfAnalysisSummary & WithWhatIfAnalysisArn(const char *value)
WhatIfAnalysisSummary & WithCreationTime(const Aws::Utils::DateTime &value)
WhatIfAnalysisSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
WhatIfAnalysisSummary & WithMessage(const char *value)
WhatIfAnalysisSummary & WithWhatIfAnalysisArn(const Aws::String &value)
WhatIfAnalysisSummary & WithWhatIfAnalysisName(const Aws::String &value)
WhatIfAnalysisSummary & WithWhatIfAnalysisArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
WhatIfAnalysisSummary & WithWhatIfAnalysisName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue