AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceRequest.h
1
6#pragma once
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/apprunner/model/HealthCheckConfiguration.h>
13#include <aws/apprunner/model/NetworkConfiguration.h>
14#include <aws/apprunner/model/ServiceObservabilityConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19namespace AppRunner
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPRUNNER_API UpdateServiceRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateService"; }
36
37 AWS_APPRUNNER_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
48 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
49 inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
50 inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
51 inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
52 inline UpdateServiceRequest& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
53 inline UpdateServiceRequest& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
54 inline UpdateServiceRequest& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
56
58
68 inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
69 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
70 inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
71 inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
75
77
81 inline const InstanceConfiguration& GetInstanceConfiguration() const{ return m_instanceConfiguration; }
82 inline bool InstanceConfigurationHasBeenSet() const { return m_instanceConfigurationHasBeenSet; }
83 inline void SetInstanceConfiguration(const InstanceConfiguration& value) { m_instanceConfigurationHasBeenSet = true; m_instanceConfiguration = value; }
84 inline void SetInstanceConfiguration(InstanceConfiguration&& value) { m_instanceConfigurationHasBeenSet = true; m_instanceConfiguration = std::move(value); }
88
90
95 inline const Aws::String& GetAutoScalingConfigurationArn() const{ return m_autoScalingConfigurationArn; }
96 inline bool AutoScalingConfigurationArnHasBeenSet() const { return m_autoScalingConfigurationArnHasBeenSet; }
97 inline void SetAutoScalingConfigurationArn(const Aws::String& value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn = value; }
98 inline void SetAutoScalingConfigurationArn(Aws::String&& value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn = std::move(value); }
99 inline void SetAutoScalingConfigurationArn(const char* value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn.assign(value); }
104
106
110 inline const HealthCheckConfiguration& GetHealthCheckConfiguration() const{ return m_healthCheckConfiguration; }
111 inline bool HealthCheckConfigurationHasBeenSet() const { return m_healthCheckConfigurationHasBeenSet; }
112 inline void SetHealthCheckConfiguration(const HealthCheckConfiguration& value) { m_healthCheckConfigurationHasBeenSet = true; m_healthCheckConfiguration = value; }
113 inline void SetHealthCheckConfiguration(HealthCheckConfiguration&& value) { m_healthCheckConfigurationHasBeenSet = true; m_healthCheckConfiguration = std::move(value); }
117
119
123 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
124 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
125 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
126 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
130
132
135 inline const ServiceObservabilityConfiguration& GetObservabilityConfiguration() const{ return m_observabilityConfiguration; }
136 inline bool ObservabilityConfigurationHasBeenSet() const { return m_observabilityConfigurationHasBeenSet; }
137 inline void SetObservabilityConfiguration(const ServiceObservabilityConfiguration& value) { m_observabilityConfigurationHasBeenSet = true; m_observabilityConfiguration = value; }
138 inline void SetObservabilityConfiguration(ServiceObservabilityConfiguration&& value) { m_observabilityConfigurationHasBeenSet = true; m_observabilityConfiguration = std::move(value); }
142 private:
143
144 Aws::String m_serviceArn;
145 bool m_serviceArnHasBeenSet = false;
146
147 SourceConfiguration m_sourceConfiguration;
148 bool m_sourceConfigurationHasBeenSet = false;
149
150 InstanceConfiguration m_instanceConfiguration;
151 bool m_instanceConfigurationHasBeenSet = false;
152
153 Aws::String m_autoScalingConfigurationArn;
154 bool m_autoScalingConfigurationArnHasBeenSet = false;
155
156 HealthCheckConfiguration m_healthCheckConfiguration;
157 bool m_healthCheckConfigurationHasBeenSet = false;
158
159 NetworkConfiguration m_networkConfiguration;
160 bool m_networkConfigurationHasBeenSet = false;
161
162 ServiceObservabilityConfiguration m_observabilityConfiguration;
163 bool m_observabilityConfigurationHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace AppRunner
168} // namespace Aws
UpdateServiceRequest & WithHealthCheckConfiguration(HealthCheckConfiguration &&value)
void SetSourceConfiguration(const SourceConfiguration &value)
UpdateServiceRequest & WithObservabilityConfiguration(const ServiceObservabilityConfiguration &value)
const NetworkConfiguration & GetNetworkConfiguration() const
UpdateServiceRequest & WithAutoScalingConfigurationArn(Aws::String &&value)
void SetAutoScalingConfigurationArn(const Aws::String &value)
UpdateServiceRequest & WithInstanceConfiguration(const InstanceConfiguration &value)
UpdateServiceRequest & WithSourceConfiguration(const SourceConfiguration &value)
UpdateServiceRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
const ServiceObservabilityConfiguration & GetObservabilityConfiguration() const
void SetSourceConfiguration(SourceConfiguration &&value)
void SetAutoScalingConfigurationArn(Aws::String &&value)
UpdateServiceRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
UpdateServiceRequest & WithInstanceConfiguration(InstanceConfiguration &&value)
UpdateServiceRequest & WithAutoScalingConfigurationArn(const char *value)
UpdateServiceRequest & WithAutoScalingConfigurationArn(const Aws::String &value)
const Aws::String & GetAutoScalingConfigurationArn() const
const SourceConfiguration & GetSourceConfiguration() const
UpdateServiceRequest & WithServiceArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPRUNNER_API Aws::String SerializePayload() const override
void SetObservabilityConfiguration(ServiceObservabilityConfiguration &&value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
UpdateServiceRequest & WithServiceArn(const char *value)
UpdateServiceRequest & WithSourceConfiguration(SourceConfiguration &&value)
UpdateServiceRequest & WithObservabilityConfiguration(ServiceObservabilityConfiguration &&value)
AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateServiceRequest & WithHealthCheckConfiguration(const HealthCheckConfiguration &value)
UpdateServiceRequest & WithServiceArn(const Aws::String &value)
void SetInstanceConfiguration(const InstanceConfiguration &value)
const HealthCheckConfiguration & GetHealthCheckConfiguration() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetInstanceConfiguration(InstanceConfiguration &&value)
void SetHealthCheckConfiguration(const HealthCheckConfiguration &value)
void SetObservabilityConfiguration(const ServiceObservabilityConfiguration &value)
const InstanceConfiguration & GetInstanceConfiguration() const
void SetHealthCheckConfiguration(HealthCheckConfiguration &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String