AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionExecutionOutput.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/codepipeline/model/ActionExecutionResult.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/codepipeline/model/ArtifactDetail.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CodePipeline
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CODEPIPELINE_API ActionExecutionOutput();
40 AWS_CODEPIPELINE_API ActionExecutionOutput(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<ArtifactDetail>& GetOutputArtifacts() const{ return m_outputArtifacts; }
51 inline bool OutputArtifactsHasBeenSet() const { return m_outputArtifactsHasBeenSet; }
52 inline void SetOutputArtifacts(const Aws::Vector<ArtifactDetail>& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = value; }
53 inline void SetOutputArtifacts(Aws::Vector<ArtifactDetail>&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::move(value); }
56 inline ActionExecutionOutput& AddOutputArtifacts(const ArtifactDetail& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(value); return *this; }
57 inline ActionExecutionOutput& AddOutputArtifacts(ArtifactDetail&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(std::move(value)); return *this; }
59
61
65 inline const ActionExecutionResult& GetExecutionResult() const{ return m_executionResult; }
66 inline bool ExecutionResultHasBeenSet() const { return m_executionResultHasBeenSet; }
67 inline void SetExecutionResult(const ActionExecutionResult& value) { m_executionResultHasBeenSet = true; m_executionResult = value; }
68 inline void SetExecutionResult(ActionExecutionResult&& value) { m_executionResultHasBeenSet = true; m_executionResult = std::move(value); }
70 inline ActionExecutionOutput& WithExecutionResult(ActionExecutionResult&& value) { SetExecutionResult(std::move(value)); return *this;}
72
74
78 inline const Aws::Map<Aws::String, Aws::String>& GetOutputVariables() const{ return m_outputVariables; }
79 inline bool OutputVariablesHasBeenSet() const { return m_outputVariablesHasBeenSet; }
80 inline void SetOutputVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = value; }
81 inline void SetOutputVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = std::move(value); }
84 inline ActionExecutionOutput& AddOutputVariables(const Aws::String& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; }
85 inline ActionExecutionOutput& AddOutputVariables(Aws::String&& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; }
86 inline ActionExecutionOutput& AddOutputVariables(const Aws::String& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; }
87 inline ActionExecutionOutput& AddOutputVariables(Aws::String&& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), std::move(value)); return *this; }
88 inline ActionExecutionOutput& AddOutputVariables(const char* key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; }
89 inline ActionExecutionOutput& AddOutputVariables(Aws::String&& key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; }
90 inline ActionExecutionOutput& AddOutputVariables(const char* key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; }
92 private:
93
94 Aws::Vector<ArtifactDetail> m_outputArtifacts;
95 bool m_outputArtifactsHasBeenSet = false;
96
97 ActionExecutionResult m_executionResult;
98 bool m_executionResultHasBeenSet = false;
99
100 Aws::Map<Aws::String, Aws::String> m_outputVariables;
101 bool m_outputVariablesHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CodePipeline
106} // namespace Aws
const ActionExecutionResult & GetExecutionResult() const
void SetOutputVariables(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< ArtifactDetail > & GetOutputArtifacts() const
void SetExecutionResult(const ActionExecutionResult &value)
void SetExecutionResult(ActionExecutionResult &&value)
ActionExecutionOutput & AddOutputArtifacts(const ArtifactDetail &value)
ActionExecutionOutput & WithExecutionResult(const ActionExecutionResult &value)
ActionExecutionOutput & WithOutputVariables(Aws::Map< Aws::String, Aws::String > &&value)
ActionExecutionOutput & WithOutputArtifacts(const Aws::Vector< ArtifactDetail > &value)
ActionExecutionOutput & AddOutputArtifacts(ArtifactDetail &&value)
void SetOutputVariables(const Aws::Map< Aws::String, Aws::String > &value)
ActionExecutionOutput & AddOutputVariables(const char *key, Aws::String &&value)
ActionExecutionOutput & WithOutputArtifacts(Aws::Vector< ArtifactDetail > &&value)
void SetOutputArtifacts(const Aws::Vector< ArtifactDetail > &value)
ActionExecutionOutput & AddOutputVariables(const char *key, const char *value)
void SetOutputArtifacts(Aws::Vector< ArtifactDetail > &&value)
ActionExecutionOutput & WithOutputVariables(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetOutputVariables() const
ActionExecutionOutput & WithExecutionResult(ActionExecutionResult &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ActionExecutionOutput & AddOutputVariables(Aws::String &&key, const char *value)
AWS_CODEPIPELINE_API ActionExecutionOutput(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionOutput & AddOutputVariables(const Aws::String &key, Aws::String &&value)
ActionExecutionOutput & AddOutputVariables(Aws::String &&key, Aws::String &&value)
AWS_CODEPIPELINE_API ActionExecutionOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionOutput & AddOutputVariables(Aws::String &&key, const Aws::String &value)
ActionExecutionOutput & AddOutputVariables(const Aws::String &key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue