/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Artifact details for the action execution, such as the artifact
* location.See Also:
AWS
* API Reference
The artifact object name for the action execution.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The artifact object name for the action execution.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The artifact object name for the action execution.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The artifact object name for the action execution.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The artifact object name for the action execution.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The artifact object name for the action execution.
*/ inline ArtifactDetail& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The artifact object name for the action execution.
*/ inline ArtifactDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The artifact object name for the action execution.
*/ inline ArtifactDetail& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon S3 artifact location for the action execution.
*/ inline const S3Location& GetS3location() const{ return m_s3location; } /** *The Amazon S3 artifact location for the action execution.
*/ inline bool S3locationHasBeenSet() const { return m_s3locationHasBeenSet; } /** *The Amazon S3 artifact location for the action execution.
*/ inline void SetS3location(const S3Location& value) { m_s3locationHasBeenSet = true; m_s3location = value; } /** *The Amazon S3 artifact location for the action execution.
*/ inline void SetS3location(S3Location&& value) { m_s3locationHasBeenSet = true; m_s3location = std::move(value); } /** *The Amazon S3 artifact location for the action execution.
*/ inline ArtifactDetail& WithS3location(const S3Location& value) { SetS3location(value); return *this;} /** *The Amazon S3 artifact location for the action execution.
*/ inline ArtifactDetail& WithS3location(S3Location&& value) { SetS3location(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; S3Location m_s3location; bool m_s3locationHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws