AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerServiceDeploymentRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/lightsail/model/EndpointRequest.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lightsail/model/Container.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail
25{
26namespace Model
27{
28
38 {
39 public:
43 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Map<Aws::String, Container>& GetContainers() const{ return m_containers; }
52 inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
53 inline void SetContainers(const Aws::Map<Aws::String, Container>& value) { m_containersHasBeenSet = true; m_containers = value; }
54 inline void SetContainers(Aws::Map<Aws::String, Container>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }
57 inline ContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
58 inline ContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), value); return *this; }
59 inline ContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
60 inline ContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), std::move(value)); return *this; }
61 inline ContainerServiceDeploymentRequest& AddContainers(const char* key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; }
62 inline ContainerServiceDeploymentRequest& AddContainers(const char* key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; }
64
66
69 inline const EndpointRequest& GetPublicEndpoint() const{ return m_publicEndpoint; }
70 inline bool PublicEndpointHasBeenSet() const { return m_publicEndpointHasBeenSet; }
71 inline void SetPublicEndpoint(const EndpointRequest& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = value; }
72 inline void SetPublicEndpoint(EndpointRequest&& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = std::move(value); }
76 private:
77
79 bool m_containersHasBeenSet = false;
80
81 EndpointRequest m_publicEndpoint;
82 bool m_publicEndpointHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Lightsail
87} // namespace Aws
void SetContainers(Aws::Map< Aws::String, Container > &&value)
ContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, const Container &value)
const Aws::Map< Aws::String, Container > & GetContainers() const
ContainerServiceDeploymentRequest & WithPublicEndpoint(EndpointRequest &&value)
ContainerServiceDeploymentRequest & WithContainers(const Aws::Map< Aws::String, Container > &value)
ContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, const Container &value)
ContainerServiceDeploymentRequest & WithPublicEndpoint(const EndpointRequest &value)
ContainerServiceDeploymentRequest & AddContainers(const Aws::String &key, Container &&value)
AWS_LIGHTSAIL_API ContainerServiceDeploymentRequest(Aws::Utils::Json::JsonView jsonValue)
ContainerServiceDeploymentRequest & AddContainers(Aws::String &&key, Container &&value)
void SetContainers(const Aws::Map< Aws::String, Container > &value)
ContainerServiceDeploymentRequest & WithContainers(Aws::Map< Aws::String, Container > &&value)
ContainerServiceDeploymentRequest & AddContainers(const char *key, const Container &value)
AWS_LIGHTSAIL_API ContainerServiceDeploymentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerServiceDeploymentRequest & AddContainers(const char *key, Container &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
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
Aws::Utils::Json::JsonValue JsonValue