AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
50 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
51 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
52 inline RestartBatchJobIdentifier& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
53 inline RestartBatchJobIdentifier& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
54 inline RestartBatchJobIdentifier& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
56
58
61 inline const JobStepRestartMarker& GetJobStepRestartMarker() const{ return m_jobStepRestartMarker; }
62 inline bool JobStepRestartMarkerHasBeenSet() const { return m_jobStepRestartMarkerHasBeenSet; }
63 inline void SetJobStepRestartMarker(const JobStepRestartMarker& value) { m_jobStepRestartMarkerHasBeenSet = true; m_jobStepRestartMarker = value; }
64 inline void SetJobStepRestartMarker(JobStepRestartMarker&& value) { m_jobStepRestartMarkerHasBeenSet = true; m_jobStepRestartMarker = std::move(value); }
68 private:
69
70 Aws::String m_executionId;
71 bool m_executionIdHasBeenSet = false;
72
73 JobStepRestartMarker m_jobStepRestartMarker;
74 bool m_jobStepRestartMarkerHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MainframeModernization
79} // namespace Aws
RestartBatchJobIdentifier & WithExecutionId(Aws::String &&value)
RestartBatchJobIdentifier & WithJobStepRestartMarker(const JobStepRestartMarker &value)
AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
RestartBatchJobIdentifier & WithExecutionId(const Aws::String &value)
RestartBatchJobIdentifier & WithExecutionId(const char *value)
RestartBatchJobIdentifier & WithJobStepRestartMarker(JobStepRestartMarker &&value)
AWS_MAINFRAMEMODERNIZATION_API RestartBatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue)
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