/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents information about the location of an artifact.See
* Also:
AWS
* API Reference
The type of artifact in the location.
*/ inline const ArtifactLocationType& GetType() const{ return m_type; } /** *The type of artifact in the location.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of artifact in the location.
*/ inline void SetType(const ArtifactLocationType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of artifact in the location.
*/ inline void SetType(ArtifactLocationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of artifact in the location.
*/ inline ArtifactLocation& WithType(const ArtifactLocationType& value) { SetType(value); return *this;} /** *The type of artifact in the location.
*/ inline ArtifactLocation& WithType(ArtifactLocationType&& value) { SetType(std::move(value)); return *this;} /** *The S3 bucket that contains the artifact.
*/ inline const S3ArtifactLocation& GetS3Location() const{ return m_s3Location; } /** *The S3 bucket that contains the artifact.
*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *The S3 bucket that contains the artifact.
*/ inline void SetS3Location(const S3ArtifactLocation& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *The S3 bucket that contains the artifact.
*/ inline void SetS3Location(S3ArtifactLocation&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *The S3 bucket that contains the artifact.
*/ inline ArtifactLocation& WithS3Location(const S3ArtifactLocation& value) { SetS3Location(value); return *this;} /** *The S3 bucket that contains the artifact.
*/ inline ArtifactLocation& WithS3Location(S3ArtifactLocation&& value) { SetS3Location(std::move(value)); return *this;} private: ArtifactLocationType m_type; bool m_typeHasBeenSet = false; S3ArtifactLocation m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws