7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/AppRunnerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apprunner/model/SourceConfiguration.h>
11#include <aws/apprunner/model/InstanceConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/apprunner/model/EncryptionConfiguration.h>
14#include <aws/apprunner/model/HealthCheckConfiguration.h>
15#include <aws/apprunner/model/NetworkConfiguration.h>
16#include <aws/apprunner/model/ServiceObservabilityConfiguration.h>
17#include <aws/apprunner/model/Tag.h>
53 template<
typename ServiceNameT = Aws::String>
54 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
55 template<
typename ServiceNameT = Aws::String>
66 template<
typename SourceConfigurationT = SourceConfiguration>
67 void SetSourceConfiguration(SourceConfigurationT&& value) { m_sourceConfigurationHasBeenSet =
true; m_sourceConfiguration = std::forward<SourceConfigurationT>(value); }
68 template<
typename SourceConfigurationT = SourceConfiguration>
78 template<
typename InstanceConfigurationT = InstanceConfiguration>
79 void SetInstanceConfiguration(InstanceConfigurationT&& value) { m_instanceConfigurationHasBeenSet =
true; m_instanceConfiguration = std::forward<InstanceConfigurationT>(value); }
80 template<
typename InstanceConfigurationT = InstanceConfiguration>
91 template<
typename TagsT = Aws::Vector<Tag>>
92 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
93 template<
typename TagsT = Aws::Vector<Tag>>
95 template<
typename TagsT = Tag>
107 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
108 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
109 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
120 template<
typename HealthCheckConfigurationT = HealthCheckConfiguration>
121 void SetHealthCheckConfiguration(HealthCheckConfigurationT&& value) { m_healthCheckConfigurationHasBeenSet =
true; m_healthCheckConfiguration = std::forward<HealthCheckConfigurationT>(value); }
122 template<
typename HealthCheckConfigurationT = HealthCheckConfiguration>
140 template<
typename AutoScalingConfigurationArnT = Aws::String>
141 void SetAutoScalingConfigurationArn(AutoScalingConfigurationArnT&& value) { m_autoScalingConfigurationArnHasBeenSet =
true; m_autoScalingConfigurationArn = std::forward<AutoScalingConfigurationArnT>(value); }
142 template<
typename AutoScalingConfigurationArnT = Aws::String>
153 template<
typename NetworkConfigurationT = NetworkConfiguration>
154 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet =
true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
155 template<
typename NetworkConfigurationT = NetworkConfiguration>
165 template<
typename ObservabilityConfigurationT = ServiceObservabilityConfiguration>
166 void SetObservabilityConfiguration(ObservabilityConfigurationT&& value) { m_observabilityConfigurationHasBeenSet =
true; m_observabilityConfiguration = std::forward<ObservabilityConfigurationT>(value); }
167 template<
typename ObservabilityConfigurationT = ServiceObservabilityConfiguration>
173 bool m_serviceNameHasBeenSet =
false;
176 bool m_sourceConfigurationHasBeenSet =
false;
179 bool m_instanceConfigurationHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
185 bool m_encryptionConfigurationHasBeenSet =
false;
188 bool m_healthCheckConfigurationHasBeenSet =
false;
191 bool m_autoScalingConfigurationArnHasBeenSet =
false;
194 bool m_networkConfigurationHasBeenSet =
false;
197 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