AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobStep.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MainframeModernization
22{
23namespace Model
24{
25
31 class JobStep
32 {
33 public:
34 AWS_MAINFRAMEMODERNIZATION_API JobStep();
35 AWS_MAINFRAMEMODERNIZATION_API JobStep(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MAINFRAMEMODERNIZATION_API JobStep& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetProcStepName() const{ return m_procStepName; }
45 inline bool ProcStepNameHasBeenSet() const { return m_procStepNameHasBeenSet; }
46 inline void SetProcStepName(const Aws::String& value) { m_procStepNameHasBeenSet = true; m_procStepName = value; }
47 inline void SetProcStepName(Aws::String&& value) { m_procStepNameHasBeenSet = true; m_procStepName = std::move(value); }
48 inline void SetProcStepName(const char* value) { m_procStepNameHasBeenSet = true; m_procStepName.assign(value); }
49 inline JobStep& WithProcStepName(const Aws::String& value) { SetProcStepName(value); return *this;}
50 inline JobStep& WithProcStepName(Aws::String&& value) { SetProcStepName(std::move(value)); return *this;}
51 inline JobStep& WithProcStepName(const char* value) { SetProcStepName(value); return *this;}
53
55
58 inline int GetProcStepNumber() const{ return m_procStepNumber; }
59 inline bool ProcStepNumberHasBeenSet() const { return m_procStepNumberHasBeenSet; }
60 inline void SetProcStepNumber(int value) { m_procStepNumberHasBeenSet = true; m_procStepNumber = value; }
61 inline JobStep& WithProcStepNumber(int value) { SetProcStepNumber(value); return *this;}
63
65
68 inline const Aws::String& GetStepCondCode() const{ return m_stepCondCode; }
69 inline bool StepCondCodeHasBeenSet() const { return m_stepCondCodeHasBeenSet; }
70 inline void SetStepCondCode(const Aws::String& value) { m_stepCondCodeHasBeenSet = true; m_stepCondCode = value; }
71 inline void SetStepCondCode(Aws::String&& value) { m_stepCondCodeHasBeenSet = true; m_stepCondCode = std::move(value); }
72 inline void SetStepCondCode(const char* value) { m_stepCondCodeHasBeenSet = true; m_stepCondCode.assign(value); }
73 inline JobStep& WithStepCondCode(const Aws::String& value) { SetStepCondCode(value); return *this;}
74 inline JobStep& WithStepCondCode(Aws::String&& value) { SetStepCondCode(std::move(value)); return *this;}
75 inline JobStep& WithStepCondCode(const char* value) { SetStepCondCode(value); return *this;}
77
79
82 inline const Aws::String& GetStepName() const{ return m_stepName; }
83 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
84 inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; }
85 inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); }
86 inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); }
87 inline JobStep& WithStepName(const Aws::String& value) { SetStepName(value); return *this;}
88 inline JobStep& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;}
89 inline JobStep& WithStepName(const char* value) { SetStepName(value); return *this;}
91
93
96 inline int GetStepNumber() const{ return m_stepNumber; }
97 inline bool StepNumberHasBeenSet() const { return m_stepNumberHasBeenSet; }
98 inline void SetStepNumber(int value) { m_stepNumberHasBeenSet = true; m_stepNumber = value; }
99 inline JobStep& WithStepNumber(int value) { SetStepNumber(value); return *this;}
101
103
106 inline bool GetStepRestartable() const{ return m_stepRestartable; }
107 inline bool StepRestartableHasBeenSet() const { return m_stepRestartableHasBeenSet; }
108 inline void SetStepRestartable(bool value) { m_stepRestartableHasBeenSet = true; m_stepRestartable = value; }
109 inline JobStep& WithStepRestartable(bool value) { SetStepRestartable(value); return *this;}
111 private:
112
113 Aws::String m_procStepName;
114 bool m_procStepNameHasBeenSet = false;
115
116 int m_procStepNumber;
117 bool m_procStepNumberHasBeenSet = false;
118
119 Aws::String m_stepCondCode;
120 bool m_stepCondCodeHasBeenSet = false;
121
122 Aws::String m_stepName;
123 bool m_stepNameHasBeenSet = false;
124
125 int m_stepNumber;
126 bool m_stepNumberHasBeenSet = false;
127
128 bool m_stepRestartable;
129 bool m_stepRestartableHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace MainframeModernization
134} // namespace Aws
void SetStepName(const Aws::String &value)
Definition JobStep.h:84
JobStep & WithProcStepNumber(int value)
Definition JobStep.h:61
AWS_MAINFRAMEMODERNIZATION_API JobStep(Aws::Utils::Json::JsonView jsonValue)
JobStep & WithProcStepName(const char *value)
Definition JobStep.h:51
JobStep & WithStepCondCode(const char *value)
Definition JobStep.h:75
const Aws::String & GetProcStepName() const
Definition JobStep.h:44
void SetProcStepName(const char *value)
Definition JobStep.h:48
JobStep & WithProcStepName(Aws::String &&value)
Definition JobStep.h:50
void SetStepName(const char *value)
Definition JobStep.h:86
void SetProcStepName(const Aws::String &value)
Definition JobStep.h:46
AWS_MAINFRAMEMODERNIZATION_API JobStep()
const Aws::String & GetStepCondCode() const
Definition JobStep.h:68
JobStep & WithStepName(const char *value)
Definition JobStep.h:89
void SetStepCondCode(const Aws::String &value)
Definition JobStep.h:70
JobStep & WithStepName(Aws::String &&value)
Definition JobStep.h:88
JobStep & WithStepRestartable(bool value)
Definition JobStep.h:109
const Aws::String & GetStepName() const
Definition JobStep.h:82
void SetStepCondCode(const char *value)
Definition JobStep.h:72
void SetProcStepName(Aws::String &&value)
Definition JobStep.h:47
JobStep & WithStepCondCode(const Aws::String &value)
Definition JobStep.h:73
JobStep & WithStepName(const Aws::String &value)
Definition JobStep.h:87
JobStep & WithProcStepName(const Aws::String &value)
Definition JobStep.h:49
void SetStepName(Aws::String &&value)
Definition JobStep.h:85
JobStep & WithStepCondCode(Aws::String &&value)
Definition JobStep.h:74
void SetStepCondCode(Aws::String &&value)
Definition JobStep.h:71
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API JobStep & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue