/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a container deployment configuration of an Amazon Lightsail
* container service. A deployment specifies the settings, such as the ports
* and launch command, of containers that are deployed to your container
* service.See Also:
AWS
* API Reference
An object that describes the configuration for the containers of the * deployment.
*/ inline const Aws::MapAn object that describes the configuration for the containers of the * deployment.
*/ inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; } /** *An object that describes the configuration for the containers of the * deployment.
*/ inline void SetContainers(const Aws::MapAn object that describes the configuration for the containers of the * deployment.
*/ inline void SetContainers(Aws::MapAn object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& WithContainers(const Aws::MapAn object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& WithContainers(Aws::MapAn object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; } /** *An object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), value); return *this; } /** *An object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& AddContainers(const Aws::String& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; } /** *An object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& AddContainers(Aws::String&& key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(std::move(key), std::move(value)); return *this; } /** *An object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& AddContainers(const char* key, Container&& value) { m_containersHasBeenSet = true; m_containers.emplace(key, std::move(value)); return *this; } /** *An object that describes the configuration for the containers of the * deployment.
*/ inline ContainerServiceDeploymentRequest& AddContainers(const char* key, const Container& value) { m_containersHasBeenSet = true; m_containers.emplace(key, value); return *this; } /** *An object that describes the endpoint of the deployment.
*/ inline const EndpointRequest& GetPublicEndpoint() const{ return m_publicEndpoint; } /** *An object that describes the endpoint of the deployment.
*/ inline bool PublicEndpointHasBeenSet() const { return m_publicEndpointHasBeenSet; } /** *An object that describes the endpoint of the deployment.
*/ inline void SetPublicEndpoint(const EndpointRequest& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = value; } /** *An object that describes the endpoint of the deployment.
*/ inline void SetPublicEndpoint(EndpointRequest&& value) { m_publicEndpointHasBeenSet = true; m_publicEndpoint = std::move(value); } /** *An object that describes the endpoint of the deployment.
*/ inline ContainerServiceDeploymentRequest& WithPublicEndpoint(const EndpointRequest& value) { SetPublicEndpoint(value); return *this;} /** *An object that describes the endpoint of the deployment.
*/ inline ContainerServiceDeploymentRequest& WithPublicEndpoint(EndpointRequest&& value) { SetPublicEndpoint(std::move(value)); return *this;} private: Aws::Map