/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about an Amazon ECS container. See Also:
* AWS
* API Reference
The name of the container.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the container.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the container.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the container.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the container.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the container.
*/ inline AwsEcsContainerDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the container.
*/ inline AwsEcsContainerDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the container.
*/ inline AwsEcsContainerDetails& WithName(const char* value) { SetName(value); return *this;} /** *The image used for the container.
*/ inline const Aws::String& GetImage() const{ return m_image; } /** *The image used for the container.
*/ inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; } /** *The image used for the container.
*/ inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; } /** *The image used for the container.
*/ inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); } /** *The image used for the container.
*/ inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); } /** *The image used for the container.
*/ inline AwsEcsContainerDetails& WithImage(const Aws::String& value) { SetImage(value); return *this;} /** *The image used for the container.
*/ inline AwsEcsContainerDetails& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;} /** *The image used for the container.
*/ inline AwsEcsContainerDetails& WithImage(const char* value) { SetImage(value); return *this;} /** *The mount points for data volumes in your container.
*/ inline const Aws::VectorThe mount points for data volumes in your container.
*/ inline bool MountPointsHasBeenSet() const { return m_mountPointsHasBeenSet; } /** *The mount points for data volumes in your container.
*/ inline void SetMountPoints(const Aws::VectorThe mount points for data volumes in your container.
*/ inline void SetMountPoints(Aws::VectorThe mount points for data volumes in your container.
*/ inline AwsEcsContainerDetails& WithMountPoints(const Aws::VectorThe mount points for data volumes in your container.
*/ inline AwsEcsContainerDetails& WithMountPoints(Aws::VectorThe mount points for data volumes in your container.
*/ inline AwsEcsContainerDetails& AddMountPoints(const AwsMountPoint& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(value); return *this; } /** *The mount points for data volumes in your container.
*/ inline AwsEcsContainerDetails& AddMountPoints(AwsMountPoint&& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(std::move(value)); return *this; } /** *When this parameter is true, the container is given elevated privileges on * the host container instance (similar to the root user).
*/ inline bool GetPrivileged() const{ return m_privileged; } /** *When this parameter is true, the container is given elevated privileges on * the host container instance (similar to the root user).
*/ inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; } /** *When this parameter is true, the container is given elevated privileges on * the host container instance (similar to the root user).
*/ inline void SetPrivileged(bool value) { m_privilegedHasBeenSet = true; m_privileged = value; } /** *When this parameter is true, the container is given elevated privileges on * the host container instance (similar to the root user).
*/ inline AwsEcsContainerDetails& WithPrivileged(bool value) { SetPrivileged(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_image; bool m_imageHasBeenSet = false; Aws::Vector