AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThirdPartyJobData.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
40 {
41 public:
42 AWS_CODEPIPELINE_API ThirdPartyJobData();
43 AWS_CODEPIPELINE_API ThirdPartyJobData(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CODEPIPELINE_API ThirdPartyJobData& 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 ThirdPartyJobData& WithActionTypeId(const ActionTypeId& value) { SetActionTypeId(value); return *this;}
57 inline ThirdPartyJobData& 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); }
69 inline ThirdPartyJobData& 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 ThirdPartyJobData& WithPipelineContext(const PipelineContext& value) { SetPipelineContext(value); return *this;}
83 inline ThirdPartyJobData& WithPipelineContext(PipelineContext&& value) { SetPipelineContext(std::move(value)); return *this;}
85
87
94 inline const Aws::Vector<Artifact>& GetInputArtifacts() const{ return m_inputArtifacts; }
95 inline bool InputArtifactsHasBeenSet() const { return m_inputArtifactsHasBeenSet; }
96 inline void SetInputArtifacts(const Aws::Vector<Artifact>& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = value; }
97 inline void SetInputArtifacts(Aws::Vector<Artifact>&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::move(value); }
98 inline ThirdPartyJobData& WithInputArtifacts(const Aws::Vector<Artifact>& value) { SetInputArtifacts(value); return *this;}
99 inline ThirdPartyJobData& WithInputArtifacts(Aws::Vector<Artifact>&& value) { SetInputArtifacts(std::move(value)); return *this;}
100 inline ThirdPartyJobData& AddInputArtifacts(const Artifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.push_back(value); return *this; }
101 inline ThirdPartyJobData& AddInputArtifacts(Artifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.push_back(std::move(value)); return *this; }
103
105
110 inline const Aws::Vector<Artifact>& GetOutputArtifacts() const{ return m_outputArtifacts; }
111 inline bool OutputArtifactsHasBeenSet() const { return m_outputArtifactsHasBeenSet; }
112 inline void SetOutputArtifacts(const Aws::Vector<Artifact>& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = value; }
113 inline void SetOutputArtifacts(Aws::Vector<Artifact>&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::move(value); }
115 inline ThirdPartyJobData& WithOutputArtifacts(Aws::Vector<Artifact>&& value) { SetOutputArtifacts(std::move(value)); return *this;}
116 inline ThirdPartyJobData& AddOutputArtifacts(const Artifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(value); return *this; }
117 inline ThirdPartyJobData& AddOutputArtifacts(Artifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.push_back(std::move(value)); return *this; }
119
121
128 inline const AWSSessionCredentials& GetArtifactCredentials() const{ return m_artifactCredentials; }
129 inline bool ArtifactCredentialsHasBeenSet() const { return m_artifactCredentialsHasBeenSet; }
130 inline void SetArtifactCredentials(const AWSSessionCredentials& value) { m_artifactCredentialsHasBeenSet = true; m_artifactCredentials = value; }
131 inline void SetArtifactCredentials(AWSSessionCredentials&& value) { m_artifactCredentialsHasBeenSet = true; m_artifactCredentials = std::move(value); }
135
137
141 inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; }
142 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
143 inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; }
144 inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); }
145 inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); }
146 inline ThirdPartyJobData& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;}
147 inline ThirdPartyJobData& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;}
148 inline ThirdPartyJobData& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;}
150
152
157 inline const EncryptionKey& GetEncryptionKey() const{ return m_encryptionKey; }
158 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
159 inline void SetEncryptionKey(const EncryptionKey& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
160 inline void SetEncryptionKey(EncryptionKey&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
161 inline ThirdPartyJobData& WithEncryptionKey(const EncryptionKey& value) { SetEncryptionKey(value); return *this;}
162 inline ThirdPartyJobData& WithEncryptionKey(EncryptionKey&& value) { SetEncryptionKey(std::move(value)); return *this;}
164 private:
165
166 ActionTypeId m_actionTypeId;
167 bool m_actionTypeIdHasBeenSet = false;
168
169 ActionConfiguration m_actionConfiguration;
170 bool m_actionConfigurationHasBeenSet = false;
171
172 PipelineContext m_pipelineContext;
173 bool m_pipelineContextHasBeenSet = false;
174
175 Aws::Vector<Artifact> m_inputArtifacts;
176 bool m_inputArtifactsHasBeenSet = false;
177
178 Aws::Vector<Artifact> m_outputArtifacts;
179 bool m_outputArtifactsHasBeenSet = false;
180
181 AWSSessionCredentials m_artifactCredentials;
182 bool m_artifactCredentialsHasBeenSet = false;
183
184 Aws::String m_continuationToken;
185 bool m_continuationTokenHasBeenSet = false;
186
187 EncryptionKey m_encryptionKey;
188 bool m_encryptionKeyHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace CodePipeline
193} // namespace Aws
void SetInputArtifacts(const Aws::Vector< Artifact > &value)
ThirdPartyJobData & WithActionTypeId(const ActionTypeId &value)
const AWSSessionCredentials & GetArtifactCredentials() const
void SetOutputArtifacts(Aws::Vector< Artifact > &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputArtifacts(const Aws::Vector< Artifact > &value)
const ActionTypeId & GetActionTypeId() const
ThirdPartyJobData & WithOutputArtifacts(Aws::Vector< Artifact > &&value)
ThirdPartyJobData & WithArtifactCredentials(AWSSessionCredentials &&value)
ThirdPartyJobData & WithEncryptionKey(const EncryptionKey &value)
const ActionConfiguration & GetActionConfiguration() const
ThirdPartyJobData & AddInputArtifacts(Artifact &&value)
ThirdPartyJobData & WithInputArtifacts(const Aws::Vector< Artifact > &value)
void SetEncryptionKey(const EncryptionKey &value)
void SetContinuationToken(const Aws::String &value)
const Aws::Vector< Artifact > & GetOutputArtifacts() const
ThirdPartyJobData & WithActionConfiguration(ActionConfiguration &&value)
ThirdPartyJobData & WithContinuationToken(Aws::String &&value)
void SetActionTypeId(const ActionTypeId &value)
void SetInputArtifacts(Aws::Vector< Artifact > &&value)
AWS_CODEPIPELINE_API ThirdPartyJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
ThirdPartyJobData & WithPipelineContext(PipelineContext &&value)
ThirdPartyJobData & AddOutputArtifacts(Artifact &&value)
void SetArtifactCredentials(const AWSSessionCredentials &value)
void SetArtifactCredentials(AWSSessionCredentials &&value)
ThirdPartyJobData & AddInputArtifacts(const Artifact &value)
ThirdPartyJobData & WithActionConfiguration(const ActionConfiguration &value)
const Aws::String & GetContinuationToken() const
ThirdPartyJobData & WithOutputArtifacts(const Aws::Vector< Artifact > &value)
void SetPipelineContext(const PipelineContext &value)
ThirdPartyJobData & WithContinuationToken(const char *value)
ThirdPartyJobData & WithActionTypeId(ActionTypeId &&value)
ThirdPartyJobData & WithPipelineContext(const PipelineContext &value)
ThirdPartyJobData & WithContinuationToken(const Aws::String &value)
ThirdPartyJobData & AddOutputArtifacts(const Artifact &value)
ThirdPartyJobData & WithEncryptionKey(EncryptionKey &&value)
ThirdPartyJobData & WithInputArtifacts(Aws::Vector< Artifact > &&value)
const PipelineContext & GetPipelineContext() const
void SetPipelineContext(PipelineContext &&value)
const EncryptionKey & GetEncryptionKey() const
void SetActionConfiguration(ActionConfiguration &&value)
ThirdPartyJobData & WithArtifactCredentials(const AWSSessionCredentials &value)
const Aws::Vector< Artifact > & GetInputArtifacts() const
void SetActionConfiguration(const ActionConfiguration &value)
AWS_CODEPIPELINE_API ThirdPartyJobData(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue