AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentSummary.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/DeploymentStatus.h>
11#include <aws/proton/model/DeploymentTargetResourceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Proton
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_PROTON_API DeploymentSummary();
40 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline DeploymentSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline DeploymentSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline DeploymentSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCompletedAt() const{ return m_completedAt; }
62 inline bool CompletedAtHasBeenSet() const { return m_completedAtHasBeenSet; }
63 inline void SetCompletedAt(const Aws::Utils::DateTime& value) { m_completedAtHasBeenSet = true; m_completedAt = value; }
64 inline void SetCompletedAt(Aws::Utils::DateTime&& value) { m_completedAtHasBeenSet = true; m_completedAt = std::move(value); }
65 inline DeploymentSummary& WithCompletedAt(const Aws::Utils::DateTime& value) { SetCompletedAt(value); return *this;}
66 inline DeploymentSummary& WithCompletedAt(Aws::Utils::DateTime&& value) { SetCompletedAt(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetComponentName() const{ return m_componentName; }
74 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
75 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
76 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
77 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
78 inline DeploymentSummary& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
79 inline DeploymentSummary& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
80 inline DeploymentSummary& WithComponentName(const char* value) { SetComponentName(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
88 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
89 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
90 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
91 inline DeploymentSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
92 inline DeploymentSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
94
96
99 inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
100 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
101 inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
102 inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
103 inline DeploymentSummary& WithDeploymentStatus(const DeploymentStatus& value) { SetDeploymentStatus(value); return *this;}
104 inline DeploymentSummary& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
112 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
113 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
114 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
115 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
116 inline DeploymentSummary& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
117 inline DeploymentSummary& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
118 inline DeploymentSummary& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
120
122
125 inline const Aws::String& GetId() const{ return m_id; }
126 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
127 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
128 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
129 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
130 inline DeploymentSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
131 inline DeploymentSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
132 inline DeploymentSummary& WithId(const char* value) { SetId(value); return *this;}
134
136
139 inline const Aws::String& GetLastAttemptedDeploymentId() const{ return m_lastAttemptedDeploymentId; }
140 inline bool LastAttemptedDeploymentIdHasBeenSet() const { return m_lastAttemptedDeploymentIdHasBeenSet; }
141 inline void SetLastAttemptedDeploymentId(const Aws::String& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = value; }
142 inline void SetLastAttemptedDeploymentId(Aws::String&& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = std::move(value); }
143 inline void SetLastAttemptedDeploymentId(const char* value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId.assign(value); }
146 inline DeploymentSummary& WithLastAttemptedDeploymentId(const char* value) { SetLastAttemptedDeploymentId(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
154 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
155 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
156 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
157 inline DeploymentSummary& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;}
158 inline DeploymentSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
160
162
165 inline const Aws::String& GetLastSucceededDeploymentId() const{ return m_lastSucceededDeploymentId; }
166 inline bool LastSucceededDeploymentIdHasBeenSet() const { return m_lastSucceededDeploymentIdHasBeenSet; }
167 inline void SetLastSucceededDeploymentId(const Aws::String& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = value; }
168 inline void SetLastSucceededDeploymentId(Aws::String&& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = std::move(value); }
169 inline void SetLastSucceededDeploymentId(const char* value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId.assign(value); }
172 inline DeploymentSummary& WithLastSucceededDeploymentId(const char* value) { SetLastSucceededDeploymentId(value); return *this;}
174
176
179 inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; }
180 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
181 inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; }
182 inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); }
183 inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); }
185 inline DeploymentSummary& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;}
186 inline DeploymentSummary& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;}
188
190
193 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
194 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
195 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
196 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
197 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
198 inline DeploymentSummary& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
199 inline DeploymentSummary& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
200 inline DeploymentSummary& WithServiceName(const char* value) { SetServiceName(value); return *this;}
202
204
207 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
208 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
209 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
210 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
211 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
212 inline DeploymentSummary& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
213 inline DeploymentSummary& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
214 inline DeploymentSummary& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
216
218
221 inline const Aws::Utils::DateTime& GetTargetResourceCreatedAt() const{ return m_targetResourceCreatedAt; }
222 inline bool TargetResourceCreatedAtHasBeenSet() const { return m_targetResourceCreatedAtHasBeenSet; }
223 inline void SetTargetResourceCreatedAt(const Aws::Utils::DateTime& value) { m_targetResourceCreatedAtHasBeenSet = true; m_targetResourceCreatedAt = value; }
224 inline void SetTargetResourceCreatedAt(Aws::Utils::DateTime&& value) { m_targetResourceCreatedAtHasBeenSet = true; m_targetResourceCreatedAt = std::move(value); }
228
230
234 inline const DeploymentTargetResourceType& GetTargetResourceType() const{ return m_targetResourceType; }
235 inline bool TargetResourceTypeHasBeenSet() const { return m_targetResourceTypeHasBeenSet; }
236 inline void SetTargetResourceType(const DeploymentTargetResourceType& value) { m_targetResourceTypeHasBeenSet = true; m_targetResourceType = value; }
237 inline void SetTargetResourceType(DeploymentTargetResourceType&& value) { m_targetResourceTypeHasBeenSet = true; m_targetResourceType = std::move(value); }
241 private:
242
243 Aws::String m_arn;
244 bool m_arnHasBeenSet = false;
245
246 Aws::Utils::DateTime m_completedAt;
247 bool m_completedAtHasBeenSet = false;
248
249 Aws::String m_componentName;
250 bool m_componentNameHasBeenSet = false;
251
252 Aws::Utils::DateTime m_createdAt;
253 bool m_createdAtHasBeenSet = false;
254
255 DeploymentStatus m_deploymentStatus;
256 bool m_deploymentStatusHasBeenSet = false;
257
258 Aws::String m_environmentName;
259 bool m_environmentNameHasBeenSet = false;
260
261 Aws::String m_id;
262 bool m_idHasBeenSet = false;
263
264 Aws::String m_lastAttemptedDeploymentId;
265 bool m_lastAttemptedDeploymentIdHasBeenSet = false;
266
267 Aws::Utils::DateTime m_lastModifiedAt;
268 bool m_lastModifiedAtHasBeenSet = false;
269
270 Aws::String m_lastSucceededDeploymentId;
271 bool m_lastSucceededDeploymentIdHasBeenSet = false;
272
273 Aws::String m_serviceInstanceName;
274 bool m_serviceInstanceNameHasBeenSet = false;
275
276 Aws::String m_serviceName;
277 bool m_serviceNameHasBeenSet = false;
278
279 Aws::String m_targetArn;
280 bool m_targetArnHasBeenSet = false;
281
282 Aws::Utils::DateTime m_targetResourceCreatedAt;
283 bool m_targetResourceCreatedAtHasBeenSet = false;
284
285 DeploymentTargetResourceType m_targetResourceType;
286 bool m_targetResourceTypeHasBeenSet = false;
287 };
288
289} // namespace Model
290} // namespace Proton
291} // namespace Aws
DeploymentSummary & WithId(Aws::String &&value)
DeploymentSummary & WithId(const Aws::String &value)
DeploymentSummary & WithId(const char *value)
DeploymentSummary & WithTargetArn(Aws::String &&value)
const Aws::String & GetTargetArn() const
DeploymentSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
DeploymentSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCompletedAt(const Aws::Utils::DateTime &value)
DeploymentSummary & WithLastSucceededDeploymentId(const char *value)
void SetComponentName(Aws::String &&value)
DeploymentSummary & WithArn(const Aws::String &value)
void SetLastAttemptedDeploymentId(const Aws::String &value)
const Aws::String & GetLastAttemptedDeploymentId() const
void SetEnvironmentName(const Aws::String &value)
DeploymentSummary & WithEnvironmentName(const char *value)
DeploymentSummary & WithDeploymentStatus(const DeploymentStatus &value)
DeploymentSummary & WithTargetResourceType(const DeploymentTargetResourceType &value)
void SetArn(const Aws::String &value)
const Aws::String & GetLastSucceededDeploymentId() const
void SetComponentName(const Aws::String &value)
DeploymentSummary & WithLastSucceededDeploymentId(const Aws::String &value)
DeploymentSummary & WithServiceName(Aws::String &&value)
DeploymentSummary & WithComponentName(Aws::String &&value)
const DeploymentTargetResourceType & GetTargetResourceType() const
const Aws::String & GetEnvironmentName() const
DeploymentSummary & WithTargetResourceCreatedAt(Aws::Utils::DateTime &&value)
DeploymentSummary & WithServiceName(const Aws::String &value)
DeploymentSummary & WithLastAttemptedDeploymentId(const Aws::String &value)
void SetLastSucceededDeploymentId(Aws::String &&value)
const Aws::String & GetArn() const
DeploymentSummary & WithTargetResourceType(DeploymentTargetResourceType &&value)
void SetServiceName(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetCompletedAt(Aws::Utils::DateTime &&value)
const DeploymentStatus & GetDeploymentStatus() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
DeploymentSummary & WithServiceInstanceName(const Aws::String &value)
void SetTargetResourceCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTargetResourceCreatedAt() const
DeploymentSummary & WithLastAttemptedDeploymentId(const char *value)
void SetServiceInstanceName(const Aws::String &value)
DeploymentSummary & WithArn(const char *value)
DeploymentSummary & WithArn(Aws::String &&value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
DeploymentSummary & WithServiceName(const char *value)
const Aws::Utils::DateTime & GetCompletedAt() const
void SetId(const Aws::String &value)
DeploymentSummary & WithTargetArn(const Aws::String &value)
void SetEnvironmentName(Aws::String &&value)
void SetLastSucceededDeploymentId(const Aws::String &value)
void SetTargetResourceCreatedAt(const Aws::Utils::DateTime &value)
void SetTargetResourceType(DeploymentTargetResourceType &&value)
const Aws::String & GetServiceName() const
void SetTargetResourceType(const DeploymentTargetResourceType &value)
void SetLastSucceededDeploymentId(const char *value)
void SetLastAttemptedDeploymentId(Aws::String &&value)
AWS_PROTON_API DeploymentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentSummary & WithEnvironmentName(Aws::String &&value)
void SetServiceInstanceName(const char *value)
DeploymentSummary & WithCompletedAt(const Aws::Utils::DateTime &value)
DeploymentSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetServiceInstanceName(Aws::String &&value)
void SetDeploymentStatus(DeploymentStatus &&value)
DeploymentSummary & WithDeploymentStatus(DeploymentStatus &&value)
void SetTargetArn(const Aws::String &value)
void SetLastAttemptedDeploymentId(const char *value)
DeploymentSummary & WithEnvironmentName(const Aws::String &value)
const Aws::String & GetComponentName() const
DeploymentSummary & WithTargetArn(const char *value)
void SetServiceName(Aws::String &&value)
const Aws::String & GetServiceInstanceName() const
const Aws::Utils::DateTime & GetCreatedAt() const
DeploymentSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
DeploymentSummary & WithServiceInstanceName(Aws::String &&value)
DeploymentSummary & WithComponentName(const Aws::String &value)
void SetDeploymentStatus(const DeploymentStatus &value)
DeploymentSummary & WithLastAttemptedDeploymentId(Aws::String &&value)
DeploymentSummary & WithLastSucceededDeploymentId(Aws::String &&value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
DeploymentSummary & WithTargetResourceCreatedAt(const Aws::Utils::DateTime &value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentSummary & WithCompletedAt(Aws::Utils::DateTime &&value)
DeploymentSummary & WithServiceInstanceName(const char *value)
AWS_PROTON_API DeploymentSummary(Aws::Utils::Json::JsonView jsonValue)
DeploymentSummary & WithComponentName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue