7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/apprunner/model/ServiceStatus.h>
11#include <aws/apprunner/model/SourceConfiguration.h>
12#include <aws/apprunner/model/InstanceConfiguration.h>
13#include <aws/apprunner/model/EncryptionConfiguration.h>
14#include <aws/apprunner/model/HealthCheckConfiguration.h>
15#include <aws/apprunner/model/AutoScalingConfigurationSummary.h>
16#include <aws/apprunner/model/NetworkConfiguration.h>
17#include <aws/apprunner/model/ServiceObservabilityConfiguration.h>
67 template<
typename ServiceNameT = Aws::String>
68 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
69 template<
typename ServiceNameT = Aws::String>
80 template<
typename ServiceIdT = Aws::String>
81 void SetServiceId(ServiceIdT&& value) { m_serviceIdHasBeenSet =
true; m_serviceId = std::forward<ServiceIdT>(value); }
82 template<
typename ServiceIdT = Aws::String>
92 template<
typename ServiceArnT = Aws::String>
93 void SetServiceArn(ServiceArnT&& value) { m_serviceArnHasBeenSet =
true; m_serviceArn = std::forward<ServiceArnT>(value); }
94 template<
typename ServiceArnT = Aws::String>
105 template<
typename ServiceUrlT = Aws::String>
106 void SetServiceUrl(ServiceUrlT&& value) { m_serviceUrlHasBeenSet =
true; m_serviceUrl = std::forward<ServiceUrlT>(value); }
107 template<
typename ServiceUrlT = Aws::String>
118 template<
typename CreatedAtT = Aws::Utils::DateTime>
119 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
120 template<
typename CreatedAtT = Aws::Utils::DateTime>
131 template<
typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
133 template<
typename UpdatedAtT = Aws::Utils::DateTime>
144 template<
typename DeletedAtT = Aws::Utils::DateTime>
145 void SetDeletedAt(DeletedAtT&& value) { m_deletedAtHasBeenSet =
true; m_deletedAt = std::forward<DeletedAtT>(value); }
146 template<
typename DeletedAtT = Aws::Utils::DateTime>
174 template<
typename SourceConfigurationT = SourceConfiguration>
175 void SetSourceConfiguration(SourceConfigurationT&& value) { m_sourceConfigurationHasBeenSet =
true; m_sourceConfiguration = std::forward<SourceConfigurationT>(value); }
176 template<
typename SourceConfigurationT = SourceConfiguration>
186 template<
typename InstanceConfigurationT = InstanceConfiguration>
187 void SetInstanceConfiguration(InstanceConfigurationT&& value) { m_instanceConfigurationHasBeenSet =
true; m_instanceConfiguration = std::forward<InstanceConfigurationT>(value); }
188 template<
typename InstanceConfigurationT = InstanceConfiguration>
201 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
202 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
203 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
214 template<
typename HealthCheckConfigurationT = HealthCheckConfiguration>
215 void SetHealthCheckConfiguration(HealthCheckConfigurationT&& value) { m_healthCheckConfigurationHasBeenSet =
true; m_healthCheckConfiguration = std::forward<HealthCheckConfigurationT>(value); }
216 template<
typename HealthCheckConfigurationT = HealthCheckConfiguration>
227 template<
typename AutoScalingConfigurationSummaryT = AutoScalingConfigurationSummary>
228 void SetAutoScalingConfigurationSummary(AutoScalingConfigurationSummaryT&& value) { m_autoScalingConfigurationSummaryHasBeenSet =
true; m_autoScalingConfigurationSummary = std::forward<AutoScalingConfigurationSummaryT>(value); }
229 template<
typename AutoScalingConfigurationSummaryT = AutoScalingConfigurationSummary>
240 template<
typename NetworkConfigurationT = NetworkConfiguration>
241 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet =
true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
242 template<
typename NetworkConfigurationT = NetworkConfiguration>
252 template<
typename ObservabilityConfigurationT = ServiceObservabilityConfiguration>
253 void SetObservabilityConfiguration(ObservabilityConfigurationT&& value) { m_observabilityConfigurationHasBeenSet =
true; m_observabilityConfiguration = std::forward<ObservabilityConfigurationT>(value); }
254 template<
typename ObservabilityConfigurationT = ServiceObservabilityConfiguration>
260 bool m_serviceNameHasBeenSet =
false;
263 bool m_serviceIdHasBeenSet =
false;
266 bool m_serviceArnHasBeenSet =
false;
269 bool m_serviceUrlHasBeenSet =
false;
272 bool m_createdAtHasBeenSet =
false;
275 bool m_updatedAtHasBeenSet =
false;
278 bool m_deletedAtHasBeenSet =
false;
281 bool m_statusHasBeenSet =
false;
283 SourceConfiguration m_sourceConfiguration;
284 bool m_sourceConfigurationHasBeenSet =
false;
286 InstanceConfiguration m_instanceConfiguration;
287 bool m_instanceConfigurationHasBeenSet =
false;
289 EncryptionConfiguration m_encryptionConfiguration;
290 bool m_encryptionConfigurationHasBeenSet =
false;
292 HealthCheckConfiguration m_healthCheckConfiguration;
293 bool m_healthCheckConfigurationHasBeenSet =
false;
295 AutoScalingConfigurationSummary m_autoScalingConfigurationSummary;
296 bool m_autoScalingConfigurationSummaryHasBeenSet =
false;
298 NetworkConfiguration m_networkConfiguration;
299 bool m_networkConfigurationHasBeenSet =
false;
301 ServiceObservabilityConfiguration m_observabilityConfiguration;
302 bool m_observabilityConfigurationHasBeenSet =
false;
const EncryptionConfiguration & GetEncryptionConfiguration() const
Service & WithAutoScalingConfigurationSummary(AutoScalingConfigurationSummaryT &&value)
const Aws::String & GetServiceUrl() const
Service & WithServiceUrl(ServiceUrlT &&value)
const ServiceObservabilityConfiguration & GetObservabilityConfiguration() const
bool NetworkConfigurationHasBeenSet() const
Service & WithServiceName(ServiceNameT &&value)
Service & WithServiceArn(ServiceArnT &&value)
Service & WithHealthCheckConfiguration(HealthCheckConfigurationT &&value)
Service & WithUpdatedAt(UpdatedAtT &&value)
bool SourceConfigurationHasBeenSet() const
const HealthCheckConfiguration & GetHealthCheckConfiguration() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetDeletedAt() const
void SetStatus(ServiceStatus value)
Service & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
Service & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetServiceUrl(ServiceUrlT &&value)
Service & WithDeletedAt(DeletedAtT &&value)
void SetHealthCheckConfiguration(HealthCheckConfigurationT &&value)
const Aws::String & GetServiceName() const
void SetAutoScalingConfigurationSummary(AutoScalingConfigurationSummaryT &&value)
bool EncryptionConfigurationHasBeenSet() const
Service & WithInstanceConfiguration(InstanceConfigurationT &&value)
bool DeletedAtHasBeenSet() const
AWS_APPRUNNER_API Service()=default
Service & WithServiceId(ServiceIdT &&value)
Service & WithSourceConfiguration(SourceConfigurationT &&value)
bool ServiceUrlHasBeenSet() const
bool AutoScalingConfigurationSummaryHasBeenSet() const
bool ServiceNameHasBeenSet() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const InstanceConfiguration & GetInstanceConfiguration() const
bool ServiceArnHasBeenSet() const
const Aws::String & GetServiceId() const
void SetServiceArn(ServiceArnT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetDeletedAt(DeletedAtT &&value)
Service & WithCreatedAt(CreatedAtT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
bool InstanceConfigurationHasBeenSet() const
bool ServiceIdHasBeenSet() const
void SetInstanceConfiguration(InstanceConfigurationT &&value)
const Aws::String & GetServiceArn() const
bool StatusHasBeenSet() const
const AutoScalingConfigurationSummary & GetAutoScalingConfigurationSummary() const
void SetCreatedAt(CreatedAtT &&value)
ServiceStatus GetStatus() const
AWS_APPRUNNER_API Service(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
const SourceConfiguration & GetSourceConfiguration() const
void SetServiceId(ServiceIdT &&value)
Service & WithStatus(ServiceStatus value)
void SetServiceName(ServiceNameT &&value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetObservabilityConfiguration(ObservabilityConfigurationT &&value)
bool ObservabilityConfigurationHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetNetworkConfiguration(NetworkConfigurationT &&value)
void SetSourceConfiguration(SourceConfigurationT &&value)
bool HealthCheckConfigurationHasBeenSet() const
Service & WithObservabilityConfiguration(ObservabilityConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue