/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the structure of actions and stages to be performed in the
* pipeline.See Also:
AWS
* API Reference
The name of the action to be performed.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the action to be performed.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the action to be performed.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the action to be performed.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the action to be performed.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the action to be performed.
*/ inline PipelineDeclaration& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the action to be performed.
*/ inline PipelineDeclaration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the action to be performed.
*/ inline PipelineDeclaration& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform
* actions with no actionRoleArn, or to use to assume roles for
* actions with an actionRoleArn.
Represents information about the S3 bucket where artifacts are stored for the * pipeline.
You must include either artifactStore or
* artifactStores in your pipeline, but you cannot use both. If you
* create a cross-region action in your pipeline, you must use
* artifactStores.
Represents information about the S3 bucket where artifacts are stored for the * pipeline.
You must include either artifactStore or
* artifactStores in your pipeline, but you cannot use both. If you
* create a cross-region action in your pipeline, you must use
* artifactStores.
Represents information about the S3 bucket where artifacts are stored for the * pipeline.
You must include either artifactStore or
* artifactStores in your pipeline, but you cannot use both. If you
* create a cross-region action in your pipeline, you must use
* artifactStores.
Represents information about the S3 bucket where artifacts are stored for the * pipeline.
You must include either artifactStore or
* artifactStores in your pipeline, but you cannot use both. If you
* create a cross-region action in your pipeline, you must use
* artifactStores.
Represents information about the S3 bucket where artifacts are stored for the * pipeline.
You must include either artifactStore or
* artifactStores in your pipeline, but you cannot use both. If you
* create a cross-region action in your pipeline, you must use
* artifactStores.
Represents information about the S3 bucket where artifacts are stored for the * pipeline.
You must include either artifactStore or
* artifactStores in your pipeline, but you cannot use both. If you
* create a cross-region action in your pipeline, you must use
* artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
A mapping of artifactStore objects and their corresponding AWS
* Regions. There must be an artifact store for the pipeline Region and for each
* cross-region action in the pipeline.
You must include either
* artifactStore or artifactStores in your pipeline, but
* you cannot use both. If you create a cross-region action in your pipeline, you
* must use artifactStores.
The stage in which to perform the action.
*/ inline const Aws::VectorThe stage in which to perform the action.
*/ inline bool StagesHasBeenSet() const { return m_stagesHasBeenSet; } /** *The stage in which to perform the action.
*/ inline void SetStages(const Aws::VectorThe stage in which to perform the action.
*/ inline void SetStages(Aws::VectorThe stage in which to perform the action.
*/ inline PipelineDeclaration& WithStages(const Aws::VectorThe stage in which to perform the action.
*/ inline PipelineDeclaration& WithStages(Aws::VectorThe stage in which to perform the action.
*/ inline PipelineDeclaration& AddStages(const StageDeclaration& value) { m_stagesHasBeenSet = true; m_stages.push_back(value); return *this; } /** *The stage in which to perform the action.
*/ inline PipelineDeclaration& AddStages(StageDeclaration&& value) { m_stagesHasBeenSet = true; m_stages.push_back(std::move(value)); return *this; } /** *The version number of the pipeline. A new pipeline always has a version * number of 1. This number is incremented when a pipeline is updated.
*/ inline int GetVersion() const{ return m_version; } /** *The version number of the pipeline. A new pipeline always has a version * number of 1. This number is incremented when a pipeline is updated.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version number of the pipeline. A new pipeline always has a version * number of 1. This number is incremented when a pipeline is updated.
*/ inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; } /** *The version number of the pipeline. A new pipeline always has a version * number of 1. This number is incremented when a pipeline is updated.
*/ inline PipelineDeclaration& WithVersion(int value) { SetVersion(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_roleArn; bool m_roleArnHasBeenSet; ArtifactStore m_artifactStore; bool m_artifactStoreHasBeenSet; Aws::Map