AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentSummary.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Proton
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_PROTON_API ComponentSummary() = default;
42 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 ComponentSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
62 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 ComponentSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
73 inline DeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
74 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
75 inline void SetDeploymentStatus(DeploymentStatus value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
78
80
83 inline const Aws::String& GetDeploymentStatusMessage() const { return m_deploymentStatusMessage; }
84 inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; }
85 template<typename DeploymentStatusMessageT = Aws::String>
86 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value); }
87 template<typename DeploymentStatusMessageT = Aws::String>
88 ComponentSummary& WithDeploymentStatusMessage(DeploymentStatusMessageT&& value) { SetDeploymentStatusMessage(std::forward<DeploymentStatusMessageT>(value)); return *this;}
90
92
96 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
97 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
98 template<typename EnvironmentNameT = Aws::String>
99 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
100 template<typename EnvironmentNameT = Aws::String>
101 ComponentSummary& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
103
105
108 inline const Aws::String& GetLastAttemptedDeploymentId() const { return m_lastAttemptedDeploymentId; }
109 inline bool LastAttemptedDeploymentIdHasBeenSet() const { return m_lastAttemptedDeploymentIdHasBeenSet; }
110 template<typename LastAttemptedDeploymentIdT = Aws::String>
111 void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT&& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value); }
112 template<typename LastAttemptedDeploymentIdT = Aws::String>
113 ComponentSummary& WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT&& value) { SetLastAttemptedDeploymentId(std::forward<LastAttemptedDeploymentIdT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetLastDeploymentAttemptedAt() const { return m_lastDeploymentAttemptedAt; }
121 inline bool LastDeploymentAttemptedAtHasBeenSet() const { return m_lastDeploymentAttemptedAtHasBeenSet; }
122 template<typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
123 void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT&& value) { m_lastDeploymentAttemptedAtHasBeenSet = true; m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value); }
124 template<typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
125 ComponentSummary& WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT&& value) { SetLastDeploymentAttemptedAt(std::forward<LastDeploymentAttemptedAtT>(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetLastDeploymentSucceededAt() const { return m_lastDeploymentSucceededAt; }
133 inline bool LastDeploymentSucceededAtHasBeenSet() const { return m_lastDeploymentSucceededAtHasBeenSet; }
134 template<typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
135 void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT&& value) { m_lastDeploymentSucceededAtHasBeenSet = true; m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value); }
136 template<typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
137 ComponentSummary& WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT&& value) { SetLastDeploymentSucceededAt(std::forward<LastDeploymentSucceededAtT>(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
145 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
146 template<typename LastModifiedAtT = Aws::Utils::DateTime>
147 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
148 template<typename LastModifiedAtT = Aws::Utils::DateTime>
149 ComponentSummary& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
151
153
156 inline const Aws::String& GetLastSucceededDeploymentId() const { return m_lastSucceededDeploymentId; }
157 inline bool LastSucceededDeploymentIdHasBeenSet() const { return m_lastSucceededDeploymentIdHasBeenSet; }
158 template<typename LastSucceededDeploymentIdT = Aws::String>
159 void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT&& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value); }
160 template<typename LastSucceededDeploymentIdT = Aws::String>
161 ComponentSummary& WithLastSucceededDeploymentId(LastSucceededDeploymentIdT&& value) { SetLastSucceededDeploymentId(std::forward<LastSucceededDeploymentIdT>(value)); return *this;}
163
165
168 inline const Aws::String& GetName() const { return m_name; }
169 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
170 template<typename NameT = Aws::String>
171 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
172 template<typename NameT = Aws::String>
173 ComponentSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
175
177
181 inline const Aws::String& GetServiceInstanceName() const { return m_serviceInstanceName; }
182 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
183 template<typename ServiceInstanceNameT = Aws::String>
184 void SetServiceInstanceName(ServiceInstanceNameT&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value); }
185 template<typename ServiceInstanceNameT = Aws::String>
186 ComponentSummary& WithServiceInstanceName(ServiceInstanceNameT&& value) { SetServiceInstanceName(std::forward<ServiceInstanceNameT>(value)); return *this;}
188
190
194 inline const Aws::String& GetServiceName() const { return m_serviceName; }
195 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
196 template<typename ServiceNameT = Aws::String>
197 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
198 template<typename ServiceNameT = Aws::String>
199 ComponentSummary& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
201 private:
202
203 Aws::String m_arn;
204 bool m_arnHasBeenSet = false;
205
206 Aws::Utils::DateTime m_createdAt{};
207 bool m_createdAtHasBeenSet = false;
208
210 bool m_deploymentStatusHasBeenSet = false;
211
212 Aws::String m_deploymentStatusMessage;
213 bool m_deploymentStatusMessageHasBeenSet = false;
214
215 Aws::String m_environmentName;
216 bool m_environmentNameHasBeenSet = false;
217
218 Aws::String m_lastAttemptedDeploymentId;
219 bool m_lastAttemptedDeploymentIdHasBeenSet = false;
220
221 Aws::Utils::DateTime m_lastDeploymentAttemptedAt{};
222 bool m_lastDeploymentAttemptedAtHasBeenSet = false;
223
224 Aws::Utils::DateTime m_lastDeploymentSucceededAt{};
225 bool m_lastDeploymentSucceededAtHasBeenSet = false;
226
227 Aws::Utils::DateTime m_lastModifiedAt{};
228 bool m_lastModifiedAtHasBeenSet = false;
229
230 Aws::String m_lastSucceededDeploymentId;
231 bool m_lastSucceededDeploymentIdHasBeenSet = false;
232
233 Aws::String m_name;
234 bool m_nameHasBeenSet = false;
235
236 Aws::String m_serviceInstanceName;
237 bool m_serviceInstanceNameHasBeenSet = false;
238
239 Aws::String m_serviceName;
240 bool m_serviceNameHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace Proton
245} // namespace Aws
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
const Aws::String & GetEnvironmentName() const
const Aws::String & GetName() const
const Aws::String & GetServiceInstanceName() const
AWS_PROTON_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
ComponentSummary & WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
ComponentSummary & WithEnvironmentName(EnvironmentNameT &&value)
ComponentSummary & WithLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
ComponentSummary & WithLastModifiedAt(LastModifiedAtT &&value)
ComponentSummary & WithName(NameT &&value)
void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
const Aws::String & GetServiceName() const
ComponentSummary & WithServiceName(ServiceNameT &&value)
ComponentSummary & WithCreatedAt(CreatedAtT &&value)
void SetServiceName(ServiceNameT &&value)
void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
AWS_PROTON_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
void SetDeploymentStatus(DeploymentStatus value)
ComponentSummary & WithDeploymentStatus(DeploymentStatus value)
const Aws::String & GetLastSucceededDeploymentId() const
const Aws::String & GetArn() const
const Aws::String & GetDeploymentStatusMessage() const
ComponentSummary & WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentSummary & WithArn(ArnT &&value)
void SetServiceInstanceName(ServiceInstanceNameT &&value)
ComponentSummary & WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
ComponentSummary & WithServiceInstanceName(ServiceInstanceNameT &&value)
AWS_PROTON_API ComponentSummary()=default
const Aws::String & GetLastAttemptedDeploymentId() const
DeploymentStatus GetDeploymentStatus() const
ComponentSummary & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue