/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CodePipeline { namespace Model { /** *

Output details listed for an action execution, such as the action execution * result.

See Also:

AWS * API Reference

*/ class ActionExecutionOutput { public: AWS_CODEPIPELINE_API ActionExecutionOutput(); AWS_CODEPIPELINE_API ActionExecutionOutput(Aws::Utils::Json::JsonView jsonValue); AWS_CODEPIPELINE_API ActionExecutionOutput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline const Aws::Vector& GetOutputArtifacts() const{ return m_outputArtifacts; } /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline bool OutputArtifactsHasBeenSet() const { return m_outputArtifactsHasBeenSet; } /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline void SetOutputArtifacts(const Aws::Vector& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = value; } /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline void SetOutputArtifacts(Aws::Vector&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::move(value); } /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline ActionExecutionOutput& WithOutputArtifacts(const Aws::Vector& value) { SetOutputArtifacts(value); return *this;} /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline ActionExecutionOutput& WithOutputArtifacts(Aws::Vector&& value) { SetOutputArtifacts(std::move(value)); return *this;} /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline ActionExecutionOutput& AddOutputArtifacts(const ArtifactDetail& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(value); return *this; } /** *

Details of output artifacts of the action that correspond to the action * execution.

*/ inline ActionExecutionOutput& AddOutputArtifacts(ArtifactDetail&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(std::move(value)); return *this; } /** *

Execution result information listed in the output details for an action * execution.

*/ inline const ActionExecutionResult& GetExecutionResult() const{ return m_executionResult; } /** *

Execution result information listed in the output details for an action * execution.

*/ inline bool ExecutionResultHasBeenSet() const { return m_executionResultHasBeenSet; } /** *

Execution result information listed in the output details for an action * execution.

*/ inline void SetExecutionResult(const ActionExecutionResult& value) { m_executionResultHasBeenSet = true; m_executionResult = value; } /** *

Execution result information listed in the output details for an action * execution.

*/ inline void SetExecutionResult(ActionExecutionResult&& value) { m_executionResultHasBeenSet = true; m_executionResult = std::move(value); } /** *

Execution result information listed in the output details for an action * execution.

*/ inline ActionExecutionOutput& WithExecutionResult(const ActionExecutionResult& value) { SetExecutionResult(value); return *this;} /** *

Execution result information listed in the output details for an action * execution.

*/ inline ActionExecutionOutput& WithExecutionResult(ActionExecutionResult&& value) { SetExecutionResult(std::move(value)); return *this;} /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline const Aws::Map& GetOutputVariables() const{ return m_outputVariables; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline bool OutputVariablesHasBeenSet() const { return m_outputVariablesHasBeenSet; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline void SetOutputVariables(const Aws::Map& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = value; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline void SetOutputVariables(Aws::Map&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = std::move(value); } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& WithOutputVariables(const Aws::Map& value) { SetOutputVariables(value); return *this;} /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& WithOutputVariables(Aws::Map&& value) { SetOutputVariables(std::move(value)); return *this;} /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& AddOutputVariables(const Aws::String& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& AddOutputVariables(Aws::String&& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& AddOutputVariables(const Aws::String& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& AddOutputVariables(Aws::String&& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), std::move(value)); return *this; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& AddOutputVariables(const char* key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& AddOutputVariables(Aws::String&& key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; } /** *

The outputVariables field shows the key-value pairs that were output as part * of that execution.

*/ inline ActionExecutionOutput& AddOutputVariables(const char* key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; } private: Aws::Vector m_outputArtifacts; bool m_outputArtifactsHasBeenSet = false; ActionExecutionResult m_executionResult; bool m_executionResultHasBeenSet = false; Aws::Map m_outputVariables; bool m_outputVariablesHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws