AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RestartBatchJobIdentifier.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/m2/model/JobStepRestartMarker.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
34 {
35 public:
36 AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier() = default;
37 AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetExecutionId() const { return m_executionId; }
48 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
49 template<typename ExecutionIdT = Aws::String>
50 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet = true; m_executionId = std::forward<ExecutionIdT>(value); }
51 template<typename ExecutionIdT = Aws::String>
52 RestartBatchJobIdentifier& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
54
56
59 inline const JobStepRestartMarker& GetJobStepRestartMarker() const { return m_jobStepRestartMarker; }
60 inline bool JobStepRestartMarkerHasBeenSet() const { return m_jobStepRestartMarkerHasBeenSet; }
61 template<typename JobStepRestartMarkerT = JobStepRestartMarker>
62 void SetJobStepRestartMarker(JobStepRestartMarkerT&& value) { m_jobStepRestartMarkerHasBeenSet = true; m_jobStepRestartMarker = std::forward<JobStepRestartMarkerT>(value); }
63 template<typename JobStepRestartMarkerT = JobStepRestartMarker>
64 RestartBatchJobIdentifier& WithJobStepRestartMarker(JobStepRestartMarkerT&& value) { SetJobStepRestartMarker(std::forward<JobStepRestartMarkerT>(value)); return *this;}
66 private:
67
68 Aws::String m_executionId;
69 bool m_executionIdHasBeenSet = false;
70
71 JobStepRestartMarker m_jobStepRestartMarker;
72 bool m_jobStepRestartMarkerHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MainframeModernization
77} // namespace Aws
RestartBatchJobIdentifier & WithExecutionId(ExecutionIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
RestartBatchJobIdentifier & WithJobStepRestartMarker(JobStepRestartMarkerT &&value)
AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier()=default
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue