/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns the result structure for the get artifact request. See
* Also:
AWS
* API Reference
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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetArtifactUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetArtifactUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetArtifactUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_artifactId; Aws::String m_artifactUrl; Aws::String m_requestId; }; } // namespace Model } // namespace Amplify } // namespace Aws