122 lines
3.3 KiB
C
122 lines
3.3 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/amplify/Amplify_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Amplify
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p> Returns the result structure for the get artifact request. </p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrlResult">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_AMPLIFY_API GetArtifactUrlResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetArtifactUrlResult();
|
|||
|
|
GetArtifactUrlResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetArtifactUrlResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID for an artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetArtifactId() const{ return m_artifactId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID for an artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArtifactId(const Aws::String& value) { m_artifactId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID for an artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArtifactId(Aws::String&& value) { m_artifactId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID for an artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArtifactId(const char* value) { m_artifactId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID for an artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetArtifactUrlResult& WithArtifactId(const Aws::String& value) { SetArtifactId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID for an artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetArtifactUrlResult& WithArtifactId(Aws::String&& value) { SetArtifactId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID for an artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetArtifactUrlResult& WithArtifactId(const char* value) { SetArtifactId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The presigned URL for the artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetArtifactUrl() const{ return m_artifactUrl; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The presigned URL for the artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArtifactUrl(const Aws::String& value) { m_artifactUrl = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The presigned URL for the artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArtifactUrl(Aws::String&& value) { m_artifactUrl = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The presigned URL for the artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArtifactUrl(const char* value) { m_artifactUrl.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The presigned URL for the artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetArtifactUrlResult& WithArtifactUrl(const Aws::String& value) { SetArtifactUrl(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The presigned URL for the artifact. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetArtifactUrlResult& WithArtifactUrl(Aws::String&& value) { SetArtifactUrl(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The presigned URL for the artifact. </p>
|
|||
|
|
*/
|
|||
|
|
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
|