AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/m2/model/ApplicationDeploymentLifecycle.h>
11#include <aws/m2/model/EngineType.h>
12#include <aws/m2/model/ApplicationLifecycle.h>
13#include <aws/m2/model/ApplicationVersionLifecycle.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MainframeModernization
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_MAINFRAMEMODERNIZATION_API ApplicationSummary();
41 AWS_MAINFRAMEMODERNIZATION_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MAINFRAMEMODERNIZATION_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
51 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
52 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
53 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
54 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
55 inline ApplicationSummary& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
56 inline ApplicationSummary& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
57 inline ApplicationSummary& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
59
61
64 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
65 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
66 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
67 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
68 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
69 inline ApplicationSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 inline ApplicationSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
71 inline ApplicationSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
73
75
78 inline int GetApplicationVersion() const{ return m_applicationVersion; }
79 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
80 inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
81 inline ApplicationSummary& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
89 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
90 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
91 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
92 inline ApplicationSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
93 inline ApplicationSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
95
97
101 inline const ApplicationDeploymentLifecycle& GetDeploymentStatus() const{ return m_deploymentStatus; }
102 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
103 inline void SetDeploymentStatus(const ApplicationDeploymentLifecycle& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
104 inline void SetDeploymentStatus(ApplicationDeploymentLifecycle&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
108
110
113 inline const Aws::String& GetDescription() const{ return m_description; }
114 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
115 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
116 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
117 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
118 inline ApplicationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
119 inline ApplicationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
120 inline ApplicationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
122
124
127 inline const EngineType& GetEngineType() const{ return m_engineType; }
128 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
129 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
130 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
131 inline ApplicationSummary& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
132 inline ApplicationSummary& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
134
136
140 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
141 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
142 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
143 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
144 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
145 inline ApplicationSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
146 inline ApplicationSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
147 inline ApplicationSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
149
151
155 inline const Aws::Utils::DateTime& GetLastStartTime() const{ return m_lastStartTime; }
156 inline bool LastStartTimeHasBeenSet() const { return m_lastStartTimeHasBeenSet; }
157 inline void SetLastStartTime(const Aws::Utils::DateTime& value) { m_lastStartTimeHasBeenSet = true; m_lastStartTime = value; }
158 inline void SetLastStartTime(Aws::Utils::DateTime&& value) { m_lastStartTimeHasBeenSet = true; m_lastStartTime = std::move(value); }
159 inline ApplicationSummary& WithLastStartTime(const Aws::Utils::DateTime& value) { SetLastStartTime(value); return *this;}
160 inline ApplicationSummary& WithLastStartTime(Aws::Utils::DateTime&& value) { SetLastStartTime(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetName() const{ return m_name; }
168 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
169 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
170 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
171 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
172 inline ApplicationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
173 inline ApplicationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
174 inline ApplicationSummary& WithName(const char* value) { SetName(value); return *this;}
176
178
182 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
183 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
184 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
185 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
186 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
187 inline ApplicationSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
188 inline ApplicationSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
189 inline ApplicationSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
191
193
196 inline const ApplicationLifecycle& GetStatus() const{ return m_status; }
197 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
198 inline void SetStatus(const ApplicationLifecycle& value) { m_statusHasBeenSet = true; m_status = value; }
199 inline void SetStatus(ApplicationLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
200 inline ApplicationSummary& WithStatus(const ApplicationLifecycle& value) { SetStatus(value); return *this;}
201 inline ApplicationSummary& WithStatus(ApplicationLifecycle&& value) { SetStatus(std::move(value)); return *this;}
203
205
208 inline const ApplicationVersionLifecycle& GetVersionStatus() const{ return m_versionStatus; }
209 inline bool VersionStatusHasBeenSet() const { return m_versionStatusHasBeenSet; }
210 inline void SetVersionStatus(const ApplicationVersionLifecycle& value) { m_versionStatusHasBeenSet = true; m_versionStatus = value; }
211 inline void SetVersionStatus(ApplicationVersionLifecycle&& value) { m_versionStatusHasBeenSet = true; m_versionStatus = std::move(value); }
213 inline ApplicationSummary& WithVersionStatus(ApplicationVersionLifecycle&& value) { SetVersionStatus(std::move(value)); return *this;}
215 private:
216
217 Aws::String m_applicationArn;
218 bool m_applicationArnHasBeenSet = false;
219
220 Aws::String m_applicationId;
221 bool m_applicationIdHasBeenSet = false;
222
223 int m_applicationVersion;
224 bool m_applicationVersionHasBeenSet = false;
225
226 Aws::Utils::DateTime m_creationTime;
227 bool m_creationTimeHasBeenSet = false;
228
229 ApplicationDeploymentLifecycle m_deploymentStatus;
230 bool m_deploymentStatusHasBeenSet = false;
231
232 Aws::String m_description;
233 bool m_descriptionHasBeenSet = false;
234
235 EngineType m_engineType;
236 bool m_engineTypeHasBeenSet = false;
237
238 Aws::String m_environmentId;
239 bool m_environmentIdHasBeenSet = false;
240
241 Aws::Utils::DateTime m_lastStartTime;
242 bool m_lastStartTimeHasBeenSet = false;
243
244 Aws::String m_name;
245 bool m_nameHasBeenSet = false;
246
247 Aws::String m_roleArn;
248 bool m_roleArnHasBeenSet = false;
249
250 ApplicationLifecycle m_status;
251 bool m_statusHasBeenSet = false;
252
253 ApplicationVersionLifecycle m_versionStatus;
254 bool m_versionStatusHasBeenSet = false;
255 };
256
257} // namespace Model
258} // namespace MainframeModernization
259} // namespace Aws
void SetLastStartTime(const Aws::Utils::DateTime &value)
void SetStatus(const ApplicationLifecycle &value)
ApplicationSummary & WithApplicationId(const Aws::String &value)
const ApplicationDeploymentLifecycle & GetDeploymentStatus() const
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSummary & WithApplicationId(Aws::String &&value)
ApplicationSummary & WithDescription(const char *value)
AWS_MAINFRAMEMODERNIZATION_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithRoleArn(const char *value)
ApplicationSummary & WithDeploymentStatus(ApplicationDeploymentLifecycle &&value)
ApplicationSummary & WithRoleArn(Aws::String &&value)
ApplicationSummary & WithDeploymentStatus(const ApplicationDeploymentLifecycle &value)
void SetDeploymentStatus(ApplicationDeploymentLifecycle &&value)
ApplicationSummary & WithVersionStatus(ApplicationVersionLifecycle &&value)
ApplicationSummary & WithApplicationArn(const Aws::String &value)
ApplicationSummary & WithApplicationId(const char *value)
ApplicationSummary & WithLastStartTime(const Aws::Utils::DateTime &value)
ApplicationSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ApplicationSummary & WithEngineType(EngineType &&value)
AWS_MAINFRAMEMODERNIZATION_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithEnvironmentId(const Aws::String &value)
ApplicationSummary & WithEnvironmentId(Aws::String &&value)
ApplicationSummary & WithVersionStatus(const ApplicationVersionLifecycle &value)
ApplicationSummary & WithName(const char *value)
ApplicationSummary & WithApplicationArn(Aws::String &&value)
ApplicationSummary & WithApplicationArn(const char *value)
void SetDeploymentStatus(const ApplicationDeploymentLifecycle &value)
ApplicationSummary & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ApplicationSummary & WithName(Aws::String &&value)
ApplicationSummary & WithDescription(const Aws::String &value)
void SetVersionStatus(ApplicationVersionLifecycle &&value)
ApplicationSummary & WithStatus(ApplicationLifecycle &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ApplicationSummary & WithEngineType(const EngineType &value)
AWS_MAINFRAMEMODERNIZATION_API ApplicationSummary()
const Aws::Utils::DateTime & GetLastStartTime() const
ApplicationSummary & WithStatus(const ApplicationLifecycle &value)
ApplicationSummary & WithRoleArn(const Aws::String &value)
ApplicationSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const ApplicationVersionLifecycle & GetVersionStatus() const
ApplicationSummary & WithName(const Aws::String &value)
ApplicationSummary & WithEnvironmentId(const char *value)
void SetVersionStatus(const ApplicationVersionLifecycle &value)
ApplicationSummary & WithLastStartTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue