/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Amplify { namespace Model { /** *

Describes an artifact.

See Also:

AWS * API Reference

*/ class Artifact { public: AWS_AMPLIFY_API Artifact(); AWS_AMPLIFY_API Artifact(Aws::Utils::Json::JsonView jsonValue); AWS_AMPLIFY_API Artifact& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The file name for the artifact.

*/ inline const Aws::String& GetArtifactFileName() const{ return m_artifactFileName; } /** *

The file name for the artifact.

*/ inline bool ArtifactFileNameHasBeenSet() const { return m_artifactFileNameHasBeenSet; } /** *

The file name for the artifact.

*/ inline void SetArtifactFileName(const Aws::String& value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName = value; } /** *

The file name for the artifact.

*/ inline void SetArtifactFileName(Aws::String&& value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName = std::move(value); } /** *

The file name for the artifact.

*/ inline void SetArtifactFileName(const char* value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName.assign(value); } /** *

The file name for the artifact.

*/ inline Artifact& WithArtifactFileName(const Aws::String& value) { SetArtifactFileName(value); return *this;} /** *

The file name for the artifact.

*/ inline Artifact& WithArtifactFileName(Aws::String&& value) { SetArtifactFileName(std::move(value)); return *this;} /** *

The file name for the artifact.

*/ inline Artifact& WithArtifactFileName(const char* value) { SetArtifactFileName(value); return *this;} /** *

The unique ID for the artifact.

*/ inline const Aws::String& GetArtifactId() const{ return m_artifactId; } /** *

The unique ID for the artifact.

*/ inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; } /** *

The unique ID for the artifact.

*/ inline void SetArtifactId(const Aws::String& value) { m_artifactIdHasBeenSet = true; m_artifactId = value; } /** *

The unique ID for the artifact.

*/ inline void SetArtifactId(Aws::String&& value) { m_artifactIdHasBeenSet = true; m_artifactId = std::move(value); } /** *

The unique ID for the artifact.

*/ inline void SetArtifactId(const char* value) { m_artifactIdHasBeenSet = true; m_artifactId.assign(value); } /** *

The unique ID for the artifact.

*/ inline Artifact& WithArtifactId(const Aws::String& value) { SetArtifactId(value); return *this;} /** *

The unique ID for the artifact.

*/ inline Artifact& WithArtifactId(Aws::String&& value) { SetArtifactId(std::move(value)); return *this;} /** *

The unique ID for the artifact.

*/ inline Artifact& WithArtifactId(const char* value) { SetArtifactId(value); return *this;} private: Aws::String m_artifactFileName; bool m_artifactFileNameHasBeenSet = false; Aws::String m_artifactId; bool m_artifactIdHasBeenSet = false; }; } // namespace Model } // namespace Amplify } // namespace Aws