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

Returns the request structure for the get artifact request.

See * Also:

AWS * API Reference

*/ class GetArtifactUrlRequest : public AmplifyRequest { public: AWS_AMPLIFY_API GetArtifactUrlRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetArtifactUrl"; } AWS_AMPLIFY_API Aws::String SerializePayload() const override; /** *

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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

The unique ID for an artifact.

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