AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MainframeModernization {
23namespace Model {
24
31 public:
32 AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier() = default;
33 AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MAINFRAMEMODERNIZATION_API BatchJobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const FileBatchJobIdentifier& GetFileBatchJobIdentifier() const { return m_fileBatchJobIdentifier; }
42 inline bool FileBatchJobIdentifierHasBeenSet() const { return m_fileBatchJobIdentifierHasBeenSet; }
43 template <typename FileBatchJobIdentifierT = FileBatchJobIdentifier>
44 void SetFileBatchJobIdentifier(FileBatchJobIdentifierT&& value) {
45 m_fileBatchJobIdentifierHasBeenSet = true;
46 m_fileBatchJobIdentifier = std::forward<FileBatchJobIdentifierT>(value);
47 }
48 template <typename FileBatchJobIdentifierT = FileBatchJobIdentifier>
49 BatchJobIdentifier& WithFileBatchJobIdentifier(FileBatchJobIdentifierT&& value) {
50 SetFileBatchJobIdentifier(std::forward<FileBatchJobIdentifierT>(value));
51 return *this;
52 }
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) {
64 m_restartBatchJobIdentifierHasBeenSet = true;
65 m_restartBatchJobIdentifier = std::forward<RestartBatchJobIdentifierT>(value);
66 }
67 template <typename RestartBatchJobIdentifierT = RestartBatchJobIdentifier>
68 BatchJobIdentifier& WithRestartBatchJobIdentifier(RestartBatchJobIdentifierT&& value) {
69 SetRestartBatchJobIdentifier(std::forward<RestartBatchJobIdentifierT>(value));
70 return *this;
71 }
73
75
79 inline const S3BatchJobIdentifier& GetS3BatchJobIdentifier() const { return m_s3BatchJobIdentifier; }
80 inline bool S3BatchJobIdentifierHasBeenSet() const { return m_s3BatchJobIdentifierHasBeenSet; }
81 template <typename S3BatchJobIdentifierT = S3BatchJobIdentifier>
82 void SetS3BatchJobIdentifier(S3BatchJobIdentifierT&& value) {
83 m_s3BatchJobIdentifierHasBeenSet = true;
84 m_s3BatchJobIdentifier = std::forward<S3BatchJobIdentifierT>(value);
85 }
86 template <typename S3BatchJobIdentifierT = S3BatchJobIdentifier>
87 BatchJobIdentifier& WithS3BatchJobIdentifier(S3BatchJobIdentifierT&& value) {
88 SetS3BatchJobIdentifier(std::forward<S3BatchJobIdentifierT>(value));
89 return *this;
90 }
92
94
98 inline const ScriptBatchJobIdentifier& GetScriptBatchJobIdentifier() const { return m_scriptBatchJobIdentifier; }
99 inline bool ScriptBatchJobIdentifierHasBeenSet() const { return m_scriptBatchJobIdentifierHasBeenSet; }
100 template <typename ScriptBatchJobIdentifierT = ScriptBatchJobIdentifier>
101 void SetScriptBatchJobIdentifier(ScriptBatchJobIdentifierT&& value) {
102 m_scriptBatchJobIdentifierHasBeenSet = true;
103 m_scriptBatchJobIdentifier = std::forward<ScriptBatchJobIdentifierT>(value);
104 }
105 template <typename ScriptBatchJobIdentifierT = ScriptBatchJobIdentifier>
106 BatchJobIdentifier& WithScriptBatchJobIdentifier(ScriptBatchJobIdentifierT&& value) {
107 SetScriptBatchJobIdentifier(std::forward<ScriptBatchJobIdentifierT>(value));
108 return *this;
109 }
111 private:
112 FileBatchJobIdentifier m_fileBatchJobIdentifier;
113
114 RestartBatchJobIdentifier m_restartBatchJobIdentifier;
115
116 S3BatchJobIdentifier m_s3BatchJobIdentifier;
117
118 ScriptBatchJobIdentifier m_scriptBatchJobIdentifier;
119 bool m_fileBatchJobIdentifierHasBeenSet = false;
120 bool m_restartBatchJobIdentifierHasBeenSet = false;
121 bool m_s3BatchJobIdentifierHasBeenSet = false;
122 bool m_scriptBatchJobIdentifierHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace MainframeModernization
127} // 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