AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ActionTypeIdT = ActionTypeId>
55 void SetActionTypeId(ActionTypeIdT&& value) { m_actionTypeIdHasBeenSet = true; m_actionTypeId = std::forward<ActionTypeIdT>(value); }
56 template<typename ActionTypeIdT = ActionTypeId>
57 ThirdPartyJobData& WithActionTypeId(ActionTypeIdT&& value) { SetActionTypeId(std::forward<ActionTypeIdT>(value)); return *this;}
59
61
64 inline const ActionConfiguration& GetActionConfiguration() const { return m_actionConfiguration; }
65 inline bool ActionConfigurationHasBeenSet() const { return m_actionConfigurationHasBeenSet; }
66 template<typename ActionConfigurationT = ActionConfiguration>
67 void SetActionConfiguration(ActionConfigurationT&& value) { m_actionConfigurationHasBeenSet = true; m_actionConfiguration = std::forward<ActionConfigurationT>(value); }
68 template<typename ActionConfigurationT = ActionConfiguration>
69 ThirdPartyJobData& WithActionConfiguration(ActionConfigurationT&& value) { SetActionConfiguration(std::forward<ActionConfigurationT>(value)); return *this;}
71
73
78 inline const PipelineContext& GetPipelineContext() const { return m_pipelineContext; }
79 inline bool PipelineContextHasBeenSet() const { return m_pipelineContextHasBeenSet; }
80 template<typename PipelineContextT = PipelineContext>
81 void SetPipelineContext(PipelineContextT&& value) { m_pipelineContextHasBeenSet = true; m_pipelineContext = std::forward<PipelineContextT>(value); }
82 template<typename PipelineContextT = PipelineContext>
83 ThirdPartyJobData& WithPipelineContext(PipelineContextT&& value) { SetPipelineContext(std::forward<PipelineContextT>(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 template<typename InputArtifactsT = Aws::Vector<Artifact>>
97 void SetInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::forward<InputArtifactsT>(value); }
98 template<typename InputArtifactsT = Aws::Vector<Artifact>>
99 ThirdPartyJobData& WithInputArtifacts(InputArtifactsT&& value) { SetInputArtifacts(std::forward<InputArtifactsT>(value)); return *this;}
100 template<typename InputArtifactsT = Artifact>
101 ThirdPartyJobData& AddInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace_back(std::forward<InputArtifactsT>(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 template<typename OutputArtifactsT = Aws::Vector<Artifact>>
113 void SetOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::forward<OutputArtifactsT>(value); }
114 template<typename OutputArtifactsT = Aws::Vector<Artifact>>
115 ThirdPartyJobData& WithOutputArtifacts(OutputArtifactsT&& value) { SetOutputArtifacts(std::forward<OutputArtifactsT>(value)); return *this;}
116 template<typename OutputArtifactsT = Artifact>
117 ThirdPartyJobData& AddOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace_back(std::forward<OutputArtifactsT>(value)); return *this; }
119
121
128 inline const AWSSessionCredentials& GetArtifactCredentials() const { return m_artifactCredentials; }
129 inline bool ArtifactCredentialsHasBeenSet() const { return m_artifactCredentialsHasBeenSet; }
130 template<typename ArtifactCredentialsT = AWSSessionCredentials>
131 void SetArtifactCredentials(ArtifactCredentialsT&& value) { m_artifactCredentialsHasBeenSet = true; m_artifactCredentials = std::forward<ArtifactCredentialsT>(value); }
132 template<typename ArtifactCredentialsT = AWSSessionCredentials>
133 ThirdPartyJobData& WithArtifactCredentials(ArtifactCredentialsT&& value) { SetArtifactCredentials(std::forward<ArtifactCredentialsT>(value)); return *this;}
135
137
141 inline const Aws::String& GetContinuationToken() const { return m_continuationToken; }
142 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
143 template<typename ContinuationTokenT = Aws::String>
144 void SetContinuationToken(ContinuationTokenT&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::forward<ContinuationTokenT>(value); }
145 template<typename ContinuationTokenT = Aws::String>
146 ThirdPartyJobData& WithContinuationToken(ContinuationTokenT&& value) { SetContinuationToken(std::forward<ContinuationTokenT>(value)); return *this;}
148
150
155 inline const EncryptionKey& GetEncryptionKey() const { return m_encryptionKey; }
156 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
157 template<typename EncryptionKeyT = EncryptionKey>
158 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
159 template<typename EncryptionKeyT = EncryptionKey>
160 ThirdPartyJobData& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
162 private:
163
164 ActionTypeId m_actionTypeId;
165 bool m_actionTypeIdHasBeenSet = false;
166
167 ActionConfiguration m_actionConfiguration;
168 bool m_actionConfigurationHasBeenSet = false;
169
170 PipelineContext m_pipelineContext;
171 bool m_pipelineContextHasBeenSet = false;
172
173 Aws::Vector<Artifact> m_inputArtifacts;
174 bool m_inputArtifactsHasBeenSet = false;
175
176 Aws::Vector<Artifact> m_outputArtifacts;
177 bool m_outputArtifactsHasBeenSet = false;
178
179 AWSSessionCredentials m_artifactCredentials;
180 bool m_artifactCredentialsHasBeenSet = false;
181
182 Aws::String m_continuationToken;
183 bool m_continuationTokenHasBeenSet = false;
184
185 EncryptionKey m_encryptionKey;
186 bool m_encryptionKeyHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace CodePipeline
191} // namespace Aws
const AWSSessionCredentials & GetArtifactCredentials() const
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArtifactCredentials(ArtifactCredentialsT &&value)
ThirdPartyJobData & WithActionConfiguration(ActionConfigurationT &&value)
void SetContinuationToken(ContinuationTokenT &&value)
ThirdPartyJobData & WithContinuationToken(ContinuationTokenT &&value)
const ActionTypeId & GetActionTypeId() const
ThirdPartyJobData & WithInputArtifacts(InputArtifactsT &&value)
void SetInputArtifacts(InputArtifactsT &&value)
void SetEncryptionKey(EncryptionKeyT &&value)
const ActionConfiguration & GetActionConfiguration() const
ThirdPartyJobData & AddOutputArtifacts(OutputArtifactsT &&value)
const Aws::Vector< Artifact > & GetOutputArtifacts() const
AWS_CODEPIPELINE_API ThirdPartyJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContinuationToken() const
void SetActionConfiguration(ActionConfigurationT &&value)
void SetOutputArtifacts(OutputArtifactsT &&value)
ThirdPartyJobData & AddInputArtifacts(InputArtifactsT &&value)
ThirdPartyJobData & WithPipelineContext(PipelineContextT &&value)
ThirdPartyJobData & WithArtifactCredentials(ArtifactCredentialsT &&value)
ThirdPartyJobData & WithEncryptionKey(EncryptionKeyT &&value)
const PipelineContext & GetPipelineContext() const
AWS_CODEPIPELINE_API ThirdPartyJobData()=default
const EncryptionKey & GetEncryptionKey() const
ThirdPartyJobData & WithOutputArtifacts(OutputArtifactsT &&value)
ThirdPartyJobData & WithActionTypeId(ActionTypeIdT &&value)
const Aws::Vector< Artifact > & GetInputArtifacts() const
void SetPipelineContext(PipelineContextT &&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