AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MainframeModernization {
21namespace Model {
22
29 public:
30 AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition() = default;
31 AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const FileBatchJobDefinition& GetFileBatchJobDefinition() const { return m_fileBatchJobDefinition; }
40 inline bool FileBatchJobDefinitionHasBeenSet() const { return m_fileBatchJobDefinitionHasBeenSet; }
41 template <typename FileBatchJobDefinitionT = FileBatchJobDefinition>
42 void SetFileBatchJobDefinition(FileBatchJobDefinitionT&& value) {
43 m_fileBatchJobDefinitionHasBeenSet = true;
44 m_fileBatchJobDefinition = std::forward<FileBatchJobDefinitionT>(value);
45 }
46 template <typename FileBatchJobDefinitionT = FileBatchJobDefinition>
47 BatchJobDefinition& WithFileBatchJobDefinition(FileBatchJobDefinitionT&& value) {
48 SetFileBatchJobDefinition(std::forward<FileBatchJobDefinitionT>(value));
49 return *this;
50 }
52
54
57 inline const ScriptBatchJobDefinition& GetScriptBatchJobDefinition() const { return m_scriptBatchJobDefinition; }
58 inline bool ScriptBatchJobDefinitionHasBeenSet() const { return m_scriptBatchJobDefinitionHasBeenSet; }
59 template <typename ScriptBatchJobDefinitionT = ScriptBatchJobDefinition>
60 void SetScriptBatchJobDefinition(ScriptBatchJobDefinitionT&& value) {
61 m_scriptBatchJobDefinitionHasBeenSet = true;
62 m_scriptBatchJobDefinition = std::forward<ScriptBatchJobDefinitionT>(value);
63 }
64 template <typename ScriptBatchJobDefinitionT = ScriptBatchJobDefinition>
65 BatchJobDefinition& WithScriptBatchJobDefinition(ScriptBatchJobDefinitionT&& value) {
66 SetScriptBatchJobDefinition(std::forward<ScriptBatchJobDefinitionT>(value));
67 return *this;
68 }
70 private:
71 FileBatchJobDefinition m_fileBatchJobDefinition;
72
73 ScriptBatchJobDefinition m_scriptBatchJobDefinition;
74 bool m_fileBatchJobDefinitionHasBeenSet = false;
75 bool m_scriptBatchJobDefinitionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace MainframeModernization
80} // namespace Aws
void SetScriptBatchJobDefinition(ScriptBatchJobDefinitionT &&value)
BatchJobDefinition & WithScriptBatchJobDefinition(ScriptBatchJobDefinitionT &&value)
void SetFileBatchJobDefinition(FileBatchJobDefinitionT &&value)
BatchJobDefinition & WithFileBatchJobDefinition(FileBatchJobDefinitionT &&value)
AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API BatchJobDefinition()=default
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const FileBatchJobDefinition & GetFileBatchJobDefinition() const
const ScriptBatchJobDefinition & GetScriptBatchJobDefinition() const
Aws::Utils::Json::JsonValue JsonValue