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>
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>
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>
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>
97 template<
typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
99 template<
typename DescriptionT = Aws::String>
110 template<
typename EnvironmentNameT = Aws::String>
111 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
112 template<
typename EnvironmentNameT = Aws::String>
122 template<
typename LastAttemptedDeploymentIdT = Aws::String>
123 void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT&& value) { m_lastAttemptedDeploymentIdHasBeenSet =
true; m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value); }
124 template<
typename LastAttemptedDeploymentIdT = Aws::String>
134 template<
typename LastClientRequestTokenT = Aws::String>
135 void SetLastClientRequestToken(LastClientRequestTokenT&& value) { m_lastClientRequestTokenHasBeenSet =
true; m_lastClientRequestToken = std::forward<LastClientRequestTokenT>(value); }
136 template<
typename LastClientRequestTokenT = Aws::String>
146 template<
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
147 void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT&& value) { m_lastDeploymentAttemptedAtHasBeenSet =
true; m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value); }
148 template<
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
158 template<
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
159 void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT&& value) { m_lastDeploymentSucceededAtHasBeenSet =
true; m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value); }
160 template<
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
170 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
171 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
172 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
182 template<
typename LastSucceededDeploymentIdT = Aws::String>
183 void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT&& value) { m_lastSucceededDeploymentIdHasBeenSet =
true; m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value); }
184 template<
typename LastSucceededDeploymentIdT = Aws::String>
194 template<
typename NameT = Aws::String>
195 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
196 template<
typename NameT = Aws::String>
207 template<
typename ServiceInstanceNameT = Aws::String>
208 void SetServiceInstanceName(ServiceInstanceNameT&& value) { m_serviceInstanceNameHasBeenSet =
true; m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value); }
209 template<
typename ServiceInstanceNameT = Aws::String>
220 template<
typename ServiceNameT = Aws::String>
221 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
222 template<
typename ServiceNameT = Aws::String>
233 template<
typename ServiceSpecT = Aws::String>
234 void SetServiceSpec(ServiceSpecT&& value) { m_serviceSpecHasBeenSet =
true; m_serviceSpec = std::forward<ServiceSpecT>(value); }
235 template<
typename ServiceSpecT = Aws::String>
241 bool m_arnHasBeenSet =
false;
244 bool m_createdAtHasBeenSet =
false;
247 bool m_deploymentStatusHasBeenSet =
false;
250 bool m_deploymentStatusMessageHasBeenSet =
false;
253 bool m_descriptionHasBeenSet =
false;
256 bool m_environmentNameHasBeenSet =
false;
259 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
262 bool m_lastClientRequestTokenHasBeenSet =
false;
265 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
268 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
271 bool m_lastModifiedAtHasBeenSet =
false;
274 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
277 bool m_nameHasBeenSet =
false;
280 bool m_serviceInstanceNameHasBeenSet =
false;
283 bool m_serviceNameHasBeenSet =
false;
286 bool m_serviceSpecHasBeenSet =
false;
Component & WithArn(ArnT &&value)
Component & WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
bool NameHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetEnvironmentName() const
Component & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
bool LastSucceededDeploymentIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
Component & WithServiceName(ServiceNameT &&value)
bool DeploymentStatusHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetServiceInstanceName() const
void SetServiceName(ServiceNameT &&value)
const Aws::String & GetLastClientRequestToken() const
void SetDeploymentStatus(DeploymentStatus value)
Component & WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
AWS_PROTON_API Component()=default
Component & WithServiceSpec(ServiceSpecT &&value)
void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
bool ServiceInstanceNameHasBeenSet() const
Component & WithDescription(DescriptionT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
void SetServiceSpec(ServiceSpecT &&value)
bool LastAttemptedDeploymentIdHasBeenSet() const
void SetServiceInstanceName(ServiceInstanceNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
bool LastDeploymentAttemptedAtHasBeenSet() const
void SetEnvironmentName(EnvironmentNameT &&value)
Component & WithEnvironmentName(EnvironmentNameT &&value)
DeploymentStatus GetDeploymentStatus() const
const Aws::String & GetServiceName() const
Component & WithLastModifiedAt(LastModifiedAtT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetLastAttemptedDeploymentId() const
const Aws::String & GetDeploymentStatusMessage() const
Component & WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
const Aws::String & GetDescription() const
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServiceSpec() const
void SetName(NameT &&value)
Component & WithName(NameT &&value)
bool CreatedAtHasBeenSet() const
void SetDescription(DescriptionT &&value)
Component & WithDeploymentStatus(DeploymentStatus value)
void SetCreatedAt(CreatedAtT &&value)
bool EnvironmentNameHasBeenSet() const
const Aws::String & GetName() const
bool ServiceSpecHasBeenSet() const
bool ServiceNameHasBeenSet() const
void SetLastClientRequestToken(LastClientRequestTokenT &&value)
AWS_PROTON_API Component(Aws::Utils::Json::JsonView jsonValue)
Component & WithLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetLastSucceededDeploymentId() const
Component & WithCreatedAt(CreatedAtT &&value)
Component & WithServiceInstanceName(ServiceInstanceNameT &&value)
bool DeploymentStatusMessageHasBeenSet() const
bool LastModifiedAtHasBeenSet() const
AWS_PROTON_API Component & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
bool LastClientRequestTokenHasBeenSet() const
Component & WithLastClientRequestToken(LastClientRequestTokenT &&value)
void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
bool LastDeploymentSucceededAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue