/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a resolved build artifact. A resolved artifact is an artifact that
* is built and deployed to the destination, such as Amazon S3.See
* Also:
AWS
* API Reference
Specifies the type of artifact.
*/ inline const ArtifactsType& GetType() const{ return m_type; } /** *Specifies the type of artifact.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Specifies the type of artifact.
*/ inline void SetType(const ArtifactsType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Specifies the type of artifact.
*/ inline void SetType(ArtifactsType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Specifies the type of artifact.
*/ inline ResolvedArtifact& WithType(const ArtifactsType& value) { SetType(value); return *this;} /** *Specifies the type of artifact.
*/ inline ResolvedArtifact& WithType(ArtifactsType&& value) { SetType(std::move(value)); return *this;} /** *The location of the artifact.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *The location of the artifact.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *The location of the artifact.
*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *The location of the artifact.
*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *The location of the artifact.
*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *The location of the artifact.
*/ inline ResolvedArtifact& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *The location of the artifact.
*/ inline ResolvedArtifact& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *The location of the artifact.
*/ inline ResolvedArtifact& WithLocation(const char* value) { SetLocation(value); return *this;} /** *The identifier of the artifact.
*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *The identifier of the artifact.
*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *The identifier of the artifact.
*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *The identifier of the artifact.
*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *The identifier of the artifact.
*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *The identifier of the artifact.
*/ inline ResolvedArtifact& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *The identifier of the artifact.
*/ inline ResolvedArtifact& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *The identifier of the artifact.
*/ inline ResolvedArtifact& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} private: ArtifactsType m_type; bool m_typeHasBeenSet = false; Aws::String m_location; bool m_locationHasBeenSet = false; Aws::String m_identifier; bool m_identifierHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws