AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetJobDefinition(const Aws::String& value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition = value; }
57 inline void SetJobDefinition(Aws::String&& value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition = std::move(value); }
58 inline void SetJobDefinition(const char* value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition.assign(value); }
59 inline PipeTargetBatchJobParameters& WithJobDefinition(const Aws::String& value) { SetJobDefinition(value); return *this;}
60 inline PipeTargetBatchJobParameters& WithJobDefinition(Aws::String&& value) { SetJobDefinition(std::move(value)); return *this;}
61 inline PipeTargetBatchJobParameters& WithJobDefinition(const char* value) { SetJobDefinition(value); return *this;}
63
65
70 inline const Aws::String& GetJobName() const{ return m_jobName; }
71 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
72 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
73 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
74 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
75 inline PipeTargetBatchJobParameters& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
76 inline PipeTargetBatchJobParameters& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
77 inline PipeTargetBatchJobParameters& WithJobName(const char* value) { SetJobName(value); return *this;}
79
81
87 inline const BatchArrayProperties& GetArrayProperties() const{ return m_arrayProperties; }
88 inline bool ArrayPropertiesHasBeenSet() const { return m_arrayPropertiesHasBeenSet; }
89 inline void SetArrayProperties(const BatchArrayProperties& value) { m_arrayPropertiesHasBeenSet = true; m_arrayProperties = value; }
90 inline void SetArrayProperties(BatchArrayProperties&& value) { m_arrayPropertiesHasBeenSet = true; m_arrayProperties = std::move(value); }
94
96
100 inline const BatchRetryStrategy& GetRetryStrategy() const{ return m_retryStrategy; }
101 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
102 inline void SetRetryStrategy(const BatchRetryStrategy& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = value; }
103 inline void SetRetryStrategy(BatchRetryStrategy&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::move(value); }
105 inline PipeTargetBatchJobParameters& WithRetryStrategy(BatchRetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;}
107
109
112 inline const BatchContainerOverrides& GetContainerOverrides() const{ return m_containerOverrides; }
113 inline bool ContainerOverridesHasBeenSet() const { return m_containerOverridesHasBeenSet; }
114 inline void SetContainerOverrides(const BatchContainerOverrides& value) { m_containerOverridesHasBeenSet = true; m_containerOverrides = value; }
115 inline void SetContainerOverrides(BatchContainerOverrides&& value) { m_containerOverridesHasBeenSet = true; m_containerOverrides = std::move(value); }
119
121
130 inline const Aws::Vector<BatchJobDependency>& GetDependsOn() const{ return m_dependsOn; }
131 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
132 inline void SetDependsOn(const Aws::Vector<BatchJobDependency>& value) { m_dependsOnHasBeenSet = true; m_dependsOn = value; }
133 inline void SetDependsOn(Aws::Vector<BatchJobDependency>&& value) { m_dependsOnHasBeenSet = true; m_dependsOn = std::move(value); }
136 inline PipeTargetBatchJobParameters& AddDependsOn(const BatchJobDependency& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(value); return *this; }
137 inline PipeTargetBatchJobParameters& AddDependsOn(BatchJobDependency&& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(std::move(value)); return *this; }
139
141
147 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
148 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
149 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
150 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
153 inline PipeTargetBatchJobParameters& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
154 inline PipeTargetBatchJobParameters& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
155 inline PipeTargetBatchJobParameters& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
156 inline PipeTargetBatchJobParameters& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
157 inline PipeTargetBatchJobParameters& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
158 inline PipeTargetBatchJobParameters& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
159 inline PipeTargetBatchJobParameters& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
161 private:
162
163 Aws::String m_jobDefinition;
164 bool m_jobDefinitionHasBeenSet = false;
165
166 Aws::String m_jobName;
167 bool m_jobNameHasBeenSet = false;
168
169 BatchArrayProperties m_arrayProperties;
170 bool m_arrayPropertiesHasBeenSet = false;
171
172 BatchRetryStrategy m_retryStrategy;
173 bool m_retryStrategyHasBeenSet = false;
174
175 BatchContainerOverrides m_containerOverrides;
176 bool m_containerOverridesHasBeenSet = false;
177
179 bool m_dependsOnHasBeenSet = false;
180
182 bool m_parametersHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace Pipes
187} // namespace Aws
void SetContainerOverrides(BatchContainerOverrides &&value)
PipeTargetBatchJobParameters & WithJobDefinition(const Aws::String &value)
PipeTargetBatchJobParameters & WithArrayProperties(const BatchArrayProperties &value)
PipeTargetBatchJobParameters & WithDependsOn(Aws::Vector< BatchJobDependency > &&value)
PipeTargetBatchJobParameters & WithJobDefinition(Aws::String &&value)
void SetDependsOn(Aws::Vector< BatchJobDependency > &&value)
const BatchContainerOverrides & GetContainerOverrides() const
PipeTargetBatchJobParameters & AddParameters(const Aws::String &key, const Aws::String &value)
void SetArrayProperties(const BatchArrayProperties &value)
PipeTargetBatchJobParameters & AddDependsOn(BatchJobDependency &&value)
PipeTargetBatchJobParameters & WithRetryStrategy(BatchRetryStrategy &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
PipeTargetBatchJobParameters & AddParameters(const char *key, const char *value)
AWS_PIPES_API PipeTargetBatchJobParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeTargetBatchJobParameters & AddParameters(Aws::String &&key, Aws::String &&value)
void SetDependsOn(const Aws::Vector< BatchJobDependency > &value)
PipeTargetBatchJobParameters & AddParameters(Aws::String &&key, const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &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(const Aws::String &key, Aws::String &&value)
void SetContainerOverrides(const BatchContainerOverrides &value)
PipeTargetBatchJobParameters & AddParameters(const char *key, Aws::String &&value)
PipeTargetBatchJobParameters & WithJobName(const char *value)
PipeTargetBatchJobParameters & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
PipeTargetBatchJobParameters & WithContainerOverrides(BatchContainerOverrides &&value)
PipeTargetBatchJobParameters & AddDependsOn(const BatchJobDependency &value)
PipeTargetBatchJobParameters & WithJobName(Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
PipeTargetBatchJobParameters & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
PipeTargetBatchJobParameters & WithRetryStrategy(const BatchRetryStrategy &value)
PipeTargetBatchJobParameters & WithDependsOn(const Aws::Vector< BatchJobDependency > &value)
PipeTargetBatchJobParameters & AddParameters(Aws::String &&key, const char *value)
PipeTargetBatchJobParameters & WithContainerOverrides(const BatchContainerOverrides &value)
PipeTargetBatchJobParameters & WithJobDefinition(const char *value)
PipeTargetBatchJobParameters & WithJobName(const Aws::String &value)
PipeTargetBatchJobParameters & WithArrayProperties(BatchArrayProperties &&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