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

Returns the result structure for the get artifact request.

See * Also:

AWS * API Reference

*/ class AWS_AMPLIFY_API GetArtifactUrlResult { public: GetArtifactUrlResult(); GetArtifactUrlResult(const Aws::AmazonWebServiceResult& result); GetArtifactUrlResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

*/ inline GetArtifactUrlResult& WithArtifactId(const char* value) { SetArtifactId(value); return *this;} /** *

The presigned URL for the artifact.

*/ inline const Aws::String& GetArtifactUrl() const{ return m_artifactUrl; } /** *

The presigned URL for the artifact.

*/ inline void SetArtifactUrl(const Aws::String& value) { m_artifactUrl = value; } /** *

The presigned URL for the artifact.

*/ inline void SetArtifactUrl(Aws::String&& value) { m_artifactUrl = std::move(value); } /** *

The presigned URL for the artifact.

*/ inline void SetArtifactUrl(const char* value) { m_artifactUrl.assign(value); } /** *

The presigned URL for the artifact.

*/ inline GetArtifactUrlResult& WithArtifactUrl(const Aws::String& value) { SetArtifactUrl(value); return *this;} /** *

The presigned URL for the artifact.

*/ inline GetArtifactUrlResult& WithArtifactUrl(Aws::String&& value) { SetArtifactUrl(std::move(value)); return *this;} /** *

The presigned URL for the artifact.

*/ inline GetArtifactUrlResult& WithArtifactUrl(const char* value) { SetArtifactUrl(value); return *this;} private: Aws::String m_artifactId; Aws::String m_artifactUrl; }; } // namespace Model } // namespace Amplify } // namespace Aws