AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RestartBatchJobIdentifier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/m2/MainframeModernization_EXPORTS.h>
9#include <aws/m2/model/JobStepRestartMarker.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
30 public:
31 AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier() = default;
32 AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetExecutionId() const { return m_executionId; }
42 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
43 template <typename ExecutionIdT = Aws::String>
44 void SetExecutionId(ExecutionIdT&& value) {
45 m_executionIdHasBeenSet = true;
46 m_executionId = std::forward<ExecutionIdT>(value);
47 }
48 template <typename ExecutionIdT = Aws::String>
50 SetExecutionId(std::forward<ExecutionIdT>(value));
51 return *this;
52 }
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) {
63 m_jobStepRestartMarkerHasBeenSet = true;
64 m_jobStepRestartMarker = std::forward<JobStepRestartMarkerT>(value);
65 }
66 template <typename JobStepRestartMarkerT = JobStepRestartMarker>
67 RestartBatchJobIdentifier& WithJobStepRestartMarker(JobStepRestartMarkerT&& value) {
68 SetJobStepRestartMarker(std::forward<JobStepRestartMarkerT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_executionId;
74
75 JobStepRestartMarker m_jobStepRestartMarker;
76 bool m_executionIdHasBeenSet = false;
77 bool m_jobStepRestartMarkerHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MainframeModernization
82} // 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