/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a pipeline.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the pipeline.
*/ inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline PipelineMetadata& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline PipelineMetadata& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline PipelineMetadata& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;} /** *The date and time the pipeline was created, in timestamp format.
*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *The date and time the pipeline was created, in timestamp format.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *The date and time the pipeline was created, in timestamp format.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *The date and time the pipeline was created, in timestamp format.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *The date and time the pipeline was created, in timestamp format.
*/ inline PipelineMetadata& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The date and time the pipeline was created, in timestamp format.
*/ inline PipelineMetadata& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline const Aws::Utils::DateTime& GetUpdated() const{ return m_updated; } /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline bool UpdatedHasBeenSet() const { return m_updatedHasBeenSet; } /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline void SetUpdated(const Aws::Utils::DateTime& value) { m_updatedHasBeenSet = true; m_updated = value; } /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline void SetUpdated(Aws::Utils::DateTime&& value) { m_updatedHasBeenSet = true; m_updated = std::move(value); } /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline PipelineMetadata& WithUpdated(const Aws::Utils::DateTime& value) { SetUpdated(value); return *this;} /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline PipelineMetadata& WithUpdated(Aws::Utils::DateTime&& value) { SetUpdated(std::move(value)); return *this;} private: Aws::String m_pipelineArn; bool m_pipelineArnHasBeenSet; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet; Aws::Utils::DateTime m_updated; bool m_updatedHasBeenSet; }; } // namespace Model } // namespace CodePipeline } // namespace Aws