AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransformJobDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/BatchStrategy.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/sagemaker/model/TransformInput.h>
11#include <aws/sagemaker/model/TransformOutput.h>
12#include <aws/sagemaker/model/TransformResources.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SAGEMAKER_API TransformJobDefinition();
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline int GetMaxConcurrentTransforms() const{ return m_maxConcurrentTransforms; }
52 inline bool MaxConcurrentTransformsHasBeenSet() const { return m_maxConcurrentTransformsHasBeenSet; }
53 inline void SetMaxConcurrentTransforms(int value) { m_maxConcurrentTransformsHasBeenSet = true; m_maxConcurrentTransforms = value; }
56
58
62 inline int GetMaxPayloadInMB() const{ return m_maxPayloadInMB; }
63 inline bool MaxPayloadInMBHasBeenSet() const { return m_maxPayloadInMBHasBeenSet; }
64 inline void SetMaxPayloadInMB(int value) { m_maxPayloadInMBHasBeenSet = true; m_maxPayloadInMB = value; }
65 inline TransformJobDefinition& WithMaxPayloadInMB(int value) { SetMaxPayloadInMB(value); return *this;}
67
69
75 inline const BatchStrategy& GetBatchStrategy() const{ return m_batchStrategy; }
76 inline bool BatchStrategyHasBeenSet() const { return m_batchStrategyHasBeenSet; }
77 inline void SetBatchStrategy(const BatchStrategy& value) { m_batchStrategyHasBeenSet = true; m_batchStrategy = value; }
78 inline void SetBatchStrategy(BatchStrategy&& value) { m_batchStrategyHasBeenSet = true; m_batchStrategy = std::move(value); }
79 inline TransformJobDefinition& WithBatchStrategy(const BatchStrategy& value) { SetBatchStrategy(value); return *this;}
80 inline TransformJobDefinition& WithBatchStrategy(BatchStrategy&& value) { SetBatchStrategy(std::move(value)); return *this;}
82
84
88 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
89 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
90 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
91 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
94 inline TransformJobDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
95 inline TransformJobDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
96 inline TransformJobDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
97 inline TransformJobDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
98 inline TransformJobDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
99 inline TransformJobDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
100 inline TransformJobDefinition& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
102
104
108 inline const TransformInput& GetTransformInput() const{ return m_transformInput; }
109 inline bool TransformInputHasBeenSet() const { return m_transformInputHasBeenSet; }
110 inline void SetTransformInput(const TransformInput& value) { m_transformInputHasBeenSet = true; m_transformInput = value; }
111 inline void SetTransformInput(TransformInput&& value) { m_transformInputHasBeenSet = true; m_transformInput = std::move(value); }
112 inline TransformJobDefinition& WithTransformInput(const TransformInput& value) { SetTransformInput(value); return *this;}
113 inline TransformJobDefinition& WithTransformInput(TransformInput&& value) { SetTransformInput(std::move(value)); return *this;}
115
117
121 inline const TransformOutput& GetTransformOutput() const{ return m_transformOutput; }
122 inline bool TransformOutputHasBeenSet() const { return m_transformOutputHasBeenSet; }
123 inline void SetTransformOutput(const TransformOutput& value) { m_transformOutputHasBeenSet = true; m_transformOutput = value; }
124 inline void SetTransformOutput(TransformOutput&& value) { m_transformOutputHasBeenSet = true; m_transformOutput = std::move(value); }
126 inline TransformJobDefinition& WithTransformOutput(TransformOutput&& value) { SetTransformOutput(std::move(value)); return *this;}
128
130
133 inline const TransformResources& GetTransformResources() const{ return m_transformResources; }
134 inline bool TransformResourcesHasBeenSet() const { return m_transformResourcesHasBeenSet; }
135 inline void SetTransformResources(const TransformResources& value) { m_transformResourcesHasBeenSet = true; m_transformResources = value; }
136 inline void SetTransformResources(TransformResources&& value) { m_transformResourcesHasBeenSet = true; m_transformResources = std::move(value); }
140 private:
141
142 int m_maxConcurrentTransforms;
143 bool m_maxConcurrentTransformsHasBeenSet = false;
144
145 int m_maxPayloadInMB;
146 bool m_maxPayloadInMBHasBeenSet = false;
147
148 BatchStrategy m_batchStrategy;
149 bool m_batchStrategyHasBeenSet = false;
150
152 bool m_environmentHasBeenSet = false;
153
154 TransformInput m_transformInput;
155 bool m_transformInputHasBeenSet = false;
156
157 TransformOutput m_transformOutput;
158 bool m_transformOutputHasBeenSet = false;
159
160 TransformResources m_transformResources;
161 bool m_transformResourcesHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace SageMaker
166} // namespace Aws
TransformJobDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
TransformJobDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
TransformJobDefinition & WithTransformResources(TransformResources &&value)
TransformJobDefinition & WithMaxConcurrentTransforms(int value)
AWS_SAGEMAKER_API TransformJobDefinition(Aws::Utils::Json::JsonView jsonValue)
TransformJobDefinition & WithMaxPayloadInMB(int value)
TransformJobDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
TransformJobDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
TransformJobDefinition & WithTransformResources(const TransformResources &value)
TransformJobDefinition & WithTransformInput(TransformInput &&value)
TransformJobDefinition & WithTransformInput(const TransformInput &value)
void SetTransformOutput(const TransformOutput &value)
TransformJobDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
TransformJobDefinition & WithTransformOutput(TransformOutput &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API TransformJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
TransformJobDefinition & WithBatchStrategy(BatchStrategy &&value)
void SetTransformResources(TransformResources &&value)
void SetTransformInput(const TransformInput &value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
const TransformResources & GetTransformResources() const
TransformJobDefinition & WithBatchStrategy(const BatchStrategy &value)
void SetTransformResources(const TransformResources &value)
TransformJobDefinition & AddEnvironment(const char *key, Aws::String &&value)
TransformJobDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
void SetBatchStrategy(const BatchStrategy &value)
TransformJobDefinition & AddEnvironment(Aws::String &&key, const char *value)
TransformJobDefinition & AddEnvironment(const char *key, const char *value)
TransformJobDefinition & WithTransformOutput(const TransformOutput &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
Aws::Utils::Json::JsonValue JsonValue