/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Lists a summary of the properties of an artifact. An artifact represents a
* URI addressable object or data. Some examples are a dataset and a
* model.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the artifact.
*/ inline const Aws::String& GetArtifactArn() const{ return m_artifactArn; } /** *The Amazon Resource Name (ARN) of the artifact.
*/ inline bool ArtifactArnHasBeenSet() const { return m_artifactArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the artifact.
*/ inline void SetArtifactArn(const Aws::String& value) { m_artifactArnHasBeenSet = true; m_artifactArn = value; } /** *The Amazon Resource Name (ARN) of the artifact.
*/ inline void SetArtifactArn(Aws::String&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the artifact.
*/ inline void SetArtifactArn(const char* value) { m_artifactArnHasBeenSet = true; m_artifactArn.assign(value); } /** *The Amazon Resource Name (ARN) of the artifact.
*/ inline ArtifactSummary& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the artifact.
*/ inline ArtifactSummary& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the artifact.
*/ inline ArtifactSummary& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;} /** *The name of the artifact.
*/ inline const Aws::String& GetArtifactName() const{ return m_artifactName; } /** *The name of the artifact.
*/ inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; } /** *The name of the artifact.
*/ inline void SetArtifactName(const Aws::String& value) { m_artifactNameHasBeenSet = true; m_artifactName = value; } /** *The name of the artifact.
*/ inline void SetArtifactName(Aws::String&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::move(value); } /** *The name of the artifact.
*/ inline void SetArtifactName(const char* value) { m_artifactNameHasBeenSet = true; m_artifactName.assign(value); } /** *The name of the artifact.
*/ inline ArtifactSummary& WithArtifactName(const Aws::String& value) { SetArtifactName(value); return *this;} /** *The name of the artifact.
*/ inline ArtifactSummary& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;} /** *The name of the artifact.
*/ inline ArtifactSummary& WithArtifactName(const char* value) { SetArtifactName(value); return *this;} /** *The source of the artifact.
*/ inline const ArtifactSource& GetSource() const{ return m_source; } /** *The source of the artifact.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *The source of the artifact.
*/ inline void SetSource(const ArtifactSource& value) { m_sourceHasBeenSet = true; m_source = value; } /** *The source of the artifact.
*/ inline void SetSource(ArtifactSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *The source of the artifact.
*/ inline ArtifactSummary& WithSource(const ArtifactSource& value) { SetSource(value); return *this;} /** *The source of the artifact.
*/ inline ArtifactSummary& WithSource(ArtifactSource&& value) { SetSource(std::move(value)); return *this;} /** *The type of the artifact.
*/ inline const Aws::String& GetArtifactType() const{ return m_artifactType; } /** *The type of the artifact.
*/ inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; } /** *The type of the artifact.
*/ inline void SetArtifactType(const Aws::String& value) { m_artifactTypeHasBeenSet = true; m_artifactType = value; } /** *The type of the artifact.
*/ inline void SetArtifactType(Aws::String&& value) { m_artifactTypeHasBeenSet = true; m_artifactType = std::move(value); } /** *The type of the artifact.
*/ inline void SetArtifactType(const char* value) { m_artifactTypeHasBeenSet = true; m_artifactType.assign(value); } /** *The type of the artifact.
*/ inline ArtifactSummary& WithArtifactType(const Aws::String& value) { SetArtifactType(value); return *this;} /** *The type of the artifact.
*/ inline ArtifactSummary& WithArtifactType(Aws::String&& value) { SetArtifactType(std::move(value)); return *this;} /** *The type of the artifact.
*/ inline ArtifactSummary& WithArtifactType(const char* value) { SetArtifactType(value); return *this;} /** *When the artifact was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the artifact was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the artifact was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the artifact was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the artifact was created.
*/ inline ArtifactSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the artifact was created.
*/ inline ArtifactSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *When the artifact was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the artifact was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the artifact was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the artifact was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the artifact was last modified.
*/ inline ArtifactSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *When the artifact was last modified.
*/ inline ArtifactSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_artifactArn; bool m_artifactArnHasBeenSet = false; Aws::String m_artifactName; bool m_artifactNameHasBeenSet = false; ArtifactSource m_source; bool m_sourceHasBeenSet = false; Aws::String m_artifactType; bool m_artifactTypeHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws