/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a Docker image that is managed by CodeBuild.See
* Also:
AWS
* API Reference
The name of the Docker image.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Docker image.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Docker image.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Docker image.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Docker image.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Docker image.
*/ inline EnvironmentImage& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Docker image.
*/ inline EnvironmentImage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Docker image.
*/ inline EnvironmentImage& WithName(const char* value) { SetName(value); return *this;} /** *The description of the Docker image.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the Docker image.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the Docker image.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the Docker image.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the Docker image.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the Docker image.
*/ inline EnvironmentImage& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the Docker image.
*/ inline EnvironmentImage& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the Docker image.
*/ inline EnvironmentImage& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A list of environment image versions.
*/ inline const Aws::VectorA list of environment image versions.
*/ inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; } /** *A list of environment image versions.
*/ inline void SetVersions(const Aws::VectorA list of environment image versions.
*/ inline void SetVersions(Aws::VectorA list of environment image versions.
*/ inline EnvironmentImage& WithVersions(const Aws::VectorA list of environment image versions.
*/ inline EnvironmentImage& WithVersions(Aws::VectorA list of environment image versions.
*/ inline EnvironmentImage& AddVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } /** *A list of environment image versions.
*/ inline EnvironmentImage& AddVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions.push_back(std::move(value)); return *this; } /** *A list of environment image versions.
*/ inline EnvironmentImage& AddVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector