/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container details related to a finding.See Also:
AWS
* API Reference
The runtime of the container.
*/ inline const Aws::String& GetContainerRuntime() const{ return m_containerRuntime; } /** *The runtime of the container.
*/ inline bool ContainerRuntimeHasBeenSet() const { return m_containerRuntimeHasBeenSet; } /** *The runtime of the container.
*/ inline void SetContainerRuntime(const Aws::String& value) { m_containerRuntimeHasBeenSet = true; m_containerRuntime = value; } /** *The runtime of the container.
*/ inline void SetContainerRuntime(Aws::String&& value) { m_containerRuntimeHasBeenSet = true; m_containerRuntime = std::move(value); } /** *The runtime of the container.
*/ inline void SetContainerRuntime(const char* value) { m_containerRuntimeHasBeenSet = true; m_containerRuntime.assign(value); } /** *The runtime of the container.
*/ inline ContainerDetails& WithContainerRuntime(const Aws::String& value) { SetContainerRuntime(value); return *this;} /** *The runtime of the container.
*/ inline ContainerDetails& WithContainerRuntime(Aws::String&& value) { SetContainerRuntime(std::move(value)); return *this;} /** *The runtime of the container.
*/ inline ContainerDetails& WithContainerRuntime(const char* value) { SetContainerRuntime(value); return *this;} /** *The name of the container related to a finding.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the container related to a finding.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the container related to a finding.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the container related to a finding.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the container related to a finding.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the container related to a finding.
*/ inline ContainerDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the container related to a finding.
*/ inline ContainerDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the container related to a finding.
*/ inline ContainerDetails& WithName(const char* value) { SetName(value); return *this;} /** *The identifier of the container image related to a finding.
*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *The identifier of the container image related to a finding.
*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *The identifier of the container image related to a finding.
*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *The identifier of the container image related to a finding.
*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *The identifier of the container image related to a finding.
*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *The identifier of the container image related to a finding.
*/ inline ContainerDetails& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *The identifier of the container image related to a finding.
*/ inline ContainerDetails& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *The identifier of the container image related to a finding.
*/ inline ContainerDetails& WithImageId(const char* value) { SetImageId(value); return *this;} /** *The name of the container image related to a finding.
*/ inline const Aws::String& GetImageName() const{ return m_imageName; } /** *The name of the container image related to a finding.
*/ inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; } /** *The name of the container image related to a finding.
*/ inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; } /** *The name of the container image related to a finding.
*/ inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); } /** *The name of the container image related to a finding.
*/ inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); } /** *The name of the container image related to a finding.
*/ inline ContainerDetails& WithImageName(const Aws::String& value) { SetImageName(value); return *this;} /** *The name of the container image related to a finding.
*/ inline ContainerDetails& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;} /** *The name of the container image related to a finding.
*/ inline ContainerDetails& WithImageName(const char* value) { SetImageName(value); return *this;} /** *Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the container started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Provides information about the mounting of a volume in a container.
*/ inline const Aws::VectorProvides information about the mounting of a volume in a container.
*/ inline bool VolumeMountsHasBeenSet() const { return m_volumeMountsHasBeenSet; } /** *Provides information about the mounting of a volume in a container.
*/ inline void SetVolumeMounts(const Aws::VectorProvides information about the mounting of a volume in a container.
*/ inline void SetVolumeMounts(Aws::VectorProvides information about the mounting of a volume in a container.
*/ inline ContainerDetails& WithVolumeMounts(const Aws::VectorProvides information about the mounting of a volume in a container.
*/ inline ContainerDetails& WithVolumeMounts(Aws::VectorProvides information about the mounting of a volume in a container.
*/ inline ContainerDetails& AddVolumeMounts(const VolumeMount& value) { m_volumeMountsHasBeenSet = true; m_volumeMounts.push_back(value); return *this; } /** *Provides information about the mounting of a volume in a container.
*/ inline ContainerDetails& AddVolumeMounts(VolumeMount&& value) { m_volumeMountsHasBeenSet = true; m_volumeMounts.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).
When this parameter is true
, the container is given elevated
* privileges on the host container instance (similar to the root user).
When this parameter is true
, the container is given elevated
* privileges on the host container instance (similar to the root user).
When this parameter is true
, the container is given elevated
* privileges on the host container instance (similar to the root user).