AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchJobDefinition.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/model/FileBatchJobDefinition.h>
9#include <aws/m2/model/ScriptBatchJobDefinition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MainframeModernization
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition();
36 AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FileBatchJobDefinition& GetFileBatchJobDefinition() const{ return m_fileBatchJobDefinition; }
46 inline bool FileBatchJobDefinitionHasBeenSet() const { return m_fileBatchJobDefinitionHasBeenSet; }
47 inline void SetFileBatchJobDefinition(const FileBatchJobDefinition& value) { m_fileBatchJobDefinitionHasBeenSet = true; m_fileBatchJobDefinition = value; }
48 inline void SetFileBatchJobDefinition(FileBatchJobDefinition&& value) { m_fileBatchJobDefinitionHasBeenSet = true; m_fileBatchJobDefinition = std::move(value); }
52
54
57 inline const ScriptBatchJobDefinition& GetScriptBatchJobDefinition() const{ return m_scriptBatchJobDefinition; }
58 inline bool ScriptBatchJobDefinitionHasBeenSet() const { return m_scriptBatchJobDefinitionHasBeenSet; }
59 inline void SetScriptBatchJobDefinition(const ScriptBatchJobDefinition& value) { m_scriptBatchJobDefinitionHasBeenSet = true; m_scriptBatchJobDefinition = value; }
60 inline void SetScriptBatchJobDefinition(ScriptBatchJobDefinition&& value) { m_scriptBatchJobDefinitionHasBeenSet = true; m_scriptBatchJobDefinition = std::move(value); }
64 private:
65
66 FileBatchJobDefinition m_fileBatchJobDefinition;
67 bool m_fileBatchJobDefinitionHasBeenSet = false;
68
69 ScriptBatchJobDefinition m_scriptBatchJobDefinition;
70 bool m_scriptBatchJobDefinitionHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace MainframeModernization
75} // namespace Aws
BatchJobDefinition & WithScriptBatchJobDefinition(const ScriptBatchJobDefinition &value)
void SetScriptBatchJobDefinition(const ScriptBatchJobDefinition &value)
void SetFileBatchJobDefinition(FileBatchJobDefinition &&value)
void SetFileBatchJobDefinition(const FileBatchJobDefinition &value)
BatchJobDefinition & WithFileBatchJobDefinition(const FileBatchJobDefinition &value)
AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition(Aws::Utils::Json::JsonView jsonValue)
BatchJobDefinition & WithScriptBatchJobDefinition(ScriptBatchJobDefinition &&value)
BatchJobDefinition & WithFileBatchJobDefinition(FileBatchJobDefinition &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const FileBatchJobDefinition & GetFileBatchJobDefinition() const
AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition()
const ScriptBatchJobDefinition & GetScriptBatchJobDefinition() const
void SetScriptBatchJobDefinition(ScriptBatchJobDefinition &&value)
Aws::Utils::Json::JsonValue JsonValue