AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateContainerServiceDeploymentRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/lightsail/model/EndpointRequest.h>
12#include <aws/lightsail/model/Container.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Lightsail
18{
19namespace 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_LIGHTSAIL_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
45 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
46 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
47 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
48 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
50 inline CreateContainerServiceDeploymentRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
51 inline CreateContainerServiceDeploymentRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
53
55
59 inline const Aws::Map<Aws::String, Container>& GetContainers() const{ return m_containers; }
60 inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
61 inline void SetContainers(const Aws::Map<Aws::String, Container>& value) { m_containersHasBeenSet = true; m_containers = value; }
62 inline void SetContainers(Aws::Map<Aws::String, Container>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }
65 inline CreateContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
66 inline CreateContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), value); return *this; }
67 inline CreateContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
68 inline CreateContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), std::move(value)); return *this; }
69 inline CreateContainerServiceDeploymentRequest& AddContainers(const char* key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
70 inline CreateContainerServiceDeploymentRequest& AddContainers(const char* key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
72
74
78 inline const EndpointRequest& GetPublicEndpoint() const{ return m_publicEndpoint; }
79 inline bool PublicEndpointHasBeenSet() const { return m_publicEndpointHasBeenSet; }
80 inline void SetPublicEndpoint(const EndpointRequest& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = value; }
81 inline void SetPublicEndpoint(EndpointRequest&& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = std::move(value); }
85 private:
86
87 Aws::String m_serviceName;
88 bool m_serviceNameHasBeenSet = false;
89
91 bool m_containersHasBeenSet = false;
92
93 EndpointRequest m_publicEndpoint;
94 bool m_publicEndpointHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Lightsail
99} // namespace Aws
CreateContainerServiceDeploymentRequest & AddContainers(const char *key, Container &&value)
CreateContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, Container &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, const Container &value)
CreateContainerServiceDeploymentRequest & WithPublicEndpoint(EndpointRequest &&value)
CreateContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, Container &&value)
CreateContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, const Container &value)
CreateContainerServiceDeploymentRequest & WithServiceName(const char *value)
CreateContainerServiceDeploymentRequest & WithServiceName(const Aws::String &value)
CreateContainerServiceDeploymentRequest & WithContainers(Aws::Map< Aws::String, Container > &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
CreateContainerServiceDeploymentRequest & AddContainers(const char *key, const Container &value)
CreateContainerServiceDeploymentRequest & WithPublicEndpoint(const EndpointRequest &value)
CreateContainerServiceDeploymentRequest & WithContainers(const Aws::Map< Aws::String, Container > &value)
CreateContainerServiceDeploymentRequest & WithServiceName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String