7#include <aws/apprunner/AppRunnerRequest.h>
8#include <aws/apprunner/AppRunner_EXPORTS.h>
9#include <aws/apprunner/model/EncryptionConfiguration.h>
10#include <aws/apprunner/model/HealthCheckConfiguration.h>
11#include <aws/apprunner/model/InstanceConfiguration.h>
12#include <aws/apprunner/model/NetworkConfiguration.h>
13#include <aws/apprunner/model/ServiceObservabilityConfiguration.h>
14#include <aws/apprunner/model/SourceConfiguration.h>
15#include <aws/apprunner/model/Tag.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename ServiceNameT = Aws::String>
51 m_serviceNameHasBeenSet =
true;
52 m_serviceName = std::forward<ServiceNameT>(value);
54 template <
typename ServiceNameT = Aws::String>
68 template <
typename SourceConfigurationT = SourceConfiguration>
70 m_sourceConfigurationHasBeenSet =
true;
71 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
73 template <
typename SourceConfigurationT = SourceConfiguration>
86 template <
typename InstanceConfigurationT = InstanceConfiguration>
88 m_instanceConfigurationHasBeenSet =
true;
89 m_instanceConfiguration = std::forward<InstanceConfigurationT>(value);
91 template <
typename InstanceConfigurationT = InstanceConfiguration>
105 template <
typename TagsT = Aws::Vector<Tag>>
107 m_tagsHasBeenSet =
true;
108 m_tags = std::forward<TagsT>(value);
110 template <
typename TagsT = Aws::Vector<Tag>>
112 SetTags(std::forward<TagsT>(value));
115 template <
typename TagsT = Tag>
117 m_tagsHasBeenSet =
true;
118 m_tags.emplace_back(std::forward<TagsT>(value));
131 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
133 m_encryptionConfigurationHasBeenSet =
true;
134 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
136 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
150 template <
typename HealthCheckConfigurationT = HealthCheckConfiguration>
152 m_healthCheckConfigurationHasBeenSet =
true;
153 m_healthCheckConfiguration = std::forward<HealthCheckConfigurationT>(value);
155 template <
typename HealthCheckConfigurationT = HealthCheckConfiguration>
176 template <
typename AutoScalingConfigurationArnT = Aws::String>
178 m_autoScalingConfigurationArnHasBeenSet =
true;
179 m_autoScalingConfigurationArn = std::forward<AutoScalingConfigurationArnT>(value);
181 template <
typename AutoScalingConfigurationArnT = Aws::String>
195 template <
typename NetworkConfigurationT = NetworkConfiguration>
197 m_networkConfigurationHasBeenSet =
true;
198 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
200 template <
typename NetworkConfigurationT = NetworkConfiguration>
213 template <
typename ObservabilityConfigurationT = ServiceObservabilityConfiguration>
215 m_observabilityConfigurationHasBeenSet =
true;
216 m_observabilityConfiguration = std::forward<ObservabilityConfigurationT>(value);
218 template <
typename ObservabilityConfigurationT = ServiceObservabilityConfiguration>
242 bool m_serviceNameHasBeenSet =
false;
243 bool m_sourceConfigurationHasBeenSet =
false;
244 bool m_instanceConfigurationHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
246 bool m_encryptionConfigurationHasBeenSet =
false;
247 bool m_healthCheckConfigurationHasBeenSet =
false;
248 bool m_autoScalingConfigurationArnHasBeenSet =
false;
249 bool m_networkConfigurationHasBeenSet =
false;
250 bool m_observabilityConfigurationHasBeenSet =
false;
CreateServiceRequest & WithInstanceConfiguration(InstanceConfigurationT &&value)
void SetInstanceConfiguration(InstanceConfigurationT &&value)
AWS_APPRUNNER_API CreateServiceRequest()=default
const EncryptionConfiguration & GetEncryptionConfiguration() const
const Aws::String & GetServiceName() const
void SetAutoScalingConfigurationArn(AutoScalingConfigurationArnT &&value)
bool InstanceConfigurationHasBeenSet() const
AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const InstanceConfiguration & GetInstanceConfiguration() const
void SetSourceConfiguration(SourceConfigurationT &&value)
CreateServiceRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
CreateServiceRequest & WithAutoScalingConfigurationArn(AutoScalingConfigurationArnT &&value)
const Aws::Vector< Tag > & GetTags() const
bool NetworkConfigurationHasBeenSet() const
bool HealthCheckConfigurationHasBeenSet() const
const SourceConfiguration & GetSourceConfiguration() const
CreateServiceRequest & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetHealthCheckConfiguration(HealthCheckConfigurationT &&value)
CreateServiceRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateServiceRequest & WithHealthCheckConfiguration(HealthCheckConfigurationT &&value)
AWS_APPRUNNER_API Aws::String SerializePayload() const override
void SetObservabilityConfiguration(ObservabilityConfigurationT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
CreateServiceRequest & WithTags(TagsT &&value)
const ServiceObservabilityConfiguration & GetObservabilityConfiguration() const
bool EncryptionConfigurationHasBeenSet() const
const Aws::String & GetAutoScalingConfigurationArn() const
bool ServiceNameHasBeenSet() const
bool ObservabilityConfigurationHasBeenSet() const
bool SourceConfigurationHasBeenSet() const
CreateServiceRequest & WithServiceName(ServiceNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetNetworkConfiguration(NetworkConfigurationT &&value)
const HealthCheckConfiguration & GetHealthCheckConfiguration() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetServiceName(ServiceNameT &&value)
bool AutoScalingConfigurationArnHasBeenSet() const
CreateServiceRequest & WithObservabilityConfiguration(ObservabilityConfigurationT &&value)
CreateServiceRequest & WithSourceConfiguration(SourceConfigurationT &&value)
void SetTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector