AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchJobIdentifier.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/model/FileBatchJobIdentifier.h>
9#include <aws/m2/model/RestartBatchJobIdentifier.h>
10#include <aws/m2/model/S3BatchJobIdentifier.h>
11#include <aws/m2/model/ScriptBatchJobIdentifier.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MainframeModernization
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier() = default;
38 AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const FileBatchJobIdentifier& GetFileBatchJobIdentifier() const { return m_fileBatchJobIdentifier; }
48 inline bool FileBatchJobIdentifierHasBeenSet() const { return m_fileBatchJobIdentifierHasBeenSet; }
49 template<typename FileBatchJobIdentifierT = FileBatchJobIdentifier>
50 void SetFileBatchJobIdentifier(FileBatchJobIdentifierT&& value) { m_fileBatchJobIdentifierHasBeenSet = true; m_fileBatchJobIdentifier = std::forward<FileBatchJobIdentifierT>(value); }
51 template<typename FileBatchJobIdentifierT = FileBatchJobIdentifier>
52 BatchJobIdentifier& WithFileBatchJobIdentifier(FileBatchJobIdentifierT&& value) { SetFileBatchJobIdentifier(std::forward<FileBatchJobIdentifierT>(value)); return *this;}
54
56
60 inline const RestartBatchJobIdentifier& GetRestartBatchJobIdentifier() const { return m_restartBatchJobIdentifier; }
61 inline bool RestartBatchJobIdentifierHasBeenSet() const { return m_restartBatchJobIdentifierHasBeenSet; }
62 template<typename RestartBatchJobIdentifierT = RestartBatchJobIdentifier>
63 void SetRestartBatchJobIdentifier(RestartBatchJobIdentifierT&& value) { m_restartBatchJobIdentifierHasBeenSet = true; m_restartBatchJobIdentifier = std::forward<RestartBatchJobIdentifierT>(value); }
64 template<typename RestartBatchJobIdentifierT = RestartBatchJobIdentifier>
65 BatchJobIdentifier& WithRestartBatchJobIdentifier(RestartBatchJobIdentifierT&& value) { SetRestartBatchJobIdentifier(std::forward<RestartBatchJobIdentifierT>(value)); return *this;}
67
69
73 inline const S3BatchJobIdentifier& GetS3BatchJobIdentifier() const { return m_s3BatchJobIdentifier; }
74 inline bool S3BatchJobIdentifierHasBeenSet() const { return m_s3BatchJobIdentifierHasBeenSet; }
75 template<typename S3BatchJobIdentifierT = S3BatchJobIdentifier>
76 void SetS3BatchJobIdentifier(S3BatchJobIdentifierT&& value) { m_s3BatchJobIdentifierHasBeenSet = true; m_s3BatchJobIdentifier = std::forward<S3BatchJobIdentifierT>(value); }
77 template<typename S3BatchJobIdentifierT = S3BatchJobIdentifier>
78 BatchJobIdentifier& WithS3BatchJobIdentifier(S3BatchJobIdentifierT&& value) { SetS3BatchJobIdentifier(std::forward<S3BatchJobIdentifierT>(value)); return *this;}
80
82
86 inline const ScriptBatchJobIdentifier& GetScriptBatchJobIdentifier() const { return m_scriptBatchJobIdentifier; }
87 inline bool ScriptBatchJobIdentifierHasBeenSet() const { return m_scriptBatchJobIdentifierHasBeenSet; }
88 template<typename ScriptBatchJobIdentifierT = ScriptBatchJobIdentifier>
89 void SetScriptBatchJobIdentifier(ScriptBatchJobIdentifierT&& value) { m_scriptBatchJobIdentifierHasBeenSet = true; m_scriptBatchJobIdentifier = std::forward<ScriptBatchJobIdentifierT>(value); }
90 template<typename ScriptBatchJobIdentifierT = ScriptBatchJobIdentifier>
91 BatchJobIdentifier& WithScriptBatchJobIdentifier(ScriptBatchJobIdentifierT&& value) { SetScriptBatchJobIdentifier(std::forward<ScriptBatchJobIdentifierT>(value)); return *this;}
93 private:
94
95 FileBatchJobIdentifier m_fileBatchJobIdentifier;
96 bool m_fileBatchJobIdentifierHasBeenSet = false;
97
98 RestartBatchJobIdentifier m_restartBatchJobIdentifier;
99 bool m_restartBatchJobIdentifierHasBeenSet = false;
100
101 S3BatchJobIdentifier m_s3BatchJobIdentifier;
102 bool m_s3BatchJobIdentifierHasBeenSet = false;
103
104 ScriptBatchJobIdentifier m_scriptBatchJobIdentifier;
105 bool m_scriptBatchJobIdentifierHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MainframeModernization
110} // namespace Aws
BatchJobIdentifier & WithFileBatchJobIdentifier(FileBatchJobIdentifierT &&value)
const S3BatchJobIdentifier & GetS3BatchJobIdentifier() const
BatchJobIdentifier & WithScriptBatchJobIdentifier(ScriptBatchJobIdentifierT &&value)
void SetFileBatchJobIdentifier(FileBatchJobIdentifierT &&value)
void SetRestartBatchJobIdentifier(RestartBatchJobIdentifierT &&value)
BatchJobIdentifier & WithRestartBatchJobIdentifier(RestartBatchJobIdentifierT &&value)
void SetS3BatchJobIdentifier(S3BatchJobIdentifierT &&value)
void SetScriptBatchJobIdentifier(ScriptBatchJobIdentifierT &&value)
const RestartBatchJobIdentifier & GetRestartBatchJobIdentifier() const
AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue)
BatchJobIdentifier & WithS3BatchJobIdentifier(S3BatchJobIdentifierT &&value)
const FileBatchJobIdentifier & GetFileBatchJobIdentifier() const
AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier()=default
const ScriptBatchJobIdentifier & GetScriptBatchJobIdentifier() const
Aws::Utils::Json::JsonValue JsonValue