AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PipeTargetBatchJobParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/BatchArrayProperties.h>
10#include <aws/pipes/model/BatchRetryStrategy.h>
11#include <aws/pipes/model/BatchContainerOverrides.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/pipes/model/BatchJobDependency.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Pipes
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_PIPES_API PipeTargetBatchJobParameters() = default;
44 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
54 inline const Aws::String& GetJobDefinition() const { return m_jobDefinition; }
55 inline bool JobDefinitionHasBeenSet() const { return m_jobDefinitionHasBeenSet; }
56 template<typename JobDefinitionT = Aws::String>
57 void SetJobDefinition(JobDefinitionT&& value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition = std::forward<JobDefinitionT>(value); }
58 template<typename JobDefinitionT = Aws::String>
59 PipeTargetBatchJobParameters& WithJobDefinition(JobDefinitionT&& value) { SetJobDefinition(std::forward<JobDefinitionT>(value)); return *this;}
61
63
68 inline const Aws::String& GetJobName() const { return m_jobName; }
69 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
70 template<typename JobNameT = Aws::String>
71 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
72 template<typename JobNameT = Aws::String>
73 PipeTargetBatchJobParameters& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
75
77
83 inline const BatchArrayProperties& GetArrayProperties() const { return m_arrayProperties; }
84 inline bool ArrayPropertiesHasBeenSet() const { return m_arrayPropertiesHasBeenSet; }
85 template<typename ArrayPropertiesT = BatchArrayProperties>
86 void SetArrayProperties(ArrayPropertiesT&& value) { m_arrayPropertiesHasBeenSet = true; m_arrayProperties = std::forward<ArrayPropertiesT>(value); }
87 template<typename ArrayPropertiesT = BatchArrayProperties>
88 PipeTargetBatchJobParameters& WithArrayProperties(ArrayPropertiesT&& value) { SetArrayProperties(std::forward<ArrayPropertiesT>(value)); return *this;}
90
92
96 inline const BatchRetryStrategy& GetRetryStrategy() const { return m_retryStrategy; }
97 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
98 template<typename RetryStrategyT = BatchRetryStrategy>
99 void SetRetryStrategy(RetryStrategyT&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::forward<RetryStrategyT>(value); }
100 template<typename RetryStrategyT = BatchRetryStrategy>
101 PipeTargetBatchJobParameters& WithRetryStrategy(RetryStrategyT&& value) { SetRetryStrategy(std::forward<RetryStrategyT>(value)); return *this;}
103
105
108 inline const BatchContainerOverrides& GetContainerOverrides() const { return m_containerOverrides; }
109 inline bool ContainerOverridesHasBeenSet() const { return m_containerOverridesHasBeenSet; }
110 template<typename ContainerOverridesT = BatchContainerOverrides>
111 void SetContainerOverrides(ContainerOverridesT&& value) { m_containerOverridesHasBeenSet = true; m_containerOverrides = std::forward<ContainerOverridesT>(value); }
112 template<typename ContainerOverridesT = BatchContainerOverrides>
113 PipeTargetBatchJobParameters& WithContainerOverrides(ContainerOverridesT&& value) { SetContainerOverrides(std::forward<ContainerOverridesT>(value)); return *this;}
115
117
126 inline const Aws::Vector<BatchJobDependency>& GetDependsOn() const { return m_dependsOn; }
127 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
128 template<typename DependsOnT = Aws::Vector<BatchJobDependency>>
129 void SetDependsOn(DependsOnT&& value) { m_dependsOnHasBeenSet = true; m_dependsOn = std::forward<DependsOnT>(value); }
130 template<typename DependsOnT = Aws::Vector<BatchJobDependency>>
131 PipeTargetBatchJobParameters& WithDependsOn(DependsOnT&& value) { SetDependsOn(std::forward<DependsOnT>(value)); return *this;}
132 template<typename DependsOnT = BatchJobDependency>
133 PipeTargetBatchJobParameters& AddDependsOn(DependsOnT&& value) { m_dependsOnHasBeenSet = true; m_dependsOn.emplace_back(std::forward<DependsOnT>(value)); return *this; }
135
137
143 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
144 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
145 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
146 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
147 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
148 PipeTargetBatchJobParameters& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
149 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
150 PipeTargetBatchJobParameters& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
151 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
152 }
154 private:
155
156 Aws::String m_jobDefinition;
157 bool m_jobDefinitionHasBeenSet = false;
158
159 Aws::String m_jobName;
160 bool m_jobNameHasBeenSet = false;
161
162 BatchArrayProperties m_arrayProperties;
163 bool m_arrayPropertiesHasBeenSet = false;
164
165 BatchRetryStrategy m_retryStrategy;
166 bool m_retryStrategyHasBeenSet = false;
167
168 BatchContainerOverrides m_containerOverrides;
169 bool m_containerOverridesHasBeenSet = false;
170
172 bool m_dependsOnHasBeenSet = false;
173
175 bool m_parametersHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace Pipes
180} // namespace Aws
PipeTargetBatchJobParameters & WithDependsOn(DependsOnT &&value)
PipeTargetBatchJobParameters & WithJobDefinition(JobDefinitionT &&value)
AWS_PIPES_API PipeTargetBatchJobParameters()=default
PipeTargetBatchJobParameters & WithParameters(ParametersT &&value)
PipeTargetBatchJobParameters & WithContainerOverrides(ContainerOverridesT &&value)
const BatchContainerOverrides & GetContainerOverrides() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
PipeTargetBatchJobParameters & WithArrayProperties(ArrayPropertiesT &&value)
AWS_PIPES_API PipeTargetBatchJobParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeTargetBatchJobParameters & WithJobName(JobNameT &&value)
PipeTargetBatchJobParameters & AddDependsOn(DependsOnT &&value)
AWS_PIPES_API PipeTargetBatchJobParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BatchJobDependency > & GetDependsOn() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
PipeTargetBatchJobParameters & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
PipeTargetBatchJobParameters & WithRetryStrategy(RetryStrategyT &&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