AWS SDK for C++  1.9.104
AWS SDK for C++
CreateContainerServiceDeploymentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Lightsail
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateContainerServiceDeployment"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetServiceName() const{ return m_serviceName; }
44 
48  inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
49 
53  inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
54 
58  inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
59 
63  inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
64 
68  inline CreateContainerServiceDeploymentRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
69 
73  inline CreateContainerServiceDeploymentRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
74 
78  inline CreateContainerServiceDeploymentRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
79 
80 
85  inline const Aws::Map<Aws::String, Container>& GetContainers() const{ return m_containers; }
86 
91  inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
92 
97  inline void SetContainers(const Aws::Map<Aws::String, Container>& value) { m_containersHasBeenSet = true; m_containers = value; }
98 
103  inline void SetContainers(Aws::Map<Aws::String, Container>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }
104 
109  inline CreateContainerServiceDeploymentRequest& WithContainers(const Aws::Map<Aws::String, Container>& value) { SetContainers(value); return *this;}
110 
115  inline CreateContainerServiceDeploymentRequest& WithContainers(Aws::Map<Aws::String, Container>&& value) { SetContainers(std::move(value)); return *this;}
116 
121  inline CreateContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
122 
127  inline CreateContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), value); return *this; }
128 
133  inline CreateContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
134 
139  inline CreateContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), std::move(value)); return *this; }
140 
145  inline CreateContainerServiceDeploymentRequest& AddContainers(const char* key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
146 
151  inline CreateContainerServiceDeploymentRequest& AddContainers(const char* key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
152 
153 
158  inline const EndpointRequest& GetPublicEndpoint() const{ return m_publicEndpoint; }
159 
164  inline bool PublicEndpointHasBeenSet() const { return m_publicEndpointHasBeenSet; }
165 
170  inline void SetPublicEndpoint(const EndpointRequest& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = value; }
171 
176  inline void SetPublicEndpoint(EndpointRequest&& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = std::move(value); }
177 
182  inline CreateContainerServiceDeploymentRequest& WithPublicEndpoint(const EndpointRequest& value) { SetPublicEndpoint(value); return *this;}
183 
188  inline CreateContainerServiceDeploymentRequest& WithPublicEndpoint(EndpointRequest&& value) { SetPublicEndpoint(std::move(value)); return *this;}
189 
190  private:
191 
192  Aws::String m_serviceName;
193  bool m_serviceNameHasBeenSet;
194 
196  bool m_containersHasBeenSet;
197 
198  EndpointRequest m_publicEndpoint;
199  bool m_publicEndpointHasBeenSet;
200  };
201 
202 } // namespace Model
203 } // namespace Lightsail
204 } // namespace Aws
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::AddContainers
CreateContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, Container &&value)
Definition: CreateContainerServiceDeploymentRequest.h:133
Aws::Lightsail::Model::Container
Definition: Container.h:37
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SetServiceName
void SetServiceName(const char *value)
Definition: CreateContainerServiceDeploymentRequest.h:63
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateContainerServiceDeploymentRequest.h:33
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::WithPublicEndpoint
CreateContainerServiceDeploymentRequest & WithPublicEndpoint(const EndpointRequest &value)
Definition: CreateContainerServiceDeploymentRequest.h:182
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::AddContainers
CreateContainerServiceDeploymentRequest & AddContainers(const char *key, const Container &value)
Definition: CreateContainerServiceDeploymentRequest.h:151
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SetContainers
void SetContainers(Aws::Map< Aws::String, Container > &&value)
Definition: CreateContainerServiceDeploymentRequest.h:103
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest
Definition: CreateContainerServiceDeploymentRequest.h:25
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::GetContainers
const Aws::Map< Aws::String, Container > & GetContainers() const
Definition: CreateContainerServiceDeploymentRequest.h:85
LightsailRequest.h
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SetPublicEndpoint
void SetPublicEndpoint(const EndpointRequest &value)
Definition: CreateContainerServiceDeploymentRequest.h:170
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::PublicEndpointHasBeenSet
bool PublicEndpointHasBeenSet() const
Definition: CreateContainerServiceDeploymentRequest.h:164
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::AddContainers
CreateContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, const Container &value)
Definition: CreateContainerServiceDeploymentRequest.h:121
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::AddContainers
CreateContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, const Container &value)
Definition: CreateContainerServiceDeploymentRequest.h:127
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::AddContainers
CreateContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, Container &&value)
Definition: CreateContainerServiceDeploymentRequest.h:139
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SetServiceName
void SetServiceName(Aws::String &&value)
Definition: CreateContainerServiceDeploymentRequest.h:58
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::WithPublicEndpoint
CreateContainerServiceDeploymentRequest & WithPublicEndpoint(EndpointRequest &&value)
Definition: CreateContainerServiceDeploymentRequest.h:188
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::GetPublicEndpoint
const EndpointRequest & GetPublicEndpoint() const
Definition: CreateContainerServiceDeploymentRequest.h:158
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::ServiceNameHasBeenSet
bool ServiceNameHasBeenSet() const
Definition: CreateContainerServiceDeploymentRequest.h:48
AWSString.h
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::WithServiceName
CreateContainerServiceDeploymentRequest & WithServiceName(const char *value)
Definition: CreateContainerServiceDeploymentRequest.h:78
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::WithServiceName
CreateContainerServiceDeploymentRequest & WithServiceName(const Aws::String &value)
Definition: CreateContainerServiceDeploymentRequest.h:68
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Lightsail_EXPORTS.h
EndpointRequest.h
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::WithContainers
CreateContainerServiceDeploymentRequest & WithContainers(const Aws::Map< Aws::String, Container > &value)
Definition: CreateContainerServiceDeploymentRequest.h:109
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SerializePayload
Aws::String SerializePayload() const override
Container.h
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::WithServiceName
CreateContainerServiceDeploymentRequest & WithServiceName(Aws::String &&value)
Definition: CreateContainerServiceDeploymentRequest.h:73
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SetPublicEndpoint
void SetPublicEndpoint(EndpointRequest &&value)
Definition: CreateContainerServiceDeploymentRequest.h:176
Aws::Lightsail::Model::EndpointRequest
Definition: EndpointRequest.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::ContainersHasBeenSet
bool ContainersHasBeenSet() const
Definition: CreateContainerServiceDeploymentRequest.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::GetServiceName
const Aws::String & GetServiceName() const
Definition: CreateContainerServiceDeploymentRequest.h:43
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SetServiceName
void SetServiceName(const Aws::String &value)
Definition: CreateContainerServiceDeploymentRequest.h:53
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::CreateContainerServiceDeploymentRequest
CreateContainerServiceDeploymentRequest()
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::SetContainers
void SetContainers(const Aws::Map< Aws::String, Container > &value)
Definition: CreateContainerServiceDeploymentRequest.h:97
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::WithContainers
CreateContainerServiceDeploymentRequest & WithContainers(Aws::Map< Aws::String, Container > &&value)
Definition: CreateContainerServiceDeploymentRequest.h:115
AWSMap.h
Aws::Lightsail::Model::CreateContainerServiceDeploymentRequest::AddContainers
CreateContainerServiceDeploymentRequest & AddContainers(const char *key, Container &&value)
Definition: CreateContainerServiceDeploymentRequest.h:145
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19