/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A SageMaker image. A SageMaker image represents a set of container images
* that are derived from a common base container image. Each of these container
* images is represented by a SageMaker ImageVersion
.See
* Also:
AWS API
* Reference
When the image was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the image was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the image was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the image was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the image was created.
*/ inline Image& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the image was created.
*/ inline Image& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The description of the image.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the image.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the image.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the image.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the image.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the image.
*/ inline Image& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the image.
*/ inline Image& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the image.
*/ inline Image& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The name of the image as displayed.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The name of the image as displayed.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The name of the image as displayed.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The name of the image as displayed.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The name of the image as displayed.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The name of the image as displayed.
*/ inline Image& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The name of the image as displayed.
*/ inline Image& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The name of the image as displayed.
*/ inline Image& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline Image& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline Image& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *When a create, update, or delete operation fails, the reason for the * failure.
*/ inline Image& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The ARN of the image.
*/ inline const Aws::String& GetImageArn() const{ return m_imageArn; } /** *The ARN of the image.
*/ inline bool ImageArnHasBeenSet() const { return m_imageArnHasBeenSet; } /** *The ARN of the image.
*/ inline void SetImageArn(const Aws::String& value) { m_imageArnHasBeenSet = true; m_imageArn = value; } /** *The ARN of the image.
*/ inline void SetImageArn(Aws::String&& value) { m_imageArnHasBeenSet = true; m_imageArn = std::move(value); } /** *The ARN of the image.
*/ inline void SetImageArn(const char* value) { m_imageArnHasBeenSet = true; m_imageArn.assign(value); } /** *The ARN of the image.
*/ inline Image& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;} /** *The ARN of the image.
*/ inline Image& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;} /** *The ARN of the image.
*/ inline Image& WithImageArn(const char* value) { SetImageArn(value); return *this;} /** *The name of the image.
*/ inline const Aws::String& GetImageName() const{ return m_imageName; } /** *The name of the image.
*/ inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; } /** *The name of the image.
*/ inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; } /** *The name of the image.
*/ inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); } /** *The name of the image.
*/ inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); } /** *The name of the image.
*/ inline Image& WithImageName(const Aws::String& value) { SetImageName(value); return *this;} /** *The name of the image.
*/ inline Image& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;} /** *The name of the image.
*/ inline Image& WithImageName(const char* value) { SetImageName(value); return *this;} /** *The status of the image.
*/ inline const ImageStatus& GetImageStatus() const{ return m_imageStatus; } /** *The status of the image.
*/ inline bool ImageStatusHasBeenSet() const { return m_imageStatusHasBeenSet; } /** *The status of the image.
*/ inline void SetImageStatus(const ImageStatus& value) { m_imageStatusHasBeenSet = true; m_imageStatus = value; } /** *The status of the image.
*/ inline void SetImageStatus(ImageStatus&& value) { m_imageStatusHasBeenSet = true; m_imageStatus = std::move(value); } /** *The status of the image.
*/ inline Image& WithImageStatus(const ImageStatus& value) { SetImageStatus(value); return *this;} /** *The status of the image.
*/ inline Image& WithImageStatus(ImageStatus&& value) { SetImageStatus(std::move(value)); return *this;} /** *When the image was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the image was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the image was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the image was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the image was last modified.
*/ inline Image& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *When the image was last modified.
*/ inline Image& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::String m_imageArn; bool m_imageArnHasBeenSet = false; Aws::String m_imageName; bool m_imageNameHasBeenSet = false; ImageStatus m_imageStatus; bool m_imageStatusHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws