/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns a summary of a pipeline.See Also:
AWS
* API Reference
The name of the pipeline.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the pipeline.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the pipeline.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the pipeline.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the pipeline.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the pipeline.
*/ inline PipelineSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the pipeline.
*/ inline PipelineSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the pipeline.
*/ inline PipelineSummary& WithName(const char* value) { SetName(value); return *this;} /** *The version number of the pipeline.
*/ inline int GetVersion() const{ return m_version; } /** *The version number of the pipeline.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version number of the pipeline.
*/ inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; } /** *The version number of the pipeline.
*/ inline PipelineSummary& WithVersion(int value) { SetVersion(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 PipelineSummary& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The date and time the pipeline was created, in timestamp format.
*/ inline PipelineSummary& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The date and time of the last update to the pipeline, in timestamp * format.
*/ inline const Aws::Utils::DateTime& GetUpdated() const{ return m_updated; } /** *The date and time of the last update to the pipeline, in timestamp * format.
*/ inline bool UpdatedHasBeenSet() const { return m_updatedHasBeenSet; } /** *The date and time of the last update to the pipeline, in timestamp * format.
*/ inline void SetUpdated(const Aws::Utils::DateTime& value) { m_updatedHasBeenSet = true; m_updated = value; } /** *The date and time of the last update to the pipeline, in timestamp * format.
*/ inline void SetUpdated(Aws::Utils::DateTime&& value) { m_updatedHasBeenSet = true; m_updated = std::move(value); } /** *The date and time of the last update to the pipeline, in timestamp * format.
*/ inline PipelineSummary& WithUpdated(const Aws::Utils::DateTime& value) { SetUpdated(value); return *this;} /** *The date and time of the last update to the pipeline, in timestamp * format.
*/ inline PipelineSummary& WithUpdated(Aws::Utils::DateTime&& value) { SetUpdated(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; int m_version; bool m_versionHasBeenSet = false; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; Aws::Utils::DateTime m_updated; bool m_updatedHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws