AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobData.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ActionTypeId.h>
9#include <aws/codepipeline/model/ActionConfiguration.h>
10#include <aws/codepipeline/model/PipelineContext.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codepipeline/model/AWSSessionCredentials.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/codepipeline/model/EncryptionKey.h>
15#include <aws/codepipeline/model/Artifact.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CodePipeline
29{
30namespace Model
31{
32
39 class JobData
40 {
41 public:
42 AWS_CODEPIPELINE_API JobData();
43 AWS_CODEPIPELINE_API JobData(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CODEPIPELINE_API JobData& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const ActionTypeId& GetActionTypeId() const{ return m_actionTypeId; }
53 inline bool ActionTypeIdHasBeenSet() const { return m_actionTypeIdHasBeenSet; }
54 inline void SetActionTypeId(const ActionTypeId& value) { m_actionTypeIdHasBeenSet = true; m_actionTypeId = value; }
55 inline void SetActionTypeId(ActionTypeId&& value) { m_actionTypeIdHasBeenSet = true; m_actionTypeId = std::move(value); }
56 inline JobData& WithActionTypeId(const ActionTypeId& value) { SetActionTypeId(value); return *this;}
57 inline JobData& WithActionTypeId(ActionTypeId&& value) { SetActionTypeId(std::move(value)); return *this;}
59
61
64 inline const ActionConfiguration& GetActionConfiguration() const{ return m_actionConfiguration; }
65 inline bool ActionConfigurationHasBeenSet() const { return m_actionConfigurationHasBeenSet; }
66 inline void SetActionConfiguration(const ActionConfiguration& value) { m_actionConfigurationHasBeenSet = true; m_actionConfiguration = value; }
67 inline void SetActionConfiguration(ActionConfiguration&& value) { m_actionConfigurationHasBeenSet = true; m_actionConfiguration = std::move(value); }
68 inline JobData& WithActionConfiguration(const ActionConfiguration& value) { SetActionConfiguration(value); return *this;}
69 inline JobData& WithActionConfiguration(ActionConfiguration&& value) { SetActionConfiguration(std::move(value)); return *this;}
71
73
78 inline const PipelineContext& GetPipelineContext() const{ return m_pipelineContext; }
79 inline bool PipelineContextHasBeenSet() const { return m_pipelineContextHasBeenSet; }
80 inline void SetPipelineContext(const PipelineContext& value) { m_pipelineContextHasBeenSet = true; m_pipelineContext = value; }
81 inline void SetPipelineContext(PipelineContext&& value) { m_pipelineContextHasBeenSet = true; m_pipelineContext = std::move(value); }
82 inline JobData& WithPipelineContext(const PipelineContext& value) { SetPipelineContext(value); return *this;}
83 inline JobData& WithPipelineContext(PipelineContext&& value) { SetPipelineContext(std::move(value)); return *this;}
85
87
90 inline const Aws::Vector<Artifact>& GetInputArtifacts() const{ return m_inputArtifacts; }
91 inline bool InputArtifactsHasBeenSet() const { return m_inputArtifactsHasBeenSet; }
92 inline void SetInputArtifacts(const Aws::Vector<Artifact>& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = value; }
93 inline void SetInputArtifacts(Aws::Vector<Artifact>&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::move(value); }
94 inline JobData& WithInputArtifacts(const Aws::Vector<Artifact>& value) { SetInputArtifacts(value); return *this;}
95 inline JobData& WithInputArtifacts(Aws::Vector<Artifact>&& value) { SetInputArtifacts(std::move(value)); return *this;}
96 inline JobData& AddInputArtifacts(const Artifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.push_back(value); return *this; }
97 inline JobData& AddInputArtifacts(Artifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::Vector<Artifact>& GetOutputArtifacts() const{ return m_outputArtifacts; }
105 inline bool OutputArtifactsHasBeenSet() const { return m_outputArtifactsHasBeenSet; }
106 inline void SetOutputArtifacts(const Aws::Vector<Artifact>& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = value; }
107 inline void SetOutputArtifacts(Aws::Vector<Artifact>&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::move(value); }
108 inline JobData& WithOutputArtifacts(const Aws::Vector<Artifact>& value) { SetOutputArtifacts(value); return *this;}
109 inline JobData& WithOutputArtifacts(Aws::Vector<Artifact>&& value) { SetOutputArtifacts(std::move(value)); return *this;}
110 inline JobData& AddOutputArtifacts(const Artifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(value); return *this; }
111 inline JobData& AddOutputArtifacts(Artifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(std::move(value)); return *this; }
113
115
122 inline const AWSSessionCredentials& GetArtifactCredentials() const{ return m_artifactCredentials; }
123 inline bool ArtifactCredentialsHasBeenSet() const { return m_artifactCredentialsHasBeenSet; }
124 inline void SetArtifactCredentials(const AWSSessionCredentials& value) { m_artifactCredentialsHasBeenSet = true; m_artifactCredentials = value; }
125 inline void SetArtifactCredentials(AWSSessionCredentials&& value) { m_artifactCredentialsHasBeenSet = true; m_artifactCredentials = std::move(value); }
127 inline JobData& WithArtifactCredentials(AWSSessionCredentials&& value) { SetArtifactCredentials(std::move(value)); return *this;}
129
131
135 inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; }
136 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
137 inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; }
138 inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); }
139 inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); }
140 inline JobData& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;}
141 inline JobData& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;}
142 inline JobData& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;}
144
146
150 inline const EncryptionKey& GetEncryptionKey() const{ return m_encryptionKey; }
151 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
152 inline void SetEncryptionKey(const EncryptionKey& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
153 inline void SetEncryptionKey(EncryptionKey&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
154 inline JobData& WithEncryptionKey(const EncryptionKey& value) { SetEncryptionKey(value); return *this;}
155 inline JobData& WithEncryptionKey(EncryptionKey&& value) { SetEncryptionKey(std::move(value)); return *this;}
157 private:
158
159 ActionTypeId m_actionTypeId;
160 bool m_actionTypeIdHasBeenSet = false;
161
162 ActionConfiguration m_actionConfiguration;
163 bool m_actionConfigurationHasBeenSet = false;
164
165 PipelineContext m_pipelineContext;
166 bool m_pipelineContextHasBeenSet = false;
167
168 Aws::Vector<Artifact> m_inputArtifacts;
169 bool m_inputArtifactsHasBeenSet = false;
170
171 Aws::Vector<Artifact> m_outputArtifacts;
172 bool m_outputArtifactsHasBeenSet = false;
173
174 AWSSessionCredentials m_artifactCredentials;
175 bool m_artifactCredentialsHasBeenSet = false;
176
177 Aws::String m_continuationToken;
178 bool m_continuationTokenHasBeenSet = false;
179
180 EncryptionKey m_encryptionKey;
181 bool m_encryptionKeyHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace CodePipeline
186} // namespace Aws
const Aws::Vector< Artifact > & GetInputArtifacts() const
Definition JobData.h:90
void SetOutputArtifacts(Aws::Vector< Artifact > &&value)
Definition JobData.h:107
bool PipelineContextHasBeenSet() const
Definition JobData.h:79
void SetActionTypeId(const ActionTypeId &value)
Definition JobData.h:54
AWS_CODEPIPELINE_API JobData & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OutputArtifactsHasBeenSet() const
Definition JobData.h:105
bool InputArtifactsHasBeenSet() const
Definition JobData.h:91
const ActionTypeId & GetActionTypeId() const
Definition JobData.h:52
JobData & AddInputArtifacts(Artifact &&value)
Definition JobData.h:97
JobData & WithArtifactCredentials(AWSSessionCredentials &&value)
Definition JobData.h:127
void SetEncryptionKey(const EncryptionKey &value)
Definition JobData.h:152
JobData & AddOutputArtifacts(Artifact &&value)
Definition JobData.h:111
const ActionConfiguration & GetActionConfiguration() const
Definition JobData.h:64
const Aws::Vector< Artifact > & GetOutputArtifacts() const
Definition JobData.h:104
AWS_CODEPIPELINE_API JobData()
void SetInputArtifacts(const Aws::Vector< Artifact > &value)
Definition JobData.h:92
bool ActionConfigurationHasBeenSet() const
Definition JobData.h:65
const AWSSessionCredentials & GetArtifactCredentials() const
Definition JobData.h:122
JobData & WithActionTypeId(ActionTypeId &&value)
Definition JobData.h:57
bool ContinuationTokenHasBeenSet() const
Definition JobData.h:136
JobData & WithEncryptionKey(const EncryptionKey &value)
Definition JobData.h:154
void SetPipelineContext(PipelineContext &&value)
Definition JobData.h:81
void SetActionTypeId(ActionTypeId &&value)
Definition JobData.h:55
AWS_CODEPIPELINE_API JobData(Aws::Utils::Json::JsonView jsonValue)
JobData & WithContinuationToken(const Aws::String &value)
Definition JobData.h:140
JobData & WithPipelineContext(PipelineContext &&value)
Definition JobData.h:83
const Aws::String & GetContinuationToken() const
Definition JobData.h:135
JobData & WithActionConfiguration(ActionConfiguration &&value)
Definition JobData.h:69
void SetInputArtifacts(Aws::Vector< Artifact > &&value)
Definition JobData.h:93
JobData & WithPipelineContext(const PipelineContext &value)
Definition JobData.h:82
void SetEncryptionKey(EncryptionKey &&value)
Definition JobData.h:153
bool ActionTypeIdHasBeenSet() const
Definition JobData.h:53
JobData & WithOutputArtifacts(const Aws::Vector< Artifact > &value)
Definition JobData.h:108
JobData & WithOutputArtifacts(Aws::Vector< Artifact > &&value)
Definition JobData.h:109
const EncryptionKey & GetEncryptionKey() const
Definition JobData.h:150
const PipelineContext & GetPipelineContext() const
Definition JobData.h:78
JobData & WithActionConfiguration(const ActionConfiguration &value)
Definition JobData.h:68
JobData & WithInputArtifacts(Aws::Vector< Artifact > &&value)
Definition JobData.h:95
void SetContinuationToken(const Aws::String &value)
Definition JobData.h:137
void SetActionConfiguration(ActionConfiguration &&value)
Definition JobData.h:67
JobData & WithContinuationToken(Aws::String &&value)
Definition JobData.h:141
void SetArtifactCredentials(AWSSessionCredentials &&value)
Definition JobData.h:125
void SetPipelineContext(const PipelineContext &value)
Definition JobData.h:80
JobData & AddOutputArtifacts(const Artifact &value)
Definition JobData.h:110
JobData & WithEncryptionKey(EncryptionKey &&value)
Definition JobData.h:155
JobData & WithContinuationToken(const char *value)
Definition JobData.h:142
JobData & AddInputArtifacts(const Artifact &value)
Definition JobData.h:96
void SetActionConfiguration(const ActionConfiguration &value)
Definition JobData.h:66
JobData & WithInputArtifacts(const Aws::Vector< Artifact > &value)
Definition JobData.h:94
JobData & WithActionTypeId(const ActionTypeId &value)
Definition JobData.h:56
void SetArtifactCredentials(const AWSSessionCredentials &value)
Definition JobData.h:124
void SetOutputArtifacts(const Aws::Vector< Artifact > &value)
Definition JobData.h:106
JobData & WithArtifactCredentials(const AWSSessionCredentials &value)
Definition JobData.h:126
void SetContinuationToken(Aws::String &&value)
Definition JobData.h:138
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArtifactCredentialsHasBeenSet() const
Definition JobData.h:123
void SetContinuationToken(const char *value)
Definition JobData.h:139
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue