AWS SDK for C++  1.9.22
AWS SDK for C++
ContainerServiceDeploymentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
28 
38  {
39  public:
44 
45 
50  inline const Aws::Map<Aws::String, Container>& GetContainers() const{ return m_containers; }
51 
56  inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
57 
62  inline void SetContainers(const Aws::Map<Aws::String, Container>& value) { m_containersHasBeenSet = true; m_containers = value; }
63 
68  inline void SetContainers(Aws::Map<Aws::String, Container>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }
69 
74  inline ContainerServiceDeploymentRequest& WithContainers(const Aws::Map<Aws::String, Container>& value) { SetContainers(value); return *this;}
75 
80  inline ContainerServiceDeploymentRequest& WithContainers(Aws::Map<Aws::String, Container>&& value) { SetContainers(std::move(value)); return *this;}
81 
86  inline ContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
87 
92  inline ContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), value); return *this; }
93 
98  inline ContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
99 
104  inline ContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), std::move(value)); return *this; }
105 
110  inline ContainerServiceDeploymentRequest& AddContainers(const char* key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
111 
116  inline ContainerServiceDeploymentRequest& AddContainers(const char* key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
117 
118 
122  inline const EndpointRequest& GetPublicEndpoint() const{ return m_publicEndpoint; }
123 
127  inline bool PublicEndpointHasBeenSet() const { return m_publicEndpointHasBeenSet; }
128 
132  inline void SetPublicEndpoint(const EndpointRequest& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = value; }
133 
137  inline void SetPublicEndpoint(EndpointRequest&& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = std::move(value); }
138 
142  inline ContainerServiceDeploymentRequest& WithPublicEndpoint(const EndpointRequest& value) { SetPublicEndpoint(value); return *this;}
143 
147  inline ContainerServiceDeploymentRequest& WithPublicEndpoint(EndpointRequest&& value) { SetPublicEndpoint(std::move(value)); return *this;}
148 
149  private:
150 
152  bool m_containersHasBeenSet;
153 
154  EndpointRequest m_publicEndpoint;
155  bool m_publicEndpointHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace Lightsail
160 } // namespace Aws
Aws::Lightsail::Model::Container
Definition: Container.h:37
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::SetPublicEndpoint
void SetPublicEndpoint(EndpointRequest &&value)
Definition: ContainerServiceDeploymentRequest.h:137
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::GetPublicEndpoint
const EndpointRequest & GetPublicEndpoint() const
Definition: ContainerServiceDeploymentRequest.h:122
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::WithPublicEndpoint
ContainerServiceDeploymentRequest & WithPublicEndpoint(EndpointRequest &&value)
Definition: ContainerServiceDeploymentRequest.h:147
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::SetContainers
void SetContainers(const Aws::Map< Aws::String, Container > &value)
Definition: ContainerServiceDeploymentRequest.h:62
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::operator=
ContainerServiceDeploymentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::ContainersHasBeenSet
bool ContainersHasBeenSet() const
Definition: ContainerServiceDeploymentRequest.h:56
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::SetPublicEndpoint
void SetPublicEndpoint(const EndpointRequest &value)
Definition: ContainerServiceDeploymentRequest.h:132
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::WithContainers
ContainerServiceDeploymentRequest & WithContainers(Aws::Map< Aws::String, Container > &&value)
Definition: ContainerServiceDeploymentRequest.h:80
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::AddContainers
ContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, const Container &value)
Definition: ContainerServiceDeploymentRequest.h:92
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::AddContainers
ContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, Container &&value)
Definition: ContainerServiceDeploymentRequest.h:98
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::SetContainers
void SetContainers(Aws::Map< Aws::String, Container > &&value)
Definition: ContainerServiceDeploymentRequest.h:68
Aws::Lightsail::Model::ContainerServiceDeploymentRequest
Definition: ContainerServiceDeploymentRequest.h:38
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Lightsail_EXPORTS.h
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::AddContainers
ContainerServiceDeploymentRequest & AddContainers(const char *key, const Container &value)
Definition: ContainerServiceDeploymentRequest.h:116
EndpointRequest.h
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::AddContainers
ContainerServiceDeploymentRequest & AddContainers(const char *key, Container &&value)
Definition: ContainerServiceDeploymentRequest.h:110
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::ContainerServiceDeploymentRequest
ContainerServiceDeploymentRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::GetContainers
const Aws::Map< Aws::String, Container > & GetContainers() const
Definition: ContainerServiceDeploymentRequest.h:50
Container.h
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::AddContainers
ContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, const Container &value)
Definition: ContainerServiceDeploymentRequest.h:86
Aws::Lightsail::Model::EndpointRequest
Definition: EndpointRequest.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::ContainerServiceDeploymentRequest
ContainerServiceDeploymentRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::WithContainers
ContainerServiceDeploymentRequest & WithContainers(const Aws::Map< Aws::String, Container > &value)
Definition: ContainerServiceDeploymentRequest.h:74
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::WithPublicEndpoint
ContainerServiceDeploymentRequest & WithPublicEndpoint(const EndpointRequest &value)
Definition: ContainerServiceDeploymentRequest.h:142
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::AddContainers
ContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, Container &&value)
Definition: ContainerServiceDeploymentRequest.h:104
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Lightsail::Model::ContainerServiceDeploymentRequest::PublicEndpointHasBeenSet
bool PublicEndpointHasBeenSet() const
Definition: ContainerServiceDeploymentRequest.h:127